Go to the documentation of this file.
19 :
RecSegment(phiSeg.chamberId()), theProjection(
full), thePhiSeg(phiSeg), theZedSeg(zedSeg), theDimension(4) {
23 <<
"the z Segment and the phi segment have different chamber id" << std::endl;
63 :
RecSegment(zedSeg.superLayerId().chamberId()),
234 std::vector<const TrackingRecHit*> pointersOfRecHits;
239 pointersOfRecHits.push_back(
zSegment());
241 return pointersOfRecHits;
246 std::vector<TrackingRecHit*> pointersOfRecHits;
251 pointersOfRecHits.push_back(
zSegment());
253 return pointersOfRecHits;
static AlgebraicMatrix initThe2DZProjMatrix()
DTRecSegment4D()
Empty constructor.
int dimension() const override
Dimension (in parameter space)
LocalVector localDirection() const override
Local direction in Chamber frame.
LocalError localDirectionError() const override
Local direction error in the Chamber frame.
Geom::Theta< T > theta() const
static const AlgebraicMatrix the2DZProjMatrix
virtual DTChamberId chamberId() const
The (specific) DetId of the chamber on which the segment resides.
void setCovMatrixForZed(const LocalPoint &posZInCh)
DTChamberRecSegment2D thePhiSeg
Point3DBase< Scalar, LocalTag > LocalPoint
LocalPoint localPosition() const override
Local position in Chamber frame.
const DTSLRecSegment2D * zSegment() const
The Z segment: 0 if not zed projection available.
DetId geographicalId() const
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
std::ostream & operator<<(std::ostream &os, const DTRecSegment4D &seg)
Vector3DBase unit() const
Cos< T >::type cos(const T &t)
CLHEP::HepVector AlgebraicVector
static const AlgebraicMatrix the2DPhiProjMatrix
int degreesOfFreedom() const override
Degrees of freedom of the segment fit.
static AlgebraicMatrix initThe2DPhiProjMatrix()
AlgebraicSymMatrix parametersError() const override
Covariance matrix fo parameters()
double chi2() const override
the chi2 of the fit
AlgebraicMatrix projectionMatrix() const override
The projection matrix relates the trajectory state parameters to the segment parameters().
Local3DVector LocalVector
static AlgebraicMatrix initThe4DProjectionMatrix()
LocalPoint localPosition() const override
local position in SL frame
AlgebraicVector parameters() const override
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicSymMatrix covMatrix() const
the Covariance Matrix
constexpr uint32_t rawId() const
get the raw id
CLHEP::HepMatrix AlgebraicMatrix
bool hasZed() const
Does it have the Z projection?
DTSLRecSegment2D theZedSeg
AlgebraicSymMatrix parametersError() const override
LocalError localPositionError() const override
Local position error in Chamber frame.
double chi2() const override
Chi2 of the segment fit.
bool hasPhi() const
Does it have the Phi projection?
~DTRecSegment4D() override
Destructor.
int degreesOfFreedom() const override
return the DOF of the segment
LocalVector localDirection() const override
the local direction in SL frame
AlgebraicSymMatrix theCovMatrix
const DTChamberRecSegment2D * phiSegment() const
The superPhi segment: 0 if no phi projection available.
static const AlgebraicMatrix the4DProjectionMatrix