1 #ifndef RECOTRACKER_TRANSIENTRACKINGRECHIT_TSiStripMatchedRecHit_H
2 #define RECOTRACKER_TRANSIENTRACKINGRECHIT_TSiStripMatchedRecHit_H
29 bool computeCoarseLocalPosition=
false) {
36 bool computeCoarseLocalPosition=
false) {
55 bool computeCoarseLocalPosition=
false) {
57 memory->~TSiStripMatchedRecHit();
78 bool computeCoarseLocalPosition) :
86 bool computeCoarseLocalPosition) :
93 bool computeCoarseLocalPosition,
TSiStripMatchedRecHit(const GeomDet *geom, const TrackingRecHit *rh, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe, bool computeCoarseLocalPosition)
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
virtual AlgebraicSymMatrix parametersError() const
void clonePersistentHit()
take ownership of the hit, if it wasn't owned (note: if it was owned, this code will leak it) ...
const GeomDetUnit * detUnit() const
virtual const TrackingRecHit * hit() const
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
const StripClusterParameterEstimator * theCPE
TSiStripMatchedRecHit(const GeomDet *geom, std::auto_ptr< TrackingRecHit > rh, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe, bool computeCoarseLocalPosition)
virtual LocalError localPositionError() const
void clearPersistentHit()
const SiStripRecHitMatcher * theMatcher
virtual bool canImproveWithTrack() const
virtual void getKfComponents(KfComponentsHolder &holder) const
virtual TrackingRecHit * clone() const =0
TSiStripMatchedRecHit(const GeomDet *geom, const TrackingRecHit *rh, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe, bool computeCoarseLocalPosition, const DontCloneRecHit &)
Dummy struct to pass to the constructor to say 'please don't clone the hit'.
void ComputeCoarseLocalPosition()
static RecHitPointer build(const GeomDet *geom, std::auto_ptr< TrackingRecHit > rh, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe=0, bool computeCoarseLocalPosition=false)
const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
CLHEP::HepSymMatrix AlgebraicSymMatrix
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
static RecHitPointer build(const GeomDet *geom, const TrackingRecHit *rh, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe=0, bool computeCoarseLocalPosition=false)
TrackingRecHit * trackingRecHit_
static void buildInPlace(std::auto_ptr< TSiStripMatchedRecHit > &memory, const GeomDet *geom, const TrackingRecHit *rh, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe=0, bool computeCoarseLocalPosition=false)
virtual ConstRecHitContainer transientHits() const
Composite interface: returns the component hits, if any.
virtual TSiStripMatchedRecHit * clone() const
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)