|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONSPACEPOINT_CALIBSPACEPOINT_H
5 #define MUONSPACEPOINT_CALIBSPACEPOINT_H
54 static_assert(
k==2 ||
k==3,
"Covariance dimension needs to be 2 or 3");
void setCovariance(const AmgSymMatrix(k)&cov)
Set the covariance matrix of the calibrated space pooint.
Amg::Vector3D m_dirInChamber
Amg::Vector3D m_posInChamber
bool m_measuresTime
By default the Mdt may measure time.
bool measuresPhi() const
Returns whether the calibrated space point measures phi.
void setDriftRadius(const double r)
Set the drift radius of the calibrated space point after the calibration procedure.
CalibratedSpacePoint(const SpacePoint *uncalibSpacePoint, Amg::Vector3D &&posInChamber, Amg::Vector3D &&dirInChamber, State st=State::Valid)
Standard constructor.
State
State flag to distinguish different space point states.
xAOD::UncalibMeasType type() const
Returns the space point type.
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
void setTimeMeasurement(double t)
Set the time measurement.
State fitState() const
Returns the state of the calibrated space point.
const Amg::Vector3D & positionInChamber() const
The position of the calibrated space point inside the chamber.
Eigen::Matrix< double, 3, 1 > Vector3D
This header ties the generic definitions in this package.
~CalibratedSpacePoint()=default
unsigned dimension() const
Returns the local dimension of the measurement.
The calibrated Space point is created during the calibration process.
UncalibMeasType
Define the type of the uncalibrated measurement.
bool measuresTime() const
Returns whether the calibrated space point measures time.
void setFitState(State st)
Set the state of the calibrated space point.
const Covariance_t & covariance() const
const SpacePoint * spacePoint() const
The pointer to the space point out of which this space point has been built.
const AmgSymMatrix(2) &SpacePoint
const Amg::Vector3D & directionInChamber() const
The direction of the calibrated space point inside the chamber.
double driftRadius() const
The drift radius of the calibrated space point.
double time() const
Current time of the calibrated space point.
const SpacePoint * m_parent
std::variant< AmgSymMatrix(2), AmgSymMatrix(3)> Covariance_t
The spatial covariance matrix of the calibrated space point.
bool measuresEta() const
Returns whether the calibrated space point measures eta.