Go to the documentation of this file.
32 const std::vector<const GEMRecHit*> gem_rhs,
39 RecSegment(buildDetId(csc_segment->cscDetId())),
41 theLocalDirection(direction),
44 for (
unsigned int i = 0;
i < gem_rhs.size(); ++
i) {
50 <<
"[GEMCSCSegment :: ctor] CSCDetId: " << csc_segment->
cscDetId()
51 <<
" CSC RecHits: " << csc_segment->
specificRecHits().size() <<
" GEM RecHits: " << gem_rhs.size()
53 <<
" CSC Segment Details: \n"
54 << *csc_segment <<
"\n"
55 <<
" GEMCSC Segment Details: \n"
57 <<
"[GEMCSCSegment :: ctor] ------------------------------------------------------------";
63 std::vector<const TrackingRecHit*> pointersOfRecHits;
65 pointersOfRecHits.push_back(&(*irh));
70 pointersOfRecHits.push_back(&(*irh));
72 return pointersOfRecHits;
76 std::vector<TrackingRecHit*> pointersOfRecHits;
78 pointersOfRecHits.push_back(&(*irh));
80 return pointersOfRecHits;
117 <<
" #rechits = " << seg.
nRecHits();
const std::vector< CSCRecHit2D > & specificRecHits() const
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.
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
CLHEP::HepVector AlgebraicVector
LocalVector theLocalDirection
AlgebraicVector parameters() const override
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
const AlgebraicMatrix & getMatrix() const
std::vector< GEMRecHit > theGEMRecHits
LocalError localDirectionError() const override
Error on the local direction.
LocalError localPositionError() const override
AlgebraicMatrix theProjectionMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
~GEMCSCSegment() override
Destructor.
CLHEP::HepMatrix AlgebraicMatrix
LocalPoint localPosition() const override
Log< level::Info, true > LogVerbatim
std::ostream & operator<<(std::ostream &os, const GEMCSCSegment &seg)
static const AlgebraicMatrix theProjectionMatrix
CSCDetId cscDetId() const
LocalVector localDirection() const override
Local direction.
GEMCSCSegment()
Default constructor.
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
AlgebraicSymMatrix theCovMatrix