Merges reco::CaloMuons, reco::Muons and optionally reco::Tracks avoiding innerTrack duplications in a single reco::Muon collection. More...
#include "RecoMuon/MuonIdentification/plugins/CaloMuonMerger.cc"
Public Member Functions | |
CaloMuonMerger (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~CaloMuonMerger () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Attributes | |
edm::InputTag | caloMuons_ |
StringCutObjectSelector< reco::CaloMuon, false > | caloMuonsCut_ |
edm::EDGetTokenT< std::vector< reco::CaloMuon > > | caloMuonToken_ |
bool | mergeCaloMuons_ |
bool | mergeTracks_ |
double | minCaloCompatibility_ |
edm::InputTag | muons_ |
StringCutObjectSelector< reco::Muon, false > | muonsCut_ |
edm::EDGetTokenT< std::vector< reco::Muon > > | muonToken_ |
edm::InputTag | tracks_ |
StringCutObjectSelector< reco::TrackRef, false > | tracksCut_ |
edm::EDGetTokenT< std::vector< reco::Track > > | trackToken_ |
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 |
Merges reco::CaloMuons, reco::Muons and optionally reco::Tracks avoiding innerTrack duplications in a single reco::Muon collection.
Definition at line 23 of file CaloMuonMerger.cc.
|
explicit |
Definition at line 50 of file CaloMuonMerger.cc.
References caloMuons_, caloMuonToken_, muons_, muonToken_, tracks_, and trackToken_.
|
inlineoverride |
|
override |
Definition at line 68 of file CaloMuonMerger.cc.
References reco::Muon::caloCompatibility(), reco::Muon::CaloMuon, mergedMuons_cfi::caloMuons, caloMuonsCut_, caloMuonToken_, DEFINE_FWK_MODULE, reco::LeafCandidate::eta(), Exception, edm::Event::getByToken(), mps_fire::i, reco::Muon::isCaloCompatibilityValid(), reco::isMuon(), edm::Ref< C, T, F >::isNonnull(), mergeCaloMuons_, mergeTracks_, minCaloCompatibility_, eostools::move(), RPCpg::mu, nano_cff::muons, muonsCut_, muonToken_, MillePedeFileConverter_cfg::out, p4, reco::LeafCandidate::pt(), edm::Event::put(), reco::Muon::setCalEnergy(), reco::Muon::setCaloCompatibility(), reco::Muon::setInnerTrack(), reco::Muon::setType(), mathSSE::sqrt(), HiIsolationCommonParameters_cff::track, reco::Muon::track(), l1t::tracks, tracksCut_, trackToken_, and reco::Muon::type().
Referenced by ~CaloMuonMerger().
|
private |
Definition at line 34 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger().
|
private |
Definition at line 35 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 42 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger(), and produce().
|
private |
Definition at line 33 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 37 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 36 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 31 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger().
|
private |
Definition at line 32 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 41 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger(), and produce().
|
private |
Definition at line 38 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger().
|
private |
Definition at line 39 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 43 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger(), and produce().