CMS 3D CMS Logo

List of all members | Public Member Functions
reco::TrackToTrackingParticleAssociatorBaseImpl Class Referenceabstract

#include <TrackToTrackingParticleAssociatorBaseImpl.h>

Inheritance diagram for reco::TrackToTrackingParticleAssociatorBaseImpl:
QuickTrackAssociatorByHitsImpl TrackAssociatorByChi2Impl TrackAssociatorByHitsImpl TrackAssociatorByPositionImpl

Public Member Functions

virtual reco::RecoToSimCollection associateRecoToSim (const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
 
virtual reco::RecoToSimCollectionSeed associateRecoToSim (const edm::Handle< edm::View< TrajectorySeed >> &, const edm::Handle< TrackingParticleCollection > &) const
 
virtual reco::RecoToSimCollectionTCandidate associateRecoToSim (const edm::Handle< TrackCandidateCollection > &, const edm::Handle< TrackingParticleCollection > &) const
 
virtual reco::RecoToSimCollection associateRecoToSim (const edm::RefToBaseVector< reco::Track > &tc, const edm::RefVector< TrackingParticleCollection > &tpc) const =0
 Association Reco To Sim with Collections. More...
 
virtual reco::SimToRecoCollection associateSimToReco (const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
 
virtual reco::SimToRecoCollectionSeed associateSimToReco (const edm::Handle< edm::View< TrajectorySeed >> &, const edm::Handle< TrackingParticleCollection > &) const
 
virtual reco::SimToRecoCollectionTCandidate associateSimToReco (const edm::Handle< TrackCandidateCollection > &, const edm::Handle< TrackingParticleCollection > &) const
 
virtual reco::SimToRecoCollection associateSimToReco (const edm::RefToBaseVector< reco::Track > &tc, const edm::RefVector< TrackingParticleCollection > &tpc) const =0
 Association Sim To Reco with Collections. More...
 
 TrackToTrackingParticleAssociatorBaseImpl ()
 Constructor. More...
 
virtual ~TrackToTrackingParticleAssociatorBaseImpl ()
 Destructor. More...
 

Detailed Description

Definition at line 33 of file TrackToTrackingParticleAssociatorBaseImpl.h.

Constructor & Destructor Documentation

◆ TrackToTrackingParticleAssociatorBaseImpl()

TrackToTrackingParticleAssociatorBaseImpl::TrackToTrackingParticleAssociatorBaseImpl ( )

Constructor.

Definition at line 29 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

29 {}

◆ ~TrackToTrackingParticleAssociatorBaseImpl()

TrackToTrackingParticleAssociatorBaseImpl::~TrackToTrackingParticleAssociatorBaseImpl ( )
virtual

Destructor.

Definition at line 31 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

31 {}

Member Function Documentation

◆ associateRecoToSim() [1/4]

reco::RecoToSimCollection TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::Handle< edm::View< reco::Track >> &  tCH,
const edm::Handle< TrackingParticleCollection > &  tPCH 
) const
virtual

compare reco to sim the handle of reco::Track and TrackingParticle collections

Definition at line 36 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

37  {
39  for (unsigned int j = 0; j < tCH->size(); j++)
40  tc.push_back(tCH->refAt(j));
41 
43  for (unsigned int j = 0; j < tPCH->size(); j++)
45 
46  return associateRecoToSim(tc, tpc);
47 }

References edm::HandleBase::id(), dqmiolumiharvest::j, edm::RefToBaseVector< T >::push_back(), and edm::RefVector< C, T, F >::push_back().

◆ associateRecoToSim() [2/4]

reco::RecoToSimCollectionSeed TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::Handle< edm::View< TrajectorySeed >> &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual

Definition at line 65 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

66  {
68  return empty;
69 }

References relativeConstraints::empty.

◆ associateRecoToSim() [3/4]

reco::RecoToSimCollectionTCandidate TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::Handle< TrackCandidateCollection > &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual

Definition at line 78 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

79  {
81  return empty;
82 }

References relativeConstraints::empty.

◆ associateRecoToSim() [4/4]

virtual reco::RecoToSimCollection reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::RefToBaseVector< reco::Track > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
pure virtual

◆ associateSimToReco() [1/4]

reco::SimToRecoCollection TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco ( const edm::Handle< edm::View< reco::Track >> &  tCH,
const edm::Handle< TrackingParticleCollection > &  tPCH 
) const
virtual

compare reco to sim the handle of reco::Track and TrackingParticle collections

Definition at line 51 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

52  {
54  for (unsigned int j = 0; j < tCH->size(); j++)
55  tc.push_back(tCH->refAt(j));
56 
58  for (unsigned int j = 0; j < tPCH->size(); j++)
60 
61  return associateSimToReco(tc, tpc);
62 }

References edm::HandleBase::id(), dqmiolumiharvest::j, edm::RefToBaseVector< T >::push_back(), and edm::RefVector< C, T, F >::push_back().

◆ associateSimToReco() [2/4]

reco::SimToRecoCollectionSeed TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco ( const edm::Handle< edm::View< TrajectorySeed >> &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual

Definition at line 71 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

72  {
74  return empty;
75 }

References relativeConstraints::empty.

◆ associateSimToReco() [3/4]

reco::SimToRecoCollectionTCandidate TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco ( const edm::Handle< TrackCandidateCollection > &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual

Definition at line 84 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

85  {
87  return empty;
88 }

References relativeConstraints::empty.

◆ associateSimToReco() [4/4]

virtual reco::SimToRecoCollection reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco ( const edm::RefToBaseVector< reco::Track > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
pure virtual
edm::RefVector< TrackingParticleCollection >
edm::Ref< TrackingParticleCollection >
edm::RefToBaseVector::push_back
void push_back(const RefToBase< T > &)
Definition: RefToBaseVector.h:217
reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
Definition: TrackToTrackingParticleAssociatorBaseImpl.cc:51
edm::AssociationMap
Definition: AssociationMap.h:48
edm::RefVector::push_back
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:67
edm::RefToBaseVector< reco::Track >
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46
reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
Definition: TrackToTrackingParticleAssociatorBaseImpl.cc:36
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::HandleBase::id
ProductID id() const
Definition: HandleBase.cc:13