35 :
RecSegment(buildDetId(proto_segment.front()->me0Id())),
37 theLocalDirection(direction),
43 for (
const auto* rh : proto_segment)
55 :
RecSegment(buildDetId(proto_segment.front()->me0Id())),
57 theLocalDirection(direction),
61 theTimeUncrt(timeErr),
63 for (
const auto* rh : proto_segment)
70 std::vector<const TrackingRecHit*> pointersOfRecHits;
73 pointersOfRecHits.push_back(&rh);
74 return pointersOfRecHits;
78 std::vector<TrackingRecHit*> pointersOfRecHits;
81 pointersOfRecHits.push_back(&rh);
82 return pointersOfRecHits;
LocalPoint localPosition() const override
LocalVector theLocalDirection
~ME0Segment() override
Destructor.
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
AlgebraicMatrix theProjectionMatrix
const std::vector< ME0RecHit > & specificRecHits() const
static const AlgebraicMatrix theProjectionMatrix
std::vector< ME0RecHit > theME0RecHits
ME0Segment()
Default constructor.
CLHEP::HepMatrix AlgebraicMatrix
std::ostream & operator<<(std::ostream &os, const ME0Segment &seg)
double chi2() const override
Chi2 of the segment fit.
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
AlgebraicVector parameters() const override
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
CLHEP::HepVector AlgebraicVector
LocalError localDirectionError() const override
Error on the local direction.
LocalError localPositionError() const override
LocalVector localDirection() const override
Local direction.
const AlgebraicMatrix & getMatrix() const
CLHEP::HepSymMatrix AlgebraicSymMatrix
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
AlgebraicSymMatrix theCovMatrix