Go to the documentation of this file.
42 m[0][0] = theCovMatrix[0][0];
43 m[0][1] = theCovMatrix[0][1];
44 m[1][1] = theCovMatrix[1][1];
63 std::vector<DTRecHit1D>& hits1D)
66 theDirection(direction),
67 theCovMatrix(covMatrix),
87 std::vector<const TrackingRecHit*> pointersOfRecHits;
89 for (std::vector<DTRecHit1D>::const_iterator rechit =
theHits.begin(); rechit !=
theHits.end(); rechit++)
90 pointersOfRecHits.push_back(&(*rechit));
92 return pointersOfRecHits;
96 std::vector<TrackingRecHit*> pointersOfRecHits;
98 for (std::vector<DTRecHit1D>::iterator rechit =
theHits.begin(); rechit !=
theHits.end(); rechit++)
99 pointersOfRecHits.push_back(&(*rechit));
101 return pointersOfRecHits;
ostream & operator<<(ostream &os, const DTRecSegment2D &seg)
double t0() const
Get the segment t0 (if recomputed, 0 is returned otherwise)
void update(std::vector< DTRecHit1D > &updatedRecHits)
~DTRecSegment2D() override
Destructor.
static const AlgebraicMatrix theProjectionMatrix
LocalError localDirectionError() const override
the local direction error (xx,xy,yy) in SL frame: only xx is not 0.
std::vector< DTRecHit1D > theHits
void setDirection(const LocalVector &dir)
LocalError localPositionError() const override
local position error in SL frame
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
void setPosition(const LocalPoint &pos)
static AlgebraicMatrix initTheProjectionMatrix()
int dimension() const override
return 2. The dimension of the matrix
double chi2() const override
the chi2 of the fit
static int position[264][3]
LocalPoint localPosition() const override
local position in SL frame
CLHEP::HepSymMatrix AlgebraicSymMatrix
CLHEP::HepMatrix AlgebraicMatrix
void setT0(const double &t0)
AlgebraicSymMatrix parametersError() const override
void setVdrift(const double &vdrift)
std::vector< DTRecHit1D > specificRecHits() const
Access to specific components.
static const AlgebraicMatrix theProjectionMatrix
void setCovMatrix(const AlgebraicSymMatrix &cov)
int degreesOfFreedom() const override
return the DOF of the segment
LocalVector localDirection() const override
the local direction in SL frame
AlgebraicSymMatrix theCovMatrix
void setChi2(const double &chi2)