1 #ifndef RECOTRACKER_TRANSIENTRACKINGRECHIT_TRecHit2DPosConstraint_H
2 #define RECOTRACKER_TRANSIENTRACKINGRECHIT_TRecHit2DPosConstraint_H
34 theProjectionMatrix[0][3] = 1;
35 theProjectionMatrix[1][4] = 1;
36 return theProjectionMatrix;
46 virtual std::vector<const TrackingRecHit*>
recHits()
const {
return std::vector<const TrackingRecHit*>(); }
47 virtual std::vector<TrackingRecHit*>
recHits() {
return std::vector<TrackingRecHit*>(); }
59 return RecHitPointer(
new TRecHit2DPosConstraint( pos, err, surface));
79 pos_(pos),err_(err),surface_(surface) {}
82 pos_( other.localPosition() ),err_( other.localPositionError() ), surface_((other.surface())) {}
84 virtual TRecHit2DPosConstraint *
clone()
const {
85 return new TRecHit2DPosConstraint(*
this);
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual LocalError localPositionError() const
virtual GlobalError globalPositionError() const
virtual const Surface * surface() const
The surface of the GeometricSearchDet.
virtual bool sharesInput(const TrackingRecHit *, SharedInputType) const
virtual AlgebraicSymMatrix parametersError() const
virtual TrackingRecHit * cloneHit() const
GloballyPositioned< float >::GlobalPoint GlobalPoint
virtual const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
virtual bool canImproveWithTrack() const
virtual std::vector< TrackingRecHit * > recHits()
Non-const access to component RecHits (if any)
ConstReferenceCountingPointer< Surface > surface_
virtual AlgebraicMatrix projectionMatrix() const
virtual ~TRecHit2DPosConstraint()
virtual GlobalPoint globalPosition() const =0
CLHEP::HepMatrix AlgebraicMatrix
virtual const TrackingRecHit * hit() const
TRecHit2DPosConstraint(const LocalPoint &pos, const LocalError &err, const Surface *surface)
Creates the TrackingRecHit internally, avoids redundent cloning.
virtual GlobalError globalPositionError() const =0
static RecHitPointer build(const LocalPoint &pos, const LocalError &err, const Surface *surface)
virtual const GeomDetUnit * detUnit() const
virtual AlgebraicVector parameters() const
virtual TRecHit2DPosConstraint * clone() const
virtual float errorGlobalZ() const
virtual LocalPoint localPosition() const
CLHEP::HepVector AlgebraicVector
virtual LocalError localPositionError() const =0
virtual RecHitPointer clone(const TrajectoryStateOnSurface &ts) const
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual const Surface * surface() const
virtual float errorGlobalR() const
virtual GlobalPoint globalPosition() const
virtual LocalPoint localPosition() const =0
virtual float errorGlobalRPhi() const
TRecHit2DPosConstraint(const TRecHit2DPosConstraint &other)
virtual int dimension() const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
Unlimited (trivial) bounds.