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::RecoToSimCollection associateRecoToSim (const edm::RefToBaseVector< reco::Track > &tc, const edm::RefVector< TrackingParticleCollection > &tpc) const =0
 Association Reco To Sim with Collections. More...
 
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::RefVector< TrackingParticleCollection > &) const
 
virtual reco::SimToRecoCollection associateSimToReco (const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) 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...
 
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::RefVector< TrackingParticleCollection > &) const
 
 TrackToTrackingParticleAssociatorBaseImpl ()
 Constructor. More...
 
virtual ~TrackToTrackingParticleAssociatorBaseImpl ()
 Destructor. More...
 

Detailed Description

Definition at line 19 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.

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

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 }
ProductID id() const
Definition: HandleBase.cc:29
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
void push_back(const RefToBase< T > &)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:67

◆ associateRecoToSim() [2/4]

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

◆ associateRecoToSim() [3/4]

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

◆ associateRecoToSim() [4/4]

reco::RecoToSimCollectionTCandidate TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::Handle< TrackCandidateCollection > &  ,
const edm::RefVector< TrackingParticleCollection > &   
) const
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.

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

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 }
ProductID id() const
Definition: HandleBase.cc:29
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
void push_back(const RefToBase< T > &)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:67

◆ associateSimToReco() [2/4]

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

◆ associateSimToReco() [3/4]

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

◆ associateSimToReco() [4/4]

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