CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
MuonToSimAssociatorByHits Class Reference

#include <MuonToSimAssociatorByHits.h>

Inheritance diagram for MuonToSimAssociatorByHits:
MuonToSimAssociatorBase

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
 

Detailed Description

Definition at line 11 of file MuonToSimAssociatorByHits.h.

Constructor & Destructor Documentation

MuonToSimAssociatorByHits::MuonToSimAssociatorByHits ( const edm::ParameterSet conf,
edm::ConsumesCollector &&  iC 
)

Definition at line 19 of file MuonToSimAssociatorByHits.cc.

MuonToSimAssociatorByHits::~MuonToSimAssociatorByHits ( )

Definition at line 34 of file MuonToSimAssociatorByHits.cc.

Member Function Documentation

void MuonToSimAssociatorByHits::associateMuons ( MuonToSimCollection recoToSim,
SimToMuonCollection simToReco,
const edm::RefToBaseVector< reco::Muon > &  muons,
MuonTrackType  trackType,
const edm::RefVector< TrackingParticleCollection > &  tPC,
const edm::Event event = 0,
const edm::EventSetup setup = 0 
) const
overridevirtual

PART 1: Fill MuonToSimAssociatorByHits::TrackHitsCollection

PART 2: call the association routines

Implements MuonToSimAssociatorBase.

Definition at line 56 of file MuonToSimAssociatorByHits.cc.

void MuonToSimAssociatorByHits::associateMuons ( MuonToSimCollection recoToSim,
SimToMuonCollection simToReco,
const edm::Handle< edm::View< reco::Muon > > &  tCH,
MuonTrackType  type,
const edm::Handle< TrackingParticleCollection > &  tPCH,
const edm::Event event = 0,
const edm::EventSetup setup = 0 
) const
overridevirtual

Implements MuonToSimAssociatorBase.

Definition at line 40 of file MuonToSimAssociatorByHits.cc.

Member Data Documentation

edm::ParameterSet const MuonToSimAssociatorByHits::conf_
private

Definition at line 33 of file MuonToSimAssociatorByHits.h.

MuonAssociatorByHitsHelper MuonToSimAssociatorByHits::helper_
private

Definition at line 32 of file MuonToSimAssociatorByHits.h.

TrackerHitAssociator::Config MuonToSimAssociatorByHits::trackerHitAssociatorConfig_
private

Definition at line 34 of file MuonToSimAssociatorByHits.h.