1 #ifndef TrackingRecHit_h
2 #define TrackingRecHit_h
15 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
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;
113 for (
auto h : hits) result.push_back(
h->cloneSH());
138 virtual float weight()
const {
return 1.;}
174 assert(
"clone"==
nullptr);
179 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
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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
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