#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_ |
edm::InputTag | jetCorrLabel_ |
edm::EDGetTokenT < reco::JetCorrector > | jetCorrToken_ |
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::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
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 146 of file SmearedJetProducerT.h.
|
private |
Definition at line 148 of file SmearedJetProducerT.h.
|
inlineexplicit |
Definition at line 152 of file SmearedJetProducerT.h.
References edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), SmearedJetProducerT< T, Textractor >::inputFile_, PFRecoTauDiscriminationAgainstElectronMVA5_cfi::inputFileName, SmearedJetProducerT< T, Textractor >::jetCorrEtaMax_, SmearedJetProducerT< T, Textractor >::jetCorrLabel_, SmearedJetProducerT< T, Textractor >::jetCorrToken_, 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 208 of file SmearedJetProducerT.h.
References SmearedJetProducerT< T, Textractor >::inputFile_, SmearedJetProducerT< T, Textractor >::lut_, and SmearedJetProducerT< T, Textractor >::skipJetSelection_.
|
inlineprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 217 of file SmearedJetProducerT.h.
References funct::abs(), 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 >::jetCorrToken_, SmearedJetProducerT< T, Textractor >::jetResolutionExtractor_, fwrapper::jets, edm::InputTag::label(), SmearedJetProducerT< T, Textractor >::lut_, bookConverter::max, SmearedJetProducerT< T, Textractor >::moduleLabel_, reco::LeafCandidate::phi(), edm::Handle< T >::product(), 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_, mathSSE::sqrt(), SmearedJetProducerT< T, Textractor >::src_, SmearedJetProducerT< T, Textractor >::srcToken_, relativeConstraints::value, SmearedJetProducerT< T, Textractor >::verbosity_, x, and detailsBasic3DVector::y.
|
private |
Definition at line 348 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 356 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 364 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 369 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(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 363 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().
|
private |
Definition at line 357 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 346 of file SmearedJetProducerT.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 360 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce().
|
private |
Definition at line 377 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 371 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 381 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(), SmearedJetProducerT< T, Textractor >::SmearedJetProducerT(), and SmearedJetProducerT< T, Textractor >::~SmearedJetProducerT().
|
private |
Definition at line 380 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 353 of file SmearedJetProducerT.h.
Referenced by SmearedJetProducerT< T, Textractor >::produce(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().
|
private |
Definition at line 354 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(), and SmearedJetProducerT< T, Textractor >::SmearedJetProducerT().