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) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual | ~CaloMuonMerger () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Attributes | |
edm::InputTag | caloMuons_ |
StringCutObjectSelector < reco::CaloMuon, false > | caloMuonsCut_ |
bool | mergeCaloMuons_ |
bool | mergeTracks_ |
double | minCaloCompatibility_ |
edm::InputTag | muons_ |
StringCutObjectSelector < reco::Muon, false > | muonsCut_ |
edm::InputTag | tracks_ |
StringCutObjectSelector < reco::TrackRef, false > | tracksCut_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Merges reco::CaloMuons, reco::Muons and optionally reco::Tracks avoiding innerTrack duplications in a single reco::Muon collection.
Definition at line 25 of file CaloMuonMerger.cc.
|
explicit |
Definition at line 45 of file CaloMuonMerger.cc.
|
inlinevirtual |
Definition at line 28 of file CaloMuonMerger.cc.
|
virtual |
Implements edm::EDProducer.
Definition at line 60 of file CaloMuonMerger.cc.
References reco::Muon::caloCompatibility(), reco::Muon::CaloMuon, caloMuons_, caloMuonsCut_, relval_parameters_module::energy, reco::LeafCandidate::eta(), edm::hlt::Exception, edm::Event::getByLabel(), i, reco::Muon::isCaloCompatibilityValid(), reco::isMuon(), edm::Ref< C, T, F >::isNonnull(), mergeCaloMuons_, mergeTracks_, minCaloCompatibility_, RPCpg::mu, metsig::muon, patZpeak::muons, muons_, muonsCut_, dbtoconf::out, p4, reco::LeafCandidate::pt(), edm::Event::put(), reco::Muon::setCalEnergy(), reco::Muon::setCaloCompatibility(), reco::Muon::setInnerTrack(), reco::Muon::setType(), mathSSE::sqrt(), reco::Muon::track(), testEve_cfg::tracks, tracks_, tracksCut_, and reco::Muon::type().
|
private |
Definition at line 36 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 37 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 35 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 39 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 38 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 33 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 34 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 40 of file CaloMuonMerger.cc.
Referenced by produce().
|
private |
Definition at line 41 of file CaloMuonMerger.cc.
Referenced by produce().