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