CMS 3D CMS Logo

FastProjectedTrackerRecHit.h
Go to the documentation of this file.
1 #ifndef FastProjectedTrackerRecHit_H
2 #define FastProjectedTrackerRecHit_H
3 
7 
9 public:
11 
13 
15  const LocalError& err,
16  GeomDet const& idet,
19  err,
20  idet,
21  ProjectedSiStripRecHit2D::isMono(idet, *originalHit.det())
25 
27  FastProjectedTrackerRecHit* clone() const override {
29  p->load();
30  return p;
31  }
32  size_t nIds() const override { return 1; }
33  int32_t id(size_t i = 0) const override { return originalHit().id(i); }
34  int32_t eventId(size_t i = 0) const override { return originalHit().eventId(i); }
35  size_t nSimTrackIds() const override {
36  return originalHit_.nSimTrackIds();
37  }
38  int32_t simTrackId(size_t i) const override {
39  return originalHit_.simTrackId(i);
40  }
41  int32_t simTrackEventId(size_t i) const override {
43  ;
44  }
45 
46  void setEventId(int32_t eventId) override { originalHit_.setEventId(eventId); }
47 
51  }
52 
53 private:
55 };
56 
57 #endif
void setRecHitCombinationIndex(int32_t recHitCombinationIndex) override
FastSingleTrackerRecHit originalHit_
const FastSingleTrackerRecHit & originalHit() const
size_t nSimTrackIds() const override
see addSimTrackId(int32_t simTrackId)
void setEventId(int32_t eventId) override
int32_t eventId(size_t i=0) const override
const GeomDet * det() const
int32_t simTrackEventId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
int32_t id(size_t i=0) const override
int32_t id(size_t i=0) const override
void setEventId(int32_t eventId) override
FastProjectedTrackerRecHit(const LocalPoint &pos, const LocalError &err, GeomDet const &idet, FastSingleTrackerRecHit const &originalHit)
virtual int32_t recHitCombinationIndex() const
int32_t simTrackEventId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
int32_t simTrackId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
int32_t eventId(size_t i=0) const override
size_t nSimTrackIds() const override
see addSimTrackId(int32_t simTrackId)
virtual void setRecHitCombinationIndex(int32_t recHitCombinationIndex)
FastProjectedTrackerRecHit * clone() const override
int32_t simTrackId(size_t i) const override
see addSimTrackId(int32_t simTrackId)