1 #ifndef TrackingRecHit_DTRecSegment2D_h 2 #define TrackingRecHit_DTRecSegment2D_h 60 std::vector<DTRecHit1D> &hits1D);
107 virtual std::vector<const TrackingRecHit*>
recHits()
const ;
110 virtual std::vector<TrackingRecHit*>
recHits() ;
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
virtual LocalError localPositionError() const
local position error in SL frame
void setChi2(const double &chi2)
virtual ~DTRecSegment2D()
Destructor.
virtual AlgebraicVector parameters() const
the vector of parameters (dx/dz,x)
virtual int degreesOfFreedom() const
return the DOF of the segment
virtual double chi2() const
the chi2 of the fit
virtual LocalError localDirectionError() const
the local direction error (xx,xy,yy) in SL frame: only xx is not 0.
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
static const AlgebraicMatrix theProjectionMatrix
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
AlgebraicSymMatrix theCovMatrix
std::vector< DTRecHit1D > specificRecHits() const
Access to specific components.
AlgebraicSymMatrix covMatrix() const
the Covariance Matrix
virtual LocalPoint localPosition() const
local position in SL frame
CLHEP::HepVector AlgebraicVector
virtual AlgebraicSymMatrix parametersError() const
virtual DTRecSegment2D * clone() const
void setT0(const double &t0)
AlgebraicVector param(const LocalPoint &lp, const LocalVector &lv) const
virtual int dimension() const
return 2. The dimension of the matrix
static int position[264][3]
void setPosition(const LocalPoint &pos)
virtual LocalVector localDirection() const
the local direction in SL frame
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)
virtual AlgebraicMatrix projectionMatrix() const