1 #ifndef DTRecHit_DTRecSegment4D_h 2 #define DTRecHit_DTRecSegment4D_h 73 double chi2()
const override;
82 std::vector<const TrackingRecHit*>
recHits()
const override;
85 std::vector<TrackingRecHit*>
recHits()
override;
146 #endif // DTRecHit_DTRecSegment4D_h ~DTRecSegment4D() override
Destructor.
int dimension() const override
Dimension (in parameter space)
DTRecSegment4D()
Empty constructor.
DTSLRecSegment2D theZedSeg
LocalPoint localPosition() const override
Local position in Chamber frame.
DTChamberRecSegment2D * phiSegment()
the superPhi segment
std::ostream & operator<<(std::ostream &os, const DTRecSegment4D &seg)
LocalVector localDirection() const override
Local direction in Chamber frame.
const DTChamberRecSegment2D * phiSegment() const
The superPhi segment: 0 if no phi projection available.
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
double chi2() const override
Chi2 of the segment fit.
virtual DTChamberId chamberId() const
The (specific) DetId of the chamber on which the segment resides.
void setCovMatrixForZed(const LocalPoint &posZInCh)
void setCovMatrix(const AlgebraicSymMatrix &mat)
Set covariance matrix.
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicSymMatrix parametersError() const override
Covariance matrix fo parameters()
AlgebraicVector parameters() const override
LocalError localPositionError() const override
Local position error in Chamber frame.
Projection
Which projections are actually there.
DTSLRecSegment2D * zSegment()
the Z segment
void setDirection(LocalVector dir)
Set direction.
bool hasPhi() const
Does it have the Phi projection?
LocalError localDirectionError() const override
Local direction error in the Chamber frame.
AlgebraicSymMatrix theCovMatrix
bool hasZed() const
Does it have the Z projection?
CLHEP::HepVector AlgebraicVector
const DTSLRecSegment2D * zSegment() const
The Z segment: 0 if not zed projection available.
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
CLHEP::HepSymMatrix AlgebraicSymMatrix
DTRecSegment4D * clone() const override
void setPosition(LocalPoint pos)
Set position.
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
DTChamberRecSegment2D thePhiSeg