Public Member Functions | |
MuScleFitMuonProducer (const edm::ParameterSet &) | |
~MuScleFitMuonProducer () 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 | |
template<class T > | |
std::unique_ptr< T > | applyCorrection (const edm::Handle< T > &allMuons) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::shared_ptr< MomentumScaleCorrector > | corrector_ |
edm::ESHandle< MuScleFitDBobject > | dbObject_ |
unsigned long long | dbObjectCacheId_ |
const edm::ESGetToken< MuScleFitDBobject, MuScleFitDBobjectRcd > | muToken_ |
const bool | patMuons_ |
const edm::InputTag | theMuonLabel_ |
const edm::EDGetTokenT< pat::MuonCollection > | thePatMuonToken_ |
const edm::EDGetTokenT< reco::MuonCollection > | theRecoMuonToken_ |
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 |
Produce a new muon collection with corrected Pt.
It is also possible to apply a smearing to the muons Pt.
Definition at line 40 of file MuScleFitMuonProducer.cc.
|
explicit |
Definition at line 60 of file MuScleFitMuonProducer.cc.
References patMuons_.
|
overridedefault |
|
private |
Definition at line 77 of file MuScleFitMuonProducer.cc.
References allMuons_cfi::allMuons, PVValHelper::eta, HLT_2022v12_cff::muon, phi, and DiDispStaMuonMonitor_cfi::pt.
Referenced by produce().
|
overrideprivate |
Definition at line 97 of file MuScleFitMuonProducer.cc.
References allMuons_cfi::allMuons, applyCorrection(), corrector_, dbObject_, dbObjectCacheId_, edm::EventSetup::get(), edm::EventSetup::getHandle(), iEvent, muToken_, patMuons_, edm::ESHandle< T >::product(), thePatMuonToken_, and theRecoMuonToken_.
|
private |
Definition at line 57 of file MuScleFitMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 55 of file MuScleFitMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 56 of file MuScleFitMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 49 of file MuScleFitMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 53 of file MuScleFitMuonProducer.cc.
Referenced by MuScleFitMuonProducer(), and produce().
|
private |
Definition at line 50 of file MuScleFitMuonProducer.cc.
|
private |
Definition at line 51 of file MuScleFitMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 52 of file MuScleFitMuonProducer.cc.
Referenced by produce().