CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions
MuonToSimAssociatorBase Class Referenceabstract

#include <MuonToSimAssociatorBase.h>

Inheritance diagram for MuonToSimAssociatorBase:
MuonToSimAssociatorByHits

Classes

struct  RefToBaseSort
 

Public Types

typedef std::map< edm::RefToBase< reco::Muon >, std::vector< std::pair< TrackingParticleRef, double > >, RefToBaseSortMuonToSimCollection
 
enum  MuonTrackType { InnerTk, OuterTk, GlobalTk, Segments }
 
typedef std::map< TrackingParticleRef, std::vector< std::pair< edm::RefToBase< reco::Muon >, double > > > SimToMuonCollection
 

Public Member Functions

virtual 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 =0
 
virtual 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 =0
 
 MuonToSimAssociatorBase ()
 
virtual ~MuonToSimAssociatorBase ()
 

Detailed Description

Definition at line 15 of file MuonToSimAssociatorBase.h.

Member Typedef Documentation

◆ MuonToSimCollection

Definition at line 29 of file MuonToSimAssociatorBase.h.

◆ SimToMuonCollection

typedef std::map<TrackingParticleRef, std::vector<std::pair<edm::RefToBase<reco::Muon>, double> > > MuonToSimAssociatorBase::SimToMuonCollection

Definition at line 30 of file MuonToSimAssociatorBase.h.

Member Enumeration Documentation

◆ MuonTrackType

Enumerator
InnerTk 
OuterTk 
GlobalTk 
Segments 

Definition at line 20 of file MuonToSimAssociatorBase.h.

Constructor & Destructor Documentation

◆ MuonToSimAssociatorBase()

MuonToSimAssociatorBase::MuonToSimAssociatorBase ( )

Definition at line 30 of file MuonToSimAssociatorBase.cc.

30 {}

◆ ~MuonToSimAssociatorBase()

MuonToSimAssociatorBase::~MuonToSimAssociatorBase ( )
virtual

Definition at line 32 of file MuonToSimAssociatorBase.cc.

32 {}

Member Function Documentation

◆ associateMuons() [1/2]

virtual void MuonToSimAssociatorBase::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
pure virtual

Implemented in MuonToSimAssociatorByHits.

◆ associateMuons() [2/2]

virtual void MuonToSimAssociatorBase::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
pure virtual

Implemented in MuonToSimAssociatorByHits.

MuonToSimAssociatorBase::GlobalTk
Definition: MuonToSimAssociatorBase.h:20
MuonToSimAssociatorBase::Segments
Definition: MuonToSimAssociatorBase.h:20
MuonToSimAssociatorBase::InnerTk
Definition: MuonToSimAssociatorBase.h:20
MuonToSimAssociatorBase::OuterTk
Definition: MuonToSimAssociatorBase.h:20