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),
62 theDeltaPhi(deltaPhi) {
63 for (
const auto* rh : proto_segment)
70 std::vector<const TrackingRecHit*> pointersOfRecHits;
72 pointersOfRecHits.push_back(&rh);
73 return pointersOfRecHits;
77 std::vector<TrackingRecHit*> pointersOfRecHits;
79 pointersOfRecHits.push_back(&rh);
80 return pointersOfRecHits;
109 return (theProjectionMatrix.
getMatrix());
LocalPoint localPosition() const override
LocalVector theLocalDirection
const std::vector< ME0RecHit > & specificRecHits() const
~ME0Segment() override
Destructor.
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
AlgebraicMatrix theProjectionMatrix
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const AlgebraicMatrix theProjectionMatrix
std::vector< ME0RecHit > theME0RecHits
ME0Segment()
Default constructor.
CLHEP::HepMatrix AlgebraicMatrix
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.
CLHEP::HepSymMatrix AlgebraicSymMatrix
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
const AlgebraicMatrix & getMatrix() const
AlgebraicSymMatrix theCovMatrix