|
|
Go to the documentation of this file.
10 #ifndef FastTrackerRecHit_H
11 #define FastTrackerRecHit_H
94 virtual size_t nIds()
const {
return 0; }
95 virtual int32_t
id(
size_t i = 0)
const {
return -1; }
96 virtual int32_t
eventId(
size_t i = 0)
const {
return -1; }
118 std::vector<const TrackingRecHit*>
recHits()
const override {
return std::vector<TrackingRecHit const*>(); }
122 std::vector<TrackingRecHit*>
recHits()
override {
return std::vector<TrackingRecHit*>(); }
146 if (this->
nIds() == 1) {
147 if (otherCast->
nIds() == 1) {
148 return this->
sameId(otherCast, 0, 0);
153 return (this->
sameId(otherCast, 0, 0) || this->
sameId(otherCast, 0, 1));
157 if (otherCast->
nIds() == 1) {
161 return (this->
sameId(otherCast, 0, 0) || this->
sameId(otherCast, 1, 0));
165 return (this->
sameId(otherCast, 0, 0) && this->
sameId(otherCast, 1, 1));
167 return (this->
sameId(otherCast, 0, 0) || this->
sameId(otherCast, 1, 1));
194 return this->
clone();
201 return (
one.geographicalId() <
other.geographicalId());
~FastTrackerRecHit() override
virtual void setRecHitCombinationIndex(int32_t recHitCombinationIndex)
void set2D(bool is2D=true)
std::vector< TrackingRecHit * > recHits() override
bool is2D_
hit is either one dimensional (is2D_ = false) or two dimensions (is2D_ = true)
bool sameId(const FastTrackerRecHit *other, size_t i=0, size_t j=0) const
virtual int32_t id(size_t i=0) const
virtual void setEventId(int32_t eventId)
SharedInputType
definition of equality via shared input
void store()
helps making the hit postion and error persistent
uint32_t recHitCombinationIndex_
LocalError myErr_
helps making the hit postion and error persistent
virtual int32_t simTrackId(size_t i) const
void load()
helps making the hit postion and error persistent
virtual size_t nSimTrackIds() const
std::vector< const TrackingRecHit * > recHits() const override
virtual size_t nIds() const
int dimension() const override
get the dimensions right
trackerHitRTTI::RTTI rtti() const
virtual int32_t simTrackEventId(size_t i) const
bool isPixel(HitType hitType)
virtual int32_t recHitCombinationIndex() const
OmniClusterRef const & firstClusterRef() const override
bool operator<(const FastTrackerRecHit &one, const FastTrackerRecHit &other)
bool canImproveWithTrack() const override
virtual int32_t eventId(size_t i=0) const
void getKfComponents(KfComponentsHolder &holder) const override
trackerHitRTTI::RTTI rtti(HitType hitType)
bool is2D(HitType hitType)
FastTrackerRecHit * clone_(TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
bool isPixel() const override
pixel or strip?
void getKfComponents2D(KfComponentsHolder &holder) const
void setEnergyLoss(float e)
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
LocalPoint myPos_
helps making the hit postion and error persistent
FastTrackerRecHit * clone() const override
FastTrackerRecHit(const LocalPoint &p, const LocalError &e, GeomDet const &idet, fastTrackerRecHitType::HitType hitType)
void getKfComponents1D(KfComponentsHolder &holder) const
const bool isPixel_
hit is either on pixel modul (isPixel_ = true) or strip module (isPixel_ = false)
bool isFast(TrackingRecHit const &hit)