1 #ifndef TrackingRecHit_DTRecSegment2D_h
2 #define TrackingRecHit_DTRecSegment2D_h
60 std::vector<DTRecHit1D>& hits1D);
102 std::vector<const TrackingRecHit*>
recHits()
const override;
105 std::vector<TrackingRecHit*>
recHits()
override;
127 void update(std::vector<DTRecHit1D>& updatedRecHits);
151 result[0] = lv.
x() / lv.
z();
156 #endif // TrackingRecHit_DTRecSegment2D_h
void setChi2(const double &chi2)
LocalPoint localPosition() const override
local position in SL frame
int dimension() const override
return 2. The dimension of the matrix
AlgebraicMatrix projectionMatrix() const override
LocalVector localDirection() const override
the local direction in SL frame
double chi2() const override
the chi2 of the fit
AlgebraicVector parameters() const override
the vector of parameters (dx/dz,x)
std::vector< DTRecHit1D > theHits
void setCovMatrix(const AlgebraicSymMatrix &cov)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void update(std::vector< DTRecHit1D > &updatedRecHits)
DTRecSegment2D * clone() const override
CLHEP::HepMatrix AlgebraicMatrix
static const AlgebraicMatrix theProjectionMatrix
LocalError localDirectionError() const override
the local direction error (xx,xy,yy) in SL frame: only xx is not 0.
AlgebraicSymMatrix theCovMatrix
AlgebraicSymMatrix parametersError() const override
LocalError localPositionError() const override
local position error in SL frame
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
std::vector< DTRecHit1D > specificRecHits() const
Access to specific components.
AlgebraicSymMatrix covMatrix() const
the Covariance Matrix
CLHEP::HepVector AlgebraicVector
void setT0(const double &t0)
AlgebraicVector param(const LocalPoint &lp, const LocalVector &lv) const
int degreesOfFreedom() const override
return the DOF of the segment
static int position[264][3]
void setPosition(const LocalPoint &pos)
CLHEP::HepSymMatrix AlgebraicSymMatrix
void setDirection(const LocalVector &dir)
void setVdrift(const double &vdrift)
double t0() const
Get the segment t0 (if recomputed, 0 is returned otherwise)
~DTRecSegment2D() override
Destructor.