1 #ifndef RECOTRACKER_TRANSIENTRACKINGRECHIT_TSiStripRecHit1D_H
2 #define RECOTRACKER_TRANSIENTRACKINGRECHIT_TSiStripRecHit1D_H
35 virtual int dimension()
const {
return theHitData.dimension();}
42 virtual std::vector<const TrackingRecHit*>
recHits()
const {
45 virtual std::vector<TrackingRecHit*>
recHits() {
46 return theHitData.recHits();
58 const SiStripRecHit1D*
specificHit()
const {
return &theHitData;};
63 bool computeCoarseLocalPosition=
false) {
64 return RecHitPointer(
new TSiStripRecHit1D( geom, rh, cpe,computeCoarseLocalPosition));
71 return RecHitPointer(
new TSiStripRecHit1D( pos, err, det, clust, cpe));
95 TSiStripRecHit1D (
const GeomDet *
geom,
const SiStripRecHit1D* rh,
97 bool computeCoarseLocalPosition);
105 theCPE(cpe), theHitData(pos, err, det->geographicalId(), clust){}
110 virtual TSiStripRecHit1D*
clone()
const {
111 return new TSiStripRecHit1D(*
this);
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
virtual ~TSiStripRecHit1D()
virtual TSiStripRecHit1D * clone() const
virtual TransientTrackingRecHit * clone() const =0
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
virtual const TrackingRecHit * hit() const =0
const SiStripRecHit1D * specificHit() const
TSiStripRecHit1D(const LocalPoint &pos, const LocalError &err, const GeomDet *det, const OmniClusterRef &clust, const StripClusterParameterEstimator *cpe)
Creates the TrackingRecHit internally, avoids redundent cloning.
CLHEP::HepMatrix AlgebraicMatrix
SiStripRecHit1D theHitData
virtual const TrackingRecHit * hit() const
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
virtual LocalPoint localPosition() const
virtual void getKfComponents(KfComponentsHolder &holder) const
edm::LazyGetter< SiStripCluster >::value_ref SiStripRegionalClusterRef
virtual int dimension() const
static RecHitPointer build(const LocalPoint &pos, const LocalError &err, const GeomDet *det, const SiStripClusterRef &clust, const StripClusterParameterEstimator *cpe)
CLHEP::HepVector AlgebraicVector
virtual LocalError localPositionError() const
static RecHitPointer build(const GeomDet *geom, const SiStripRecHit1D *rh, const StripClusterParameterEstimator *cpe, bool computeCoarseLocalPosition=false)
virtual AlgebraicMatrix projectionMatrix() const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
SiStripRecHit1D::ClusterRef SiStripClusterRef
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
const StripClusterParameterEstimator * cpe() const
virtual bool canImproveWithTrack() const
static RecHitPointer build(const LocalPoint &pos, const LocalError &err, const GeomDet *det, const SiStripRegionalClusterRef &clust, const StripClusterParameterEstimator *cpe)
static RecHitPointer build(const LocalPoint &pos, const LocalError &err, const GeomDet *det, const OmniClusterRef &clust, const StripClusterParameterEstimator *cpe)
virtual AlgebraicVector parameters() const
virtual AlgebraicSymMatrix parametersError() const
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)