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)
LocalError localPositionError() const override
LocalVector localDirection() const override
Local direction.
AlgebraicMatrix theProjectionMatrix
static const AlgebraicMatrix theProjectionMatrix
~GEMSegment() override
Destructor.
LocalVector theLocalDirection
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
double chi2() const override
Chi2 of the segment fit.
LocalPoint localPosition() const override
CLHEP::HepVector AlgebraicVector
GEMSegment()
Default constructor.
LocalError localDirectionError() const override
Error on the local direction.
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicVector parameters() const override
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
const std::vector< GEMRecHit > & specificRecHits() const
const AlgebraicMatrix & getMatrix() const
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
AlgebraicSymMatrix theCovMatrix
std::vector< GEMRecHit > theGEMRecHits