10 #ifndef FastTrackerRecHit_H
11 #define FastTrackerRecHit_H
16 namespace fastTrackerRecHitType {
60 ,
is2D_(fastTrackerRecHitType::
is2D(hitType))
80 virtual size_t nIds()
const {
return 0;}
81 virtual int32_t
id(
size_t i = 0)
const {
return -1;}
82 virtual int32_t
eventId(
size_t i = 0)
const {
return -1;}
102 virtual std::vector<const TrackingRecHit*>
recHits()
const override {
return std::vector<TrackingRecHit const*>();}
106 virtual std::vector<TrackingRecHit*>
recHits()
override {
return std::vector<TrackingRecHit*>();}
129 if(this->
nIds() == 1){
130 if(otherCast->
nIds() == 1){
131 return this->
sameId(otherCast,0,0);
138 return(this->
sameId(otherCast,0,0) || this->
sameId(otherCast,0,1));
143 if(otherCast->
nIds() == 1){
148 return(this->
sameId(otherCast,0,0) || this->
sameId(otherCast,1,0));
153 return(this->
sameId(otherCast,0,0) && this->
sameId(otherCast,1,1));
156 return(this->
sameId(otherCast,0,0) || this->
sameId(otherCast,1,1));
178 return this->
clone();
trackerHitRTTI::RTTI rtti(HitType hitType)
SharedInputType
definition of equality via shared input
virtual FastTrackerRecHit * clone() const override
virtual size_t nIds() const
virtual std::vector< const TrackingRecHit * > recHits() const override
void set2D(bool is2D=true)
const bool isPixel_
hit is either on pixel modul (isPixel_ = true) or strip module (isPixel_ = false) ...
bool sameId(const FastTrackerRecHit *other, size_t i=0, size_t j=0) const
OmniClusterRef const & firstClusterRef() const override
virtual int32_t simTrackEventId(size_t i) const
uint32_t recHitCombinationIndex_
virtual void setEventId(int32_t eventId)
LocalError myErr_
helps making the hit postion and error persistent
void load()
helps making the hit postion and error persistent
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
void store()
helps making the hit postion and error persistent
bool is2D(HitType hitType)
void getKfComponents2D(KfComponentsHolder &holder) const
virtual int32_t simTrackId(size_t i) const
virtual int32_t recHitCombinationIndex() const
bool isFast(TrackingRecHit const &hit)
virtual bool canImproveWithTrack() const override
int dimension() const override
get the dimensions right
void getKfComponents(KfComponentsHolder &holder) const override
virtual FastTrackerRecHit * clone(TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
bool isPixel() const override
pixel or strip?
virtual size_t nSimTrackIds() const
void getKfComponents1D(KfComponentsHolder &holder) const
FastTrackerRecHit(const LocalPoint &p, const LocalError &e, GeomDet const &idet, fastTrackerRecHitType::HitType hitType)
virtual int32_t eventId(size_t i=0) const
bool isPixel(HitType hitType)
virtual int32_t id(size_t i=0) const
trackerHitRTTI::RTTI rtti() const
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
virtual void setRecHitCombinationIndex(int32_t recHitCombinationIndex)
DetId geographicalId() const
volatile std::atomic< bool > shutdown_flag false
virtual std::vector< TrackingRecHit * > recHits() override
LocalPoint myPos_
helps making the hit postion and error persistent
bool is2D_
hit is either one dimensional (is2D_ = false) or two dimensions (is2D_ = true)