Go to the documentation of this file. 1 #ifndef BaseTrackerRecHit_H
2 #define BaseTrackerRecHit_H
31 auto trackerDet = static_cast<TrackerGeomDet const*>(
det());
32 LocalError lape = trackerDet->localAlignmentError();
45 virtual bool isPixel()
const {
return false; }
46 virtual bool isPhase2()
const {
return false; }
119 #elif defined(DO_INTERNAL_CHECKS_BTR)
138 unsigned int id =
hit.geographicalId().rawId();
148 const unsigned int limdet = 10;
150 if (mysubd > limdet) {
160 return (
one.geographicalId() <
other.geographicalId());
162 #endif // BaseTrackerRecHit_H
T phierr(const GlobalPoint &aPoint) const
bool sameDetModule(TrackingRecHit const &hit) const
GlobalError globalPositionError() const final
float errorGlobalR() const final
bool isProjMono(TrackingRecHit const &hit)
virtual float clusterProbability() const
cluster probability, overloaded by pixel rechits.
bool isSingle(TrackingRecHit const &hit)
float errorGlobalZ() const final
bool isProjected(TrackingRecHit const &hit)
BaseTrackerRecHit const * hit() const final
const GeomDet * det() const
AlgebraicVector parameters() const override
bool operator<(const BaseTrackerRecHit &one, const BaseTrackerRecHit &other)
DetId geographicalId() const
BaseTrackerRecHit(const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt)
static const int kSubdetOffset
bool isMulti(TrackingRecHit const &hit)
const Plane & surface() const
The nominal surface of the GeomDet.
float errorGlobalRPhi() const final
CLHEP::HepVector AlgebraicVector
void getKfComponents(KfComponentsHolder &holder) const override=0
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
LocalError localPositionError() const override
RTTI rtti(TrackingRecHit const &hit)
T rerr(const GlobalPoint &aPoint) const
bool isMatched(TrackingRecHit const &hit)
trackerHitRTTI::RTTI rtti() const
GlobalPoint globalPosition() const final
const LocalPoint & localPositionFast() const
TrackingRecHitGlobalState globalState() const
bool hasPositionAndError() const override
to be redefined by daughter class
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual OmniClusterRef const & firstClusterRef() const =0
~BaseTrackerRecHit() override
const LocalError & localPositionErrorFast() const
const Surface * surface() const final
bool isProjStereo() const
constexpr uint32_t rawId() const
get the raw id
CLHEP::HepMatrix AlgebraicMatrix
LocalPoint localPosition() const override
AlgebraicMatrix projectionMatrix() const override
BaseTrackerRecHit(const GeomDet &idet, trackerHitRTTI::RTTI rt)
bool isProjStereo(TrackingRecHit const &hit)
BaseTrackerRecHit(DetId id, trackerHitRTTI::RTTI rt)
void getKfComponents2D(KfComponentsHolder &holder) const
virtual bool isPixel() const
virtual bool isPhase2() const
int dimension() const override=0
void getKfComponents1D(KfComponentsHolder &holder) const
AlgebraicSymMatrix parametersError() const override