CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 //
20 // constants, enums and typedefs
21 //
22 
23 //
24 // static data member definitions
25 //
26 
27 //
28 // constructors and destructor
29 //
31 {
32 }
33 
35 {
36 }
37 
38 //
39 // const member functions
40 //
43  const edm::Handle<TrackingParticleCollection>& tPCH) const
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 }
55 
59  const edm::Handle<TrackingParticleCollection>& tPCH) const
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 }
71 
72 //TrajectorySeed
76 {
78  return empty;
79 }
80 
84 {
86  return empty;
87 }
88 
89  //TrackCandidate
93 {
95  return empty;
96 }
97 
101 {
103  return empty;
104 }
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
int j
Definition: DBlmapReader.cc:9
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&lt;C, T&gt; to the RefVector.
Definition: RefVector.h:64