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 | |
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 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<> | |
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 |
Merges reco::CaloMuons, reco::Muons and optionally reco::Tracks avoiding innerTrack duplications in a single reco::Muon collection.
Definition at line 22 of file CaloMuonMerger.cc.
|
explicit |
Definition at line 45 of file CaloMuonMerger.cc.
References caloMuons_, caloMuonToken_, muons_, muonToken_, tracks_, and trackToken_.
|
inlineoverride |
Definition at line 25 of file CaloMuonMerger.cc.
|
override |
Definition at line 62 of file CaloMuonMerger.cc.
References reco::Muon::CaloMuon, mergedMuons_cfi::caloMuons, caloMuonsCut_, caloMuonToken_, HCALHighEnergyHPDFilter_cfi::energy, Exception, mps_fire::i, iEvent, reco::isMuon(), mergeCaloMuons_, mergeTracks_, minCaloCompatibility_, eostools::move(), amptDefaultParameters_cff::mu, PDWG_BPHSkim_cff::muons, muonsCut_, muonToken_, MillePedeFileConverter_cfg::out, mathSSE::sqrt(), HLT_2022v12_cff::track, tracks, tracksCut_, and trackToken_.
|
private |
Definition at line 33 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger().
|
private |
Definition at line 34 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 32 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 36 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 35 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 30 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger().
|
private |
Definition at line 31 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 40 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger(), and produce().
|
private |
Definition at line 37 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger().
|
private |
Definition at line 38 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 42 of file CaloMuonMerger.cc.
Referenced by CaloMuonMerger(), and produce().