1 #ifndef RECOTRACKER_TRANSIENTRACKINGRECHIT_TRecHit1DMomConstraint_H 2 #define RECOTRACKER_TRANSIENTRACKINGRECHIT_TRecHit1DMomConstraint_H 30 theProjectionMatrix[0][0] = 1;
46 virtual std::vector<const TrackingRecHit*>
recHits()
const override {
return std::vector<const TrackingRecHit*>(); }
47 virtual std::vector<TrackingRecHit*>
recHits()
override {
return std::vector<TrackingRecHit*>(); }
82 charge_(charge),mom_(mom),err_(err),surface_(surface) {}
85 charge_( other.
charge() ), mom_( other.
mom() ),err_( other.
err() ), surface_((other.
surface())) {}
SharedInputType
definition of equality via shared input
virtual LocalError localPositionError() const override
TRecHit1DMomConstraint(const int charge, const double mom, const double err, const Surface *surface)
Creates the TrackingRecHit internally, avoids redundent cloning.
virtual const TrackingRecHit * hit() const override
Global3DPoint GlobalPoint
TRecHit1DMomConstraint(const TRecHit1DMomConstraint &other)
virtual float errorGlobalR() const override
virtual const Surface * surface() const override
static const AlgebraicMatrix theProjectionMatrix
virtual float errorGlobalRPhi() const override
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
virtual GlobalPoint globalPosition() const override
virtual float errorGlobalZ() const override
CLHEP::HepMatrix AlgebraicMatrix
virtual int dimension() const override
virtual std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
virtual ~TRecHit1DMomConstraint()
virtual TRecHit1DMomConstraint * clone() const override
std::shared_ptr< TrackingRecHit const > RecHitPointer
CLHEP::HepVector AlgebraicVector
virtual std::vector< TrackingRecHit * > recHits() override
Non-const access to component RecHits (if any)
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual AlgebraicMatrix projectionMatrix() const override
virtual RecHitPointer clone(const TrajectoryStateOnSurface &ts) const
virtual TrackingRecHit * cloneHit() const override
static RecHitPointer build(const int charge, const double mom, const double err, const Surface *surface)
virtual const GeomDetUnit * detUnit() const override
virtual AlgebraicVector parameters() const override
virtual bool sharesInput(const TrackingRecHit *, SharedInputType) const override
virtual LocalPoint localPosition() const override
virtual AlgebraicSymMatrix parametersError() const override
virtual GlobalError globalPositionError() const override
virtual bool canImproveWithTrack() const override