13 return GEMDetId(
id.superChamberId());
23 theProjectionMatrix[0][1] = 1;
24 theProjectionMatrix[1][2] = 1;
25 theProjectionMatrix[2][3] = 1;
26 theProjectionMatrix[3][4] = 1;
29 return (theProjectionMatrix);
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())),
54 for(
unsigned int i=0;
i<proto_segment.size(); ++
i)
60 RecSegment(buildDetId(proto_segment.front()->gemId())),
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";
std::ostream & operator<<(std::ostream &os, const GEMSegment &seg)
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
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