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