CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackAssociatorBase.h
Go to the documentation of this file.
1 #ifndef TrackAssociatorBase_h
2 #define TrackAssociatorBase_h
3 
15 
18 
19 namespace reco{
26 
33  }
34 
36  public:
40  virtual ~TrackAssociatorBase() {;}
41 
42 
46  const edm::Event * event = 0,
47  const edm::EventSetup * setup = 0) const {
49  for (unsigned int j=0; j<tCH->size();j++)
51 
53  for (unsigned int j=0; j<tPCH->size();j++)
55 
56  return associateRecoToSim(tc,tpc,event,setup);
57  }
58 
62  const edm::Event * event = 0,
63  const edm::EventSetup * setup = 0) const {
65  for (unsigned int j=0; j<tCH->size();j++)
67 
69  for (unsigned int j=0; j<tPCH->size();j++)
71 
72  return associateSimToReco(tc,tpc,event,setup);
73  }
74 
78  const edm::Event * event = 0,
79  const edm::EventSetup * setup = 0 ) const = 0 ;
83  const edm::Event * event = 0,
84  const edm::EventSetup * setup = 0 ) const = 0 ;
85 
86  //TrajectorySeed
89  const edm::Event * event = 0,
90  const edm::EventSetup * setup = 0) const {
92  return empty;
93  }
94 
97  const edm::Event * event = 0,
98  const edm::EventSetup * setup = 0) const {
100  return empty;
101  }
102 
103  //TrackCandidate
106  const edm::Event * event = 0,
107  const edm::EventSetup * setup = 0) const {
109  return empty;
110  }
111 
114  const edm::Event * event = 0,
115  const edm::EventSetup * setup = 0) const {
117  return empty;
118  }
119 
120 };
121 
122 
123 #endif
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< TrajectorySeed >, TrackingParticleCollection, double > > RecoToSimCollectionSeed
edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrajectorySeedCollection, TrackCandidateCollection, double > > RecoToSimCollectionTCandidate
std::vector< TrackingParticle > TrackingParticleCollection
ProductID id() const
Definition: HandleBase.cc:15
TrackAssociatorBase()
Constructor.
virtual reco::SimToRecoCollection associateSimToReco(edm::Handle< edm::View< reco::Track > > &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event=0, const edm::EventSetup *setup=0) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
std::vector< TrackCandidate > TrackCandidateCollection
virtual reco::SimToRecoCollectionSeed associateSimToReco(const edm::Handle< edm::View< TrajectorySeed > > &, const edm::Handle< TrackingParticleCollection > &, const edm::Event *event=0, const edm::EventSetup *setup=0) const
std::vector< TrajectorySeed > TrajectorySeedCollection
edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, TrackCandidateCollection, double > > SimToRecoCollectionTCandidate
int j
Definition: DBlmapReader.cc:9
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual reco::RecoToSimCollectionTCandidate associateRecoToSim(const edm::Handle< TrackCandidateCollection > &, const edm::Handle< TrackingParticleCollection > &, const edm::Event *event=0, const edm::EventSetup *setup=0) const
virtual ~TrackAssociatorBase()
Destructor.
virtual reco::RecoToSimCollection associateRecoToSim(edm::Handle< edm::View< reco::Track > > &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event=0, const edm::EventSetup *setup=0) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< TrajectorySeed >, double > > SimToRecoCollectionSeed
virtual reco::RecoToSimCollectionSeed associateRecoToSim(const edm::Handle< edm::View< TrajectorySeed > > &, const edm::Handle< TrackingParticleCollection > &, const edm::Event *event=0, const edm::EventSetup *setup=0) const
virtual reco::SimToRecoCollectionTCandidate associateSimToReco(const edm::Handle< TrackCandidateCollection > &, const edm::Handle< TrackingParticleCollection > &, const edm::Event *event=0, const edm::EventSetup *setup=0) 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:64
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")