#include <MuonToSimAssociatorByHits.h>
Public Member Functions | |
void | associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &, MuonTrackType, const edm::RefVector< TrackingParticleCollection > &, const edm::Event *event=0, const edm::EventSetup *setup=0) const override |
void | associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::Handle< edm::View< reco::Muon > > &, MuonTrackType, const edm::Handle< TrackingParticleCollection > &, const edm::Event *event=0, const edm::EventSetup *setup=0) const override |
MuonToSimAssociatorByHits (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC) | |
~MuonToSimAssociatorByHits () | |
Public Member Functions inherited from MuonToSimAssociatorBase | |
MuonToSimAssociatorBase () | |
virtual | ~MuonToSimAssociatorBase () |
Private Attributes | |
edm::ParameterSet const | conf_ |
MuonAssociatorByHitsHelper | helper_ |
TrackerHitAssociator::Config | trackerHitAssociatorConfig_ |
Additional Inherited Members | |
Public Types inherited from MuonToSimAssociatorBase | |
typedef std::map < edm::RefToBase< reco::Muon > , std::vector< std::pair < TrackingParticleRef, double > >, RefToBaseSort > | MuonToSimCollection |
enum | MuonTrackType { InnerTk, OuterTk, GlobalTk, Segments } |
typedef std::map < TrackingParticleRef, std::vector< std::pair < edm::RefToBase< reco::Muon > , double > > > | SimToMuonCollection |
Definition at line 11 of file MuonToSimAssociatorByHits.h.
MuonToSimAssociatorByHits::MuonToSimAssociatorByHits | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 19 of file MuonToSimAssociatorByHits.cc.
References conf_, and eostools::move().
MuonToSimAssociatorByHits::~MuonToSimAssociatorByHits | ( | ) |
Definition at line 33 of file MuonToSimAssociatorByHits.cc.
|
overridevirtual |
PART 1: Fill MuonToSimAssociatorByHits::TrackHitsCollection
PART 2: call the association routines
Implements MuonToSimAssociatorBase.
Definition at line 55 of file MuonToSimAssociatorByHits.cc.
References a, MuonAssociatorByHitsHelper::associateRecoToSimIndices(), MuonAssociatorByHitsHelper::associateSimToRecoIndices(), edm::RefToBaseVector< T >::begin(), conf_, edm::OwnVector< T, P >::data(), edm::RefToBaseVector< T >::end(), edm::EventSetup::get(), TrackerMuonHitExtractor::getMuonHits(), MuonToSimAssociatorBase::GlobalTk, reco::Muon::globalTrack(), helper_, TrackerMuonHitExtractor::init(), MuonToSimAssociatorBase::InnerTk, edm::Ref< C, T, F >::isNonnull(), reco::Muon::isTrackerMuon(), MuonToSimAssociatorBase::OuterTk, reco::Muon::outerTrack(), edm::ESHandle< class >::product(), edm::RefToBaseVector< T >::push_back(), edm::RefVector< C, T, F >::push_back(), edm::OwnVector< T, P >::push_back(), MuonToSimAssociatorBase::Segments, edm::OwnVector< T, P >::size(), reco::Muon::track(), and trackerHitAssociatorConfig_.
Referenced by associateMuons().
|
overridevirtual |
Implements MuonToSimAssociatorBase.
Definition at line 39 of file MuonToSimAssociatorByHits.cc.
References associateMuons(), i, edm::HandleBase::id(), j, edm::RefVector< C, T, F >::push_back(), and edm::RefToBaseVector< T >::push_back().
|
private |
Definition at line 33 of file MuonToSimAssociatorByHits.h.
Referenced by associateMuons(), and MuonToSimAssociatorByHits().
|
private |
Definition at line 32 of file MuonToSimAssociatorByHits.h.
Referenced by associateMuons().
|
private |
Definition at line 34 of file MuonToSimAssociatorByHits.h.
Referenced by associateMuons().