26 theProjectionMatrix[0][1] = 1;
27 theProjectionMatrix[1][2] = 1;
28 theProjectionMatrix[2][3] = 1;
29 theProjectionMatrix[3][4] = 1;
32 return (theProjectionMatrix);
41 RecSegment(buildDetId(csc_segment->cscDetId())),
43 theLocalDirection(direction), theCovMatrix(errors), theChi2(chi2) {
45 for(
unsigned int i=0;
i<gem_rhs.size(); ++
i) {
51 <<
" GEM RecHits: " << gem_rhs.size()<<
"\n" 52 <<
" CSC Segment Details: \n"<<*csc_segment<<
"\n" 53 <<
" GEMCSC Segment Details: \n"<<*
this<<
"\n" 54 <<
"[GEMCSCSegment :: ctor] ------------------------------------------------------------";
63 std::vector<const TrackingRecHit*> pointersOfRecHits;
65 pointersOfRecHits.push_back(&(*irh));
68 pointersOfRecHits.push_back(&(*irh));
70 return pointersOfRecHits;
75 std::vector<TrackingRecHit*> pointersOfRecHits;
77 pointersOfRecHits.push_back(&(*irh));
79 return pointersOfRecHits;
109 return (theProjectionMatrix.
getMatrix());
116 os <<
"GEMCSCSegment: local pos = " << seg.
localPosition() <<
CSCDetId cscDetId() const
LocalError localPositionError() const
GEMCSCSegment()
Default constructor.
LocalError localDirectionError() const
Error on the local direction.
std::vector< GEMRecHit > theGEMRecHits
AlgebraicMatrix theProjectionMatrix
static const AlgebraicMatrix theProjectionMatrix
virtual ~GEMCSCSegment()
Destructor.
LocalPoint localPosition() const
AlgebraicVector parameters() const
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
CLHEP::HepMatrix AlgebraicMatrix
LocalVector localDirection() const
Local direction.
AlgebraicSymMatrix theCovMatrix
const std::vector< CSCRecHit2D > & specificRecHits() const
CLHEP::HepVector AlgebraicVector
virtual AlgebraicMatrix projectionMatrix() const
The projection matrix relates the trajectory state parameters to the segment parameters().
std::ostream & operator<<(std::ostream &os, const GEMCSCSegment &seg)
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
LocalVector theLocalDirection
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual int degreesOfFreedom() const
Degrees of freedom of the segment fit.
const AlgebraicMatrix & getMatrix() const
double chi2() const
Chi2 of the segment fit.