34 :
RecSegment(buildDetId(proto_segment.front()->gemId())),
36 theLocalDirection(direction),
41 for (
unsigned int i = 0;
i < proto_segment.size(); ++
i)
51 :
RecSegment(buildDetId(proto_segment.front()->gemId())),
53 theLocalDirection(direction),
58 for (
unsigned int i = 0;
i < proto_segment.size(); ++
i)
69 :
RecSegment(buildDetId(proto_segment.front()->gemId())),
71 theLocalDirection(direction),
76 for (
unsigned int i = 0;
i < proto_segment.size(); ++
i)
83 std::vector<const TrackingRecHit*> pointersOfRecHits;
85 pointersOfRecHits.push_back(&(*irh));
87 return pointersOfRecHits;
91 std::vector<TrackingRecHit*> pointersOfRecHits;
93 pointersOfRecHits.push_back(&(*irh));
95 return pointersOfRecHits;
std::ostream & operator<<(std::ostream &os, const GEMSegment &seg)
LocalError localPositionError() const override
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
LocalPoint localPosition() const override
LocalVector localDirection() const override
Local direction.
LocalError localDirectionError() const override
Error on the local direction.
AlgebraicMatrix theProjectionMatrix
static const AlgebraicMatrix theProjectionMatrix
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
~GEMSegment() override
Destructor.
LocalVector theLocalDirection
CLHEP::HepMatrix AlgebraicMatrix
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
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
CLHEP::HepVector AlgebraicVector
GEMSegment()
Default constructor.
const AlgebraicMatrix & getMatrix() const
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicSymMatrix theCovMatrix
std::vector< GEMRecHit > theGEMRecHits
double chi2() const override
Chi2 of the segment fit.