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;
107 return (theProjectionMatrix.
getMatrix());
117 <<
" #rechits = " << seg.
nRecHits();
Log< level::Info, true > LogVerbatim
CSCDetId cscDetId() const
LocalVector localDirection() const override
Local direction.
GEMCSCSegment()
Default constructor.
std::vector< GEMRecHit > theGEMRecHits
AlgebraicMatrix theProjectionMatrix
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
LocalError localDirectionError() const override
Error on the local direction.
static const AlgebraicMatrix theProjectionMatrix
LocalError localPositionError() const override
double chi2() const override
Chi2 of the segment fit.
CLHEP::HepMatrix AlgebraicMatrix
LocalPoint localPosition() const override
AlgebraicSymMatrix theCovMatrix
const std::vector< CSCRecHit2D > & specificRecHits() const
~GEMCSCSegment() override
Destructor.
CLHEP::HepVector AlgebraicVector
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
AlgebraicVector parameters() const override
Parameters of the segment, for the track fit in the order (dx/dz, dy/dz, x, y )
LocalVector theLocalDirection
CLHEP::HepSymMatrix AlgebraicSymMatrix
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
const AlgebraicMatrix & getMatrix() const