#include <SmearedJetProducerT.h>
Public Member Functions | |
SmearedJetProducerT (const edm::ParameterSet &cfg) | |
~SmearedJetProducerT () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Types | |
typedef std::vector< T > | JetCollection |
typedef edm::ValueMap< int > | JetSmearingFlags |
Private Member Functions | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) |
Private Attributes | |
SmearedJetProducer_namespace::GenJetMatcherT < T > | genJetMatcher_ |
TFile * | inputFile_ |
double | jetCorrEtaMax_ |
Textractor | jetCorrExtractor_ |
std::string | jetCorrLabel_ |
SmearedJetProducer_namespace::JetResolutionExtractorT < T > | jetResolutionExtractor_ |
TH2 * | lut_ |
std::string | moduleLabel_ |
TRandom3 | rnd_ |
double | shiftBy_ |
double | sigmaMaxGenJetMatch_ |
double | skipCorrJetPtThreshold_ |
StringCutObjectSelector< T > * | skipJetSelection_ |
double | skipRawJetPtThreshold_ |
double | smearBy_ |
edm::InputTag | src_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Produce collection of "smeared" jets. The aim of this correction is to account for the difference in jet energy resolution between Monte Carlo simulation and Data. The jet energy resolutions have been measured in QCD di-jet and gamma + jets events selected in 2010 data, as documented in the PAS JME-10-014.
Definition at line 142 of file SmearedJetProducerT.h.
|
private |
Definition at line 144 of file SmearedJetProducerT.h.
|
private |
Definition at line 145 of file SmearedJetProducerT.h.
|
inlineexplicit |
Definition at line 149 of file SmearedJetProducerT.h.
References edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), SmearedJetProducerT< T, Textractor >::inputFile_, SmearedJetProducerT< T, Textractor >::jetCorrEtaMax_, SmearedJetProducerT< T, Textractor >::jetCorrLabel_, SmearedJetProducerT< T, Textractor >::lut_, SmearedJetProducerT< T, Textractor >::shiftBy_, SmearedJetProducerT< T, Textractor >::sigmaMaxGenJetMatch_, SmearedJetProducerT< T, Textractor >::skipCorrJetPtThreshold_, SmearedJetProducerT< T, Textractor >::skipJetSelection_, SmearedJetProducerT< T, Textractor >::skipRawJetPtThreshold_, SmearedJetProducerT< T, Textractor >::smearBy_, SmearedJetProducerT< T, Textractor >::src_, edm::FileInPath::Unknown, and SmearedJetProducerT< T, Textractor >::verbosity_.
|
inline |
Definition at line 202 of file SmearedJetProducerT.h.
References SmearedJetProducerT< T, Textractor >::inputFile_, SmearedJetProducerT< T, Textractor >::lut_, and SmearedJetProducerT< T, Textractor >::skipJetSelection_.
|
inlineprivatevirtual |
Implements edm::EDProducer.
Definition at line 211 of file SmearedJetProducerT.h.
References gather_cfg::cout, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::helper::Filler< Map >::fill(), SmearedJetProducerT< T, Textractor >::genJetMatcher_, edm::Event::getByLabel(), edm::helper::Filler< Map >::insert(), metsig::jet, SmearedJetProducerT< T, Textractor >::jetCorrEtaMax_, SmearedJetProducerT< T, Textractor >::jetCorrExtractor_, SmearedJetProducerT< T, Textractor >::jetCorrLabel_, SmearedJetProducerT< T, Textractor >::jetResolutionExtractor_, fwrapper::jets, edm::InputTag::label(), SmearedJetProducerT< T, Textractor >::lut_, SmearedJetProducerT< T, Textractor >::moduleLabel_, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), edm::Event::put(), SmearedJetProducerT< T, Textractor >::rnd_, SmearedJetProducerT< T, Textractor >::shiftBy_, SmearedJetProducerT< T, Textractor >::sigmaMaxGenJetMatch_, SmearedJetProducerT< T, Textractor >::skipCorrJetPtThreshold_, SmearedJetProducerT< T, Textractor >::skipJetSelection_, SmearedJetProducerT< T, Textractor >::skipRawJetPtThreshold_, SmearedJetProducerT< T, Textractor >::smearBy_, SmearedJetProducerT< T, Textractor >::src_, SmearedJetProducerT< T, Textractor >::verbosity_, vdt::x, and detailsBasic3DVector::y.
|
private |
Definition at line 354 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 361 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 368 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 373 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 367 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 364 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 362 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 352 of file SmearedJetProducerT.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 365 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 381 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 375 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 385 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 383 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 384 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 379 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 359 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 387 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().