37 RecSegment(buildDetId(proto_segment.front()->me0Id())),
39 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2){
42 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
48 RecSegment(buildDetId(proto_segment.front()->me0Id())),
50 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2){
54 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
61 std::vector<const TrackingRecHit*> pointersOfRecHits;
63 pointersOfRecHits.push_back(&(*irh));
65 return pointersOfRecHits;
70 std::vector<TrackingRecHit*> pointersOfRecHits;
72 pointersOfRecHits.push_back(&(*irh));
74 return pointersOfRecHits;
105 return (theProjectionMatrix.
getMatrix());
123 " time = "<< seg.
time() <<
" +/- " << seg.
timeErr() <<
" ns ";
virtual int degreesOfFreedom() const
Degrees of freedom of the segment fit.
LocalPoint localPosition() const
LocalVector theLocalDirection
const std::vector< ME0RecHit > & specificRecHits() const
LocalVector localDirection() const
Local direction.
AlgebraicVector parameters() const
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
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
LocalError localPositionError() const
double chi2() const
Chi2 of the segment fit.
LocalError localDirectionError() const
Error on the local direction.
virtual AlgebraicMatrix projectionMatrix() const
The projection matrix relates the trajectory state parameters to the segment parameters().
CLHEP::HepVector AlgebraicVector
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
virtual ~ME0Segment()
Destructor.
CLHEP::HepSymMatrix AlgebraicSymMatrix
const AlgebraicMatrix & getMatrix() const
AlgebraicSymMatrix theCovMatrix