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
 compare reco to sim the handle of reco::Track and TrackingParticle collections More...
 
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::Handle< TrackingParticleCollection > &) const
 
virtual reco::SimToRecoCollection associateSimToReco (const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
 compare reco to sim the handle of reco::Track and TrackingParticle collections More...
 
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::Handle< TrackingParticleCollection > &) const
 
 TrackToTrackingParticleAssociatorBaseImpl ()
 Constructor. More...
 
virtual ~TrackToTrackingParticleAssociatorBaseImpl ()
 Destructor. More...
 

Detailed Description

Definition at line 32 of file TrackToTrackingParticleAssociatorBaseImpl.h.

Constructor & Destructor Documentation

TrackToTrackingParticleAssociatorBaseImpl::TrackToTrackingParticleAssociatorBaseImpl ( )

Constructor.

Definition at line 30 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

31 {
32 }
TrackToTrackingParticleAssociatorBaseImpl::~TrackToTrackingParticleAssociatorBaseImpl ( )
virtual

Destructor.

Definition at line 34 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

35 {
36 }

Member Function Documentation

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

Reimplemented in QuickTrackAssociatorByHitsImpl, TrackAssociatorByChi2Impl, and TrackAssociatorByHitsImpl.

Definition at line 42 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

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

Referenced by reco::TrackToTrackingParticleAssociator::associateRecoToSim(), and TrackAssociatorByChi2Impl::associateRecoToSim().

44 {
46  for (unsigned int j=0; j<tCH->size();j++)
47  tc.push_back(tCH->refAt(j));
48 
50  for (unsigned int j=0; j<tPCH->size();j++)
52 
53  return associateRecoToSim(tc,tpc);
54 }
ProductID id() const
Definition: HandleBase.cc:15
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
void push_back(const RefToBase< T > &)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:69
virtual reco::RecoToSimCollection reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::RefToBaseVector< reco::Track > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
pure virtual
reco::RecoToSimCollectionSeed TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::Handle< edm::View< TrajectorySeed > > &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual
reco::RecoToSimCollectionTCandidate TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim ( const edm::Handle< TrackCandidateCollection > &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual
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

Reimplemented in QuickTrackAssociatorByHitsImpl, TrackAssociatorByChi2Impl, and TrackAssociatorByHitsImpl.

Definition at line 58 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

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

Referenced by reco::TrackToTrackingParticleAssociator::associateSimToReco(), and TrackAssociatorByChi2Impl::associateSimToReco().

60 {
62  for (unsigned int j=0; j<tCH->size();j++)
63  tc.push_back(tCH->refAt(j));
64 
66  for (unsigned int j=0; j<tPCH->size();j++)
68 
69  return associateSimToReco(tc,tpc);
70 }
ProductID id() const
Definition: HandleBase.cc:15
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
void push_back(const RefToBase< T > &)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:69
virtual reco::SimToRecoCollection reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco ( const edm::RefToBaseVector< reco::Track > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
pure virtual
reco::SimToRecoCollectionSeed TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco ( const edm::Handle< edm::View< TrajectorySeed > > &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual
reco::SimToRecoCollectionTCandidate TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco ( const edm::Handle< TrackCandidateCollection > &  ,
const edm::Handle< TrackingParticleCollection > &   
) const
virtual