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 ,
47  const edm::EventSetup * setup ) 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 ,
63  const edm::EventSetup * setup ) 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 ,
79  const edm::EventSetup * setup ) const = 0 ;
83  const edm::Event * event ,
84  const edm::EventSetup * setup ) const = 0 ;
85 
86  //TrajectorySeed
89  const edm::Event * event ,
90  const edm::EventSetup * setup ) const {
92  return empty;
93  }
94 
97  const edm::Event * event ,
98  const edm::EventSetup * setup ) const {
100  return empty;
101  }
102 
103  //TrackCandidate
106  const edm::Event * event ,
107  const edm::EventSetup * setup ) const {
109  return empty;
110  }
111 
114  const edm::Event * event ,
115  const edm::EventSetup * setup ) 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.
std::vector< TrackCandidate > TrackCandidateCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
virtual reco::RecoToSimCollectionTCandidate associateRecoToSim(edm::Handle< TrackCandidateCollection > &, edm::Handle< TrackingParticleCollection > &, const edm::Event *event, const edm::EventSetup *setup) const
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 ~TrackAssociatorBase()
Destructor.
virtual reco::RecoToSimCollection associateRecoToSim(edm::Handle< edm::View< reco::Track > > &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event, const edm::EventSetup *setup) 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::SimToRecoCollection associateSimToReco(edm::Handle< edm::View< reco::Track > > &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event, const edm::EventSetup *setup) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
virtual reco::RecoToSimCollectionSeed associateRecoToSim(edm::Handle< edm::View< TrajectorySeed > > &, edm::Handle< TrackingParticleCollection > &, const edm::Event *event, const edm::EventSetup *setup) const
virtual reco::SimToRecoCollectionTCandidate associateSimToReco(edm::Handle< TrackCandidateCollection > &, edm::Handle< TrackingParticleCollection > &, const edm::Event *event, const edm::EventSetup *setup) const
void push_back(const RefToBase< T > &)
virtual reco::SimToRecoCollectionSeed associateSimToReco(edm::Handle< edm::View< TrajectorySeed > > &, edm::Handle< TrackingParticleCollection > &, const edm::Event *event, const edm::EventSetup *setup) const
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="")