1 #ifndef TrackingRecHit_h
2 #define TrackingRecHit_h
98 virtual std::vector<const TrackingRecHit*>
recHits()
const = 0;
99 virtual void recHitsV(std::vector<const TrackingRecHit*> & )
const;
102 virtual std::vector<TrackingRecHit*>
recHits() = 0;
103 virtual void recHitsV(std::vector<TrackingRecHit*> & );
108 std::vector<const TrackingRecHit*> hits;
110 for (
auto h : hits) result.push_back(
h->cloneSH());
135 virtual float weight()
const {
return 1.;}
176 assert(
"cloneSH"==
nullptr);
SharedInputType
definition of equality via shared input
virtual int dimension() const =0
virtual void getKfComponents(KfComponentsHolder &holder) const
virtual const Surface * surface() const
virtual float weight() const
virtual RecHitPointer cloneSH() const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual float errorGlobalR() const
virtual ConstRecHitContainer transientHits() const
TrackingRecHit(const GeomDet &idet, Type type=valid)
virtual bool sharesInput(const TrackingRecHit *other, SharedInputType what) const
std::vector< ConstRecHitPointer > RecHitContainer
TrackingRecHit(const GeomDet &idet, TrackingRecHit const &rh)
virtual void setDet(const GeomDet &idet)
virtual TrackingRecHit * clone(TkCloner const &, TrajectoryStateOnSurface const &) const
virtual GlobalPoint globalPosition() const
const Plane & surface() const
The nominal surface of the GeomDet.
virtual AlgebraicVector parameters() const =0
CLHEP::HepMatrix AlgebraicMatrix
virtual float errorGlobalRPhi() const
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
const GeomDet * det() const
virtual ~TrackingRecHit()
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
TrackingRecHit(const GeomDet &idet, unsigned int rt, Type type=valid)
static const int rttiShift
virtual bool hasPositionAndError() const
to be redefined by daughter class
unsigned int getRTTI() const
std::shared_ptr< TrackingRecHit const > RecHitPointer
std::vector< ConstRecHitPointer > ConstRecHitContainer
virtual TrackingRecHit * cloneHit() const
virtual TrackingRecHit * clone() const =0
TrackingRecHit(DetId id, Type type=valid)
virtual TrackingRecHit const * hit() const
CLHEP::HepVector AlgebraicVector
virtual float errorGlobalZ() const
virtual LocalError localPositionError() const =0
void setRTTI(unsigned int rt)
TrackingRecHit(DetId id, unsigned int rt, Type type=valid)
virtual bool canImproveWithTrack() const
TrackingRecHit(id_type id=0, Type type=valid)
virtual RecHitPointer cloneSH(TkCloner const &, TrajectoryStateOnSurface const &) const
virtual AlgebraicMatrix projectionMatrix() const =0
static const int typeMask
RecHitPointer cloneForFit(const GeomDet &idet) const
virtual const GeomDetUnit * detUnit() const
CLHEP::HepSymMatrix AlgebraicSymMatrix
DetId geographicalId() const
virtual void recHitsV(std::vector< const TrackingRecHit * > &) const
virtual LocalPoint localPosition() const =0
virtual GlobalError globalPositionError() const
virtual AlgebraicSymMatrix parametersError() const =0