1 #ifndef RECOTRACKER_TRANSIENTRACKINGRECHIT_TRecHit2DPosConstraint_H
2 #define RECOTRACKER_TRANSIENTRACKINGRECHIT_TRecHit2DPosConstraint_H
34 theProjectionMatrix[0][3] = 1;
35 theProjectionMatrix[1][4] = 1;
46 virtual std::vector<const TrackingRecHit*>
recHits()
const {
return std::vector<const TrackingRecHit*>(); }
47 virtual std::vector<TrackingRecHit*>
recHits() {
return std::vector<TrackingRecHit*>(); }
58 return RecHitPointer(
new TRecHit2DPosConstraint( pos, err, surface));
78 pos_(pos),err_(err),surface_(surface) {}
81 pos_( other.localPosition() ),err_( other.localPositionError() ), surface_((other.surface())) {}
83 virtual TRecHit2DPosConstraint *
clone()
const {
84 return new TRecHit2DPosConstraint(*
this);
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual LocalError localPositionError() const
virtual GlobalError globalPositionError() const
virtual const Surface * surface() const
virtual const Surface * surface() const
virtual bool sharesInput(const TrackingRecHit *, SharedInputType) const
virtual AlgebraicSymMatrix parametersError() const
virtual TrackingRecHit * cloneHit() const
GloballyPositioned< float >::GlobalPoint GlobalPoint
virtual bool canImproveWithTrack() const
virtual std::vector< TrackingRecHit * > recHits()
Non-const access to component RecHits (if any)
virtual GlobalPoint globalPosition() const
static const AlgebraicMatrix theProjectionMatrix
ConstReferenceCountingPointer< Surface > surface_
virtual AlgebraicMatrix projectionMatrix() const
virtual ~TRecHit2DPosConstraint()
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.
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
std::shared_ptr< TrackingRecHit const > RecHitPointer
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 float errorGlobalR() const
virtual GlobalPoint globalPosition() const
virtual LocalPoint localPosition() const =0
virtual float errorGlobalRPhi() const
TRecHit2DPosConstraint(const TRecHit2DPosConstraint &other)
virtual GlobalError globalPositionError() const
virtual int dimension() const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
Unlimited (trivial) bounds.