#include <MuonToSimAssociatorByHits.h>
Public Member Functions | |
void | associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::Handle< edm::View< reco::Muon >> &, MuonTrackType, const edm::Handle< TrackingParticleCollection > &, const edm::Event *event=nullptr, const edm::EventSetup *setup=nullptr) const override |
void | associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &, MuonTrackType, const edm::RefVector< TrackingParticleCollection > &, const edm::Event *event=nullptr, const edm::EventSetup *setup=nullptr) const override |
MuonToSimAssociatorByHits (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC) | |
~MuonToSimAssociatorByHits () override | |
Public Member Functions inherited from MuonToSimAssociatorBase | |
MuonToSimAssociatorBase () | |
virtual | ~MuonToSimAssociatorBase () |
Private Attributes | |
const edm::ParameterSet | 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 | ||
) |
|
override |
Definition at line 30 of file MuonToSimAssociatorByHits.cc.
|
overridevirtual |
Implements MuonToSimAssociatorBase.
Definition at line 32 of file MuonToSimAssociatorByHits.cc.
References associateMuons(), mps_fire::i, edm::HandleBase::id(), dqmiolumiharvest::j, edm::RefToBaseVector< T >::push_back(), edm::RefVector< C, T, F >::push_back(), and singleTopDQM_cfi::setup.
|
overridevirtual |
PART 1: Fill MuonToSimAssociatorByHits::TrackHitsCollection
PART 2: call the association routines
Implements MuonToSimAssociatorBase.
Definition at line 50 of file MuonToSimAssociatorByHits.cc.
References a, MuonAssociatorByHitsHelper::associateRecoToSimIndices(), MuonAssociatorByHitsHelper::associateSimToRecoIndices(), conf_, edm::OwnVector< T, P >::data(), get, TrackerMuonHitExtractor::getMuonHits(), MuonToSimAssociatorBase::GlobalTk, reco::Muon::globalTrack(), helper_, hfClusterShapes_cfi::hits, dqmdumpme::indices, TrackerMuonHitExtractor::init(), MuonToSimAssociatorBase::InnerTk, edm::Ref< C, T, F >::isNonnull(), reco::Muon::isTrackerMuon(), PDWG_BPHSkim_cff::muons, MuonToSimAssociatorBase::OuterTk, reco::Muon::outerTrack(), edm::ESHandle< T >::product(), edm::RefVector< C, T, F >::push_back(), edm::OwnVector< T, P >::push_back(), mps_fire::resources, MuonToSimAssociatorBase::Segments, singleTopDQM_cfi::setup, MultiTrackValidator_cfi::sim, edm::OwnVector< T, P >::size(), reco::Muon::track(), trackerHitAssociatorConfig_, PbPb_ZMuSkimMuonDPG_cff::trackType, and trackerHitRTTI::vector.
Referenced by associateMuons().
|
private |
Definition at line 34 of file MuonToSimAssociatorByHits.h.
Referenced by associateMuons(), and MuonToSimAssociatorByHits().
|
private |
Definition at line 33 of file MuonToSimAssociatorByHits.h.
Referenced by associateMuons().
|
private |
Definition at line 35 of file MuonToSimAssociatorByHits.h.
Referenced by associateMuons().