Go to the documentation of this file.
31 const std::vector<const GEMRecHit*> gem_rhs,
38 RecSegment(buildDetId(csc_segment->cscDetId())),
40 theLocalDirection(direction),
43 for (
unsigned int i = 0;
i < gem_rhs.size(); ++
i) {
49 <<
"[GEMCSCSegment :: ctor] CSCDetId: " << csc_segment->
cscDetId()
50 <<
" CSC RecHits: " << csc_segment->
specificRecHits().size() <<
" GEM RecHits: " << gem_rhs.size()
52 <<
" CSC Segment Details: \n"
53 << *csc_segment <<
"\n"
54 <<
" GEMCSC Segment Details: \n"
56 <<
"[GEMCSCSegment :: ctor] ------------------------------------------------------------";
62 std::vector<const TrackingRecHit*> pointersOfRecHits;
64 pointersOfRecHits.push_back(&(*irh));
69 pointersOfRecHits.push_back(&(*irh));
71 return pointersOfRecHits;
75 std::vector<TrackingRecHit*> pointersOfRecHits;
77 pointersOfRecHits.push_back(&(*irh));
79 return pointersOfRecHits;
116 <<
" #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