36 RecSegment(buildDetId(proto_segment.front()->me0Id())),
38 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2){
41 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
47 RecSegment(buildDetId(proto_segment.front()->me0Id())),
49 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2){
53 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
60 std::vector<const TrackingRecHit*> pointersOfRecHits;
62 pointersOfRecHits.push_back(&(*irh));
64 return pointersOfRecHits;
69 std::vector<TrackingRecHit*> pointersOfRecHits;
71 pointersOfRecHits.push_back(&(*irh));
73 return pointersOfRecHits;
104 return (theProjectionMatrix.
getMatrix());
122 " 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