2 #ifndef RECOTRACKER_TRANSIENTRACKINGRECHIT_TSiPixelRecHit_H
3 #define RECOTRACKER_TRANSIENTRACKINGRECHIT_TSiPixelRecHit_H
30 virtual int dimension()
const {
return theHitData.dimension();}
41 virtual std::vector<const TrackingRecHit*>
recHits()
const {
44 virtual std::vector<TrackingRecHit*>
recHits() {
45 return theHitData.recHits();
62 bool computeCoarseLocalPosition=
false) {
63 return RecHitPointer(
new TSiPixelRecHit( geom, rh, cpe, computeCoarseLocalPosition));
70 return RecHitPointer(
new TSiPixelRecHit( pos, err, det, cluster, cpe));
76 return theHitData.clusterProbability( theClusterProbComputationFlag );
91 bool computeCoarseLocalPosition);
103 virtual TSiPixelRecHit *
clone()
const {
104 return new TSiPixelRecHit(*
this);
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
virtual TSiPixelRecHit * clone() const
virtual TransientTrackingRecHit * clone() const =0
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
virtual const TrackingRecHit * hit() const =0
virtual ~TSiPixelRecHit()
CLHEP::HepMatrix AlgebraicMatrix
virtual const TrackingRecHit * hit() const
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
virtual LocalPoint localPosition() const
SiPixelRecHit::ClusterRef clusterRef
virtual void getKfComponents(KfComponentsHolder &holder) const
virtual float clusterProbability() const
Probability of the compatibility of the track with the pixel cluster shape.
virtual int dimension() const
static RecHitPointer build(const GeomDet *geom, const SiPixelRecHit *rh, const PixelClusterParameterEstimator *cpe, bool computeCoarseLocalPosition=false)
CLHEP::HepVector AlgebraicVector
virtual LocalError localPositionError() const
static RecHitPointer build(const LocalPoint &pos, const LocalError &err, const GeomDet *det, const clusterRef &cluster, const PixelClusterParameterEstimator *cpe)
const SiPixelRecHit * specificHit() const
virtual AlgebraicMatrix projectionMatrix() const
unsigned int theClusterProbComputationFlag
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
const PixelClusterParameterEstimator * cpe() const
const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual std::vector< TrackingRecHit * > recHits()
Non-const access to component RecHits (if any)
virtual const GeomDetUnit * detUnit() const
virtual bool canImproveWithTrack() const
const PixelClusterParameterEstimator * theCPE
virtual AlgebraicVector parameters() const
virtual AlgebraicSymMatrix parametersError() const
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)