21 theProjectionMatrix[0][1] = 1;
22 theProjectionMatrix[1][2] = 1;
23 theProjectionMatrix[2][3] = 1;
24 theProjectionMatrix[3][4] = 1;
34 :
RecSegment(buildDetId(proto_segment.front()->gemId())),
36 theLocalDirection(direction),
42 for (
unsigned int i = 0;
i < proto_segment.size(); ++
i)
52 :
RecSegment(buildDetId(proto_segment.front()->gemId())),
60 for (
unsigned int i = 0;
i < proto_segment.size(); ++
i)
71 :
RecSegment(buildDetId(proto_segment.front()->gemId())),
79 for (
unsigned int i = 0;
i < proto_segment.size(); ++
i)
86 std::vector<const TrackingRecHit*> pointersOfRecHits;
88 pointersOfRecHits.push_back(&(*irh));
90 return pointersOfRecHits;
94 std::vector<TrackingRecHit*> pointersOfRecHits;
96 pointersOfRecHits.push_back(&(*irh));
98 return pointersOfRecHits;
127 return (theProjectionMatrix.
getMatrix());
140 <<
" +/- " << seg.
timeErr() <<
" ns";
std::ostream & operator<<(std::ostream &os, const GEMSegment &seg)
LocalError localPositionError() const override
LocalVector localDirection() const override
Local direction.
AlgebraicMatrix theProjectionMatrix
static const AlgebraicMatrix theProjectionMatrix
~GEMSegment() override
Destructor.
LocalVector theLocalDirection
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
double chi2() const override
Chi2 of the segment fit.
LocalPoint localPosition() const override
CLHEP::HepVector AlgebraicVector
GEMSegment()
Default constructor.
LocalError localDirectionError() const override
Error on the local direction.
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicVector parameters() const override
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
const std::vector< GEMRecHit > & specificRecHits() const
const AlgebraicMatrix & getMatrix() const
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
AlgebraicSymMatrix theCovMatrix
std::vector< GEMRecHit > theGEMRecHits