1 #ifndef FastSingleTrackerRecHit_H 2 #define FastSingleTrackerRecHit_H 26 size_t nIds()
const override {
return 1;}
27 int32_t
id(
size_t i =0)
const override {
return i == 0 ?
id_ : -1;}
FastSingleTrackerRecHit(const LocalPoint &p, const LocalError &e, GeomDet const &idet, fastTrackerRecHitType::HitType hitType)
int32_t simTrackId(size_t i) const override
see addSimTrackId(int32_t simTrackId)
void load()
helps making the hit postion and error persistent
int32_t id(size_t i=0) const override
int32_t eventId(size_t i=0) const override
std::vector< int32_t > simTrackIds_
see addSimTrackIds(int32_t)
size_t nIds() const override
virtual FastSingleTrackerRecHit * clone() const override
size_t nSimTrackIds() const override
see addSimTrackId(int32_t simTrackId)
int32_t eventId_
see setEeId(int32_t eeid)
void setEventId(int32_t eventId) override
FastSingleTrackerRecHit()
int32_t id_
see setId(int32_t id)
void addSimTrackId(int32_t simTrackId)
int32_t simTrackEventId(size_t i) const override
see addSimTrackId(int32_t simTrackId)