CMS 3D CMS Logo

TrackToTrackingParticleAssociatorBaseImpl.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: SimDataFormats/Associations
4 // Class : TrackToTrackingParticleAssociatorBaseImpl
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Christopher Jones
10 // Created: Tue, 30 Dec 2014 21:35:35 GMT
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 //
19 // constants, enums and typedefs
20 //
21 
22 //
23 // static data member definitions
24 //
25 
26 //
27 // constructors and destructor
28 //
30 
32 
33 //
34 // const member functions
35 //
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 }
48 
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 }
63 
64 // TrajectorySeed
68  return empty;
69 }
70 
74  return empty;
75 }
76 
77 // TrackCandidate
81  return empty;
82 }
83 
87  return empty;
88 }
TrackToTrackingParticleAssociatorBaseImpl.h
edm::RefVector< TrackingParticleCollection >
edm::Handle
Definition: AssociativeIterator.h:50
edm::Ref< TrackingParticleCollection >
reco::TrackToTrackingParticleAssociatorBaseImpl::TrackToTrackingParticleAssociatorBaseImpl
TrackToTrackingParticleAssociatorBaseImpl()
Constructor.
Definition: TrackToTrackingParticleAssociatorBaseImpl.cc:29
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::View
Definition: CaloClusterFwd.h:14
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, TrackingParticleCollection, double > >
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:29
reco::TrackToTrackingParticleAssociatorBaseImpl::~TrackToTrackingParticleAssociatorBaseImpl
virtual ~TrackToTrackingParticleAssociatorBaseImpl()
Destructor.
Definition: TrackToTrackingParticleAssociatorBaseImpl.cc:31