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;
45 virtual std::vector<const TrackingRecHit*>
recHits()
const {
48 virtual std::vector<TrackingRecHit*>
recHits() {
49 return std::vector<TrackingRecHit*>();
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
virtual LocalPoint localPosition() const
static RecHitPointer build(const LocalPoint &pos, const LocalError &err, const Surface *surface)
virtual const GeomDet * det() const
virtual AlgebraicMatrix projectionMatrix() const
ConstReferenceCountingPointer< Surface > surface_
virtual const TrackingRecHit * hit() const
virtual TRecHit2DPosConstraint * clone() const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
CLHEP::HepMatrix AlgebraicMatrix
virtual RecHitPointer clone(const TrajectoryStateOnSurface &ts) const
virtual ~TRecHit2DPosConstraint()
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
virtual const GeomDetUnit * detUnit() const
virtual const Surface * surface() const
virtual std::vector< TrackingRecHit * > recHits()
Non-const access to component RecHits (if any)
virtual bool canImproveWithTrack() const
CLHEP::HepVector AlgebraicVector
virtual int dimension() const
virtual AlgebraicSymMatrix parametersError() const
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual LocalError localPositionError() const
TRecHit2DPosConstraint(const TRecHit2DPosConstraint &other)
virtual AlgebraicVector parameters() const
TRecHit2DPosConstraint(const LocalPoint &pos, const LocalError &err, const Surface *surface)
Creates the TrackingRecHit internally, avoids redundent cloning.