Go to the documentation of this file. 1 #ifndef TrackingRecHit_h
2 #define TrackingRecHit_h
84 const_cast<TrackingRecHit&>(*cl).setDet(idet);
101 virtual std::vector<const TrackingRecHit*>
recHits()
const = 0;
102 virtual void recHitsV(std::vector<const TrackingRecHit*>&)
const;
105 virtual std::vector<TrackingRecHit*>
recHits() = 0;
106 virtual void recHitsV(std::vector<TrackingRecHit*>&);
111 std::vector<const TrackingRecHit*>
hits;
114 result.push_back(
h->cloneSH());
137 virtual float weight()
const {
return 1.; }
172 assert(
"clone" ==
nullptr);
177 assert(
"cloneSH" ==
nullptr);
static const int typeMask
RecHitPointer cloneForFit(const GeomDet &idet) const
virtual AlgebraicVector parameters() const =0
virtual ~TrackingRecHit()
TrackingRecHit(DetId id, Type type=valid)
virtual TrackingRecHit * cloneHit() const
virtual TrackingRecHit const * hit() const
const GeomDet * det() const
TrackingRecHit(const GeomDet &idet, unsigned int rt, Type type=valid)
std::shared_ptr< TrackingRecHit const > RecHitPointer
static const int rttiShift
virtual RecHitPointer cloneSH_(TkCloner const &, TrajectoryStateOnSurface const &) const
virtual LocalPoint localPosition() const =0
DetId geographicalId() const
virtual void setDet(const GeomDet &idet)
const Plane & surface() const
The nominal surface of the GeomDet.
SharedInputType
definition of equality via shared input
CLHEP::HepVector AlgebraicVector
std::vector< ConstRecHitPointer > RecHitContainer
virtual TrackingRecHit * clone_(TkCloner const &, TrajectoryStateOnSurface const &) const
virtual float errorGlobalRPhi() const
TrackingRecHit(const GeomDet &idet, Type type=valid)
virtual bool hasPositionAndError() const
to be redefined by daughter class
virtual float weight() const
virtual ConstRecHitContainer transientHits() const
std::vector< ConstRecHitPointer > ConstRecHitContainer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
virtual GlobalError globalPositionError() const
virtual GlobalPoint globalPosition() const
TrackingRecHit(const GeomDet &idet, TrackingRecHit const &rh)
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual float errorGlobalR() const
virtual AlgebraicMatrix projectionMatrix() const =0
virtual TrackingRecHit * clone() const =0
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
CLHEP::HepMatrix AlgebraicMatrix
virtual void getKfComponents(KfComponentsHolder &holder) const
virtual int dimension() const =0
virtual RecHitPointer cloneSH() const
virtual bool sharesInput(const TrackingRecHit *other, SharedInputType what) const
virtual AlgebraicSymMatrix parametersError() const =0
TrackingRecHit(DetId id, unsigned int rt, Type type=valid)
virtual void recHitsV(std::vector< const TrackingRecHit * > &) const
virtual bool canImproveWithTrack() const
unsigned int getRTTI() const
virtual const GeomDetUnit * detUnit() const
virtual const Surface * surface() const
void setRTTI(unsigned int rt)
virtual float errorGlobalZ() const
TrackingRecHit(id_type id=0, Type type=valid)
virtual LocalError localPositionError() const =0