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*> & );
107 ConstRecHitContainer
result;
108 std::vector<const TrackingRecHit*>
hits;
110 for (
auto h : hits) result.push_back(
h->cloneSH());
135 virtual float weight()
const {
return 1.;}
171 assert(
"clone"==
nullptr);
176 assert(
"cloneSH"==
nullptr);
SharedInputType
definition of equality via shared input
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 RecHitPointer cloneSH_(TkCloner const &, TrajectoryStateOnSurface const &) 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 GlobalPoint globalPosition() const
const Plane & surface() const
The nominal surface of the GeomDet.
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
CLHEP::HepMatrix AlgebraicMatrix
virtual float errorGlobalRPhi() const
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
const GeomDet * det() const
virtual int dimension() const =0
virtual TrackingRecHit * clone() const =0
virtual ~TrackingRecHit()
TrackingRecHit(const GeomDet &idet, unsigned int rt, Type type=valid)
static const int rttiShift
virtual bool hasPositionAndError() const
to be redefined by daughter class
virtual LocalPoint localPosition() const =0
unsigned int getRTTI() const
std::shared_ptr< TrackingRecHit const > RecHitPointer
virtual TrackingRecHit * clone_(TkCloner const &, TrajectoryStateOnSurface const &) const
std::vector< ConstRecHitPointer > ConstRecHitContainer
virtual TrackingRecHit * cloneHit() const
virtual AlgebraicSymMatrix parametersError() const =0
virtual AlgebraicVector parameters() const =0
TrackingRecHit(DetId id, Type type=valid)
virtual TrackingRecHit const * hit() const
CLHEP::HepVector AlgebraicVector
virtual float errorGlobalZ() const
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)
static const int typeMask
RecHitPointer cloneForFit(const GeomDet &idet) const
virtual const GeomDetUnit * detUnit() const
CLHEP::HepSymMatrix AlgebraicSymMatrix
DetId geographicalId() const
virtual LocalError localPositionError() const =0
virtual void recHitsV(std::vector< const TrackingRecHit * > &) const
virtual GlobalError globalPositionError() const
virtual AlgebraicMatrix projectionMatrix() const =0