#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 () override | |
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().
|
override |
Definition at line 30 of file MuonToSimAssociatorByHits.cc.
|
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(), 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_, hfClusterShapes_cfi::hits, TrackerMuonHitExtractor::init(), MuonToSimAssociatorBase::InnerTk, edm::Ref< C, T, F >::isNonnull(), reco::Muon::isTrackerMuon(), MuonToSimAssociatorBase::OuterTk, reco::Muon::outerTrack(), edm::ESHandle< T >::product(), edm::RefToBaseVector< T >::push_back(), edm::RefVector< C, T, F >::push_back(), edm::OwnVector< T, P >::push_back(), mps_fire::resources, MuonToSimAssociatorBase::Segments, particleFlowSimParticle_cfi::sim, edm::OwnVector< T, P >::size(), reco::Muon::track(), and trackerHitAssociatorConfig_.
Referenced by associateMuons().
|
overridevirtual |
Implements MuonToSimAssociatorBase.
Definition at line 32 of file MuonToSimAssociatorByHits.cc.
References associateMuons(), mps_fire::i, edm::HandleBase::id(), edm::RefToBaseVector< T >::push_back(), and edm::RefVector< C, T, F >::push_back().
|
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().