CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::Handle< 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::Handle< TrackingParticleCollection > &) const
 
 TrackToTrackingParticleAssociatorBaseImpl ()
 Constructor. More...
 
virtual ~TrackToTrackingParticleAssociatorBaseImpl ()
 Destructor. More...
 

Detailed Description

Definition at line 33 of file TrackToTrackingParticleAssociatorBaseImpl.h.

Constructor & Destructor Documentation

TrackToTrackingParticleAssociatorBaseImpl::TrackToTrackingParticleAssociatorBaseImpl ( )

Constructor.

Definition at line 29 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

29 {}
TrackToTrackingParticleAssociatorBaseImpl::~TrackToTrackingParticleAssociatorBaseImpl ( )
virtual

Destructor.

Definition at line 31 of file TrackToTrackingParticleAssociatorBaseImpl.cc.

31 {}

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

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&lt;C, T&gt; to the RefVector.
Definition: RefVector.h:67
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

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&lt;C, T&gt; to the RefVector.
Definition: RefVector.h:67
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