#include <SmearedJetProducerT.h>
Private Types | |
typedef std::vector< T > | JetCollection |
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_ |
edm::EDGetTokenT< JetCollection > | srcToken_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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 145 of file SmearedJetProducerT.h.
|
private |
Definition at line 147 of file SmearedJetProducerT.h.
|
inlineexplicit |
Definition at line 151 of file SmearedJetProducerT.h.
References edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), SmearedJetProducerT< T, Textractor >::inputFile_, PFRecoTauDiscriminationAgainstMuonMVA_cfi::inputFileName, 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_, SmearedJetProducerT< T, Textractor >::srcToken_, AlCaHLTBitMon_QueryRunRegistry::string, edm::FileInPath::Unknown, and SmearedJetProducerT< T, Textractor >::verbosity_.
|
inline |
Definition at line 203 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 212 of file SmearedJetProducerT.h.
References gather_cfg::cout, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), SmearedJetProducerT< T, Textractor >::genJetMatcher_, edm::Event::getByToken(), 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_, siStripFEDMonitor_P5_cff::Max, 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 >::srcToken_, SmearedJetProducerT< T, Textractor >::verbosity_, x, and detailsBasic3DVector::y.
|
private |
Definition at line 336 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 344 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 351 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 356 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 350 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 347 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 345 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 334 of file SmearedJetProducerT.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 348 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 364 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 358 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), 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 366 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 367 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 362 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 341 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 342 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 370 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().