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
FastTrackerRecHit::setRecHitCombinationIndex
virtual void setRecHitCombinationIndex(int32_t recHitCombinationIndex)
Definition: FastTrackerRecHit.h:112
FastProjectedTrackerRecHit::nSimTrackIds
size_t nSimTrackIds() const override
see addSimTrackId(int32_t simTrackId)
Definition: FastProjectedTrackerRecHit.h:35
mps_fire.i
i
Definition: mps_fire.py:355
FastSingleTrackerRecHit::simTrackEventId
int32_t simTrackEventId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
Definition: FastSingleTrackerRecHit.h:31
GeomDet
Definition: GeomDet.h:27
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
TrackingRecHit::det
const GeomDet * det() const
Definition: TrackingRecHit.h:122
pos
Definition: PixelAliasList.h:18
FastProjectedTrackerRecHit::originalHit_
FastSingleTrackerRecHit originalHit_
Definition: FastProjectedTrackerRecHit.h:54
FastSingleTrackerRecHit::id
int32_t id(size_t i=0) const override
Definition: FastSingleTrackerRecHit.h:25
FastTrackerRecHit
Definition: FastTrackerRecHit.h:40
FastSingleTrackerRecHit::simTrackId
int32_t simTrackId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
Definition: FastSingleTrackerRecHit.h:28
fastTrackerRecHitType
Definition: FastTrackerRecHit.h:15
ProjectedSiStripRecHit2D
Definition: ProjectedSiStripRecHit2D.h:8
FastProjectedTrackerRecHit::eventId
int32_t eventId(size_t i=0) const override
Definition: FastProjectedTrackerRecHit.h:34
FastProjectedTrackerRecHit::clone
FastProjectedTrackerRecHit * clone() const override
Definition: FastProjectedTrackerRecHit.h:27
FastProjectedTrackerRecHit
Definition: FastProjectedTrackerRecHit.h:8
FastSingleTrackerRecHit::nSimTrackIds
size_t nSimTrackIds() const override
see addSimTrackId(int32_t simTrackId)
Definition: FastSingleTrackerRecHit.h:27
FastProjectedTrackerRecHit::id
int32_t id(size_t i=0) const override
Definition: FastProjectedTrackerRecHit.h:33
Point3DBase< float, LocalTag >
FastProjectedTrackerRecHit::setRecHitCombinationIndex
void setRecHitCombinationIndex(int32_t recHitCombinationIndex) override
Definition: FastProjectedTrackerRecHit.h:48
FastProjectedTrackerRecHit::FastProjectedTrackerRecHit
FastProjectedTrackerRecHit()
Definition: FastProjectedTrackerRecHit.h:10
runTheMatrix.err
err
Definition: runTheMatrix.py:288
LocalError
Definition: LocalError.h:12
FastSingleTrackerRecHit.h
FastSingleTrackerRecHit
Definition: FastSingleTrackerRecHit.h:7
FastTrackerRecHit::recHitCombinationIndex
virtual int32_t recHitCombinationIndex() const
Definition: FastTrackerRecHit.h:102
fastTrackerRecHitType::siStripProjectedMono2D
Definition: FastTrackerRecHit.h:21
FastProjectedTrackerRecHit::~FastProjectedTrackerRecHit
~FastProjectedTrackerRecHit() override
Definition: FastProjectedTrackerRecHit.h:12
ProjectedSiStripRecHit2D.h
FastProjectedTrackerRecHit::simTrackId
int32_t simTrackId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
Definition: FastProjectedTrackerRecHit.h:38
FastProjectedTrackerRecHit::setEventId
void setEventId(int32_t eventId) override
Definition: FastProjectedTrackerRecHit.h:46
FastSingleTrackerRecHit::eventId
int32_t eventId(size_t i=0) const override
Definition: FastSingleTrackerRecHit.h:26
FastProjectedTrackerRecHit::originalHit
const FastSingleTrackerRecHit & originalHit() const
Definition: FastProjectedTrackerRecHit.h:26
FastTrackerRecHit.h
FastSingleTrackerRecHit::setEventId
void setEventId(int32_t eventId) override
Definition: FastSingleTrackerRecHit.h:47
FastProjectedTrackerRecHit::simTrackEventId
int32_t simTrackEventId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
Definition: FastProjectedTrackerRecHit.h:41
FastProjectedTrackerRecHit::FastProjectedTrackerRecHit
FastProjectedTrackerRecHit(const LocalPoint &pos, const LocalError &err, GeomDet const &idet, FastSingleTrackerRecHit const &originalHit)
Definition: FastProjectedTrackerRecHit.h:14
FastProjectedTrackerRecHit::nIds
size_t nIds() const override
Definition: FastProjectedTrackerRecHit.h:32
fastTrackerRecHitType::siStripProjectedStereo2D
Definition: FastTrackerRecHit.h:22