Public Member Functions | |
CorrectedPatMETProducer (const edm::ParameterSet &cfg) | |
~CorrectedPatMETProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Types | |
typedef std::vector< pat::MET > | patMETCollection |
typedef std::vector< reco::PFMET > | pfMETCollection |
Private Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
Private Attributes | |
AddCorrectionsToGenericMET | corrector |
bool | isMiniAod |
edm::EDGetTokenT < patMETCollection > | patToken_ |
edm::EDGetTokenT< pfMETCollection > | pfToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 22 of file CorrectedPatMETProducer.cc.
|
private |
Definition at line 54 of file CorrectedPatMETProducer.cc.
|
private |
Definition at line 55 of file CorrectedPatMETProducer.cc.
|
inlineexplicit |
Definition at line 24 of file CorrectedPatMETProducer.cc.
References corrector, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), beam_dqm_sourceclient-live_cfg::inputTag, isMiniAod, patToken_, pfToken_, and AddCorrectionsToGenericMET::setCorTokens().
|
inlineoverride |
Definition at line 47 of file CorrectedPatMETProducer.cc.
|
inlineoverrideprivate |
Definition at line 60 of file CorrectedPatMETProducer.cc.
References corrector, edm::Event::getByToken(), AddCorrectionsToGenericMET::getCorrectedMET(), AddCorrectionsToGenericMET::getCorrectedPFMET(), isMiniAod, eostools::move(), patToken_, pfToken_, and edm::Event::put().
|
private |
Definition at line 52 of file CorrectedPatMETProducer.cc.
Referenced by CorrectedPatMETProducer(), and produce().
|
private |
Definition at line 50 of file CorrectedPatMETProducer.cc.
Referenced by CorrectedPatMETProducer(), and produce().
|
private |
Definition at line 57 of file CorrectedPatMETProducer.cc.
Referenced by CorrectedPatMETProducer(), and produce().
|
private |
Definition at line 58 of file CorrectedPatMETProducer.cc.
Referenced by CorrectedPatMETProducer(), and produce().