13 return GEMDetId(
id.superChamberId());
36 RecSegment(buildDetId(proto_segment.front()->gemId())),
38 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2){
42 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
48 RecSegment(buildDetId(proto_segment.front()->gemId())),
50 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2){
54 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
60 RecSegment(buildDetId(proto_segment.front()->gemId())),
62 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2){
66 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
73 std::vector<const TrackingRecHit*> pointersOfRecHits;
75 pointersOfRecHits.push_back(&(*irh));
77 return pointersOfRecHits;
82 std::vector<TrackingRecHit*> pointersOfRecHits;
84 pointersOfRecHits.push_back(&(*irh));
86 return pointersOfRecHits;
117 return (theProjectionMatrix.
getMatrix());
135 " bx = "<< seg.
bunchX() <<
136 " time = "<< seg.
time() <<
" +/- " << seg.
timeErr() <<
" ns";
AlgebraicVector parameters() const
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
LocalError localPositionError() const
virtual ~GEMSegment()
Destructor.
double chi2() const
Chi2 of the segment fit.
virtual int degreesOfFreedom() const
Degrees of freedom of the segment fit.
AlgebraicMatrix theProjectionMatrix
std::ostream & operator<<(std::ostream &out, const ALILine &li)
virtual AlgebraicMatrix projectionMatrix() const
The projection matrix relates the trajectory state parameters to the segment parameters().
static const AlgebraicMatrix theProjectionMatrix
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
LocalVector theLocalDirection
CLHEP::HepMatrix AlgebraicMatrix
LocalError localDirectionError() const
Error on the local direction.
LocalPoint localPosition() const
CLHEP::HepVector AlgebraicVector
GEMSegment()
Default constructor.
LocalVector localDirection() const
Local direction.
CLHEP::HepSymMatrix AlgebraicSymMatrix
const std::vector< GEMRecHit > & specificRecHits() const
const AlgebraicMatrix & getMatrix() const
AlgebraicSymMatrix theCovMatrix
std::vector< GEMRecHit > theGEMRecHits