#include <MuonMETcorrInputProducer.h>
Public Member Functions | |
MuonMETcorrInputProducer (const edm::ParameterSet &) | |
~MuonMETcorrInputProducer () 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 Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::string | moduleLabel_ |
edm::EDGetTokenT < edm::ValueMap < reco::MuonMETCorrectionData > > | muonCorrectionMapToken_ |
edm::EDGetTokenT < reco::MuonCollection > | token_ |
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 |
Sum CaloMET muon corrections, needed to compute Type 2 MET corrections in case muon corrected CaloMET is used as input to CorrectedCaloMETProducer
Definition at line 27 of file MuonMETcorrInputProducer.h.
|
explicit |
Definition at line 7 of file MuonMETcorrInputProducer.cc.
References edm::ParameterSet::getParameter(), muonCorrectionMapToken_, and token_.
|
override |
Definition at line 16 of file MuonMETcorrInputProducer.cc.
|
overrideprivate |
Definition at line 20 of file MuonMETcorrInputProducer.cc.
References edm::Event::getByToken(), eostools::move(), HLT_FULL_cff::muon, muonCorrectionMapToken_, patZpeak::muons, reco::MuonMETCorrectionData::NotUsed, patZpeak::numMuons, reco::LeafCandidate::pt(), edm::Event::put(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), token_, and reco::MuonMETCorrectionData::type().
|
private |
Definition at line 35 of file MuonMETcorrInputProducer.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 38 of file MuonMETcorrInputProducer.h.
Referenced by MuonMETcorrInputProducer(), and produce().
|
private |
Definition at line 37 of file MuonMETcorrInputProducer.h.
Referenced by MuonMETcorrInputProducer(), and produce().