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),
75 theDeltaPhi(deltaPhi) {
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;
124 return (theProjectionMatrix.
getMatrix());
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
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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 )
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
CLHEP::HepVector AlgebraicVector
GEMSegment()
Default constructor.
CLHEP::HepSymMatrix AlgebraicSymMatrix
const std::vector< GEMRecHit > & specificRecHits() const
const AlgebraicMatrix & getMatrix() const
AlgebraicSymMatrix theCovMatrix
std::vector< GEMRecHit > theGEMRecHits
double chi2() const override
Chi2 of the segment fit.