![]() |
ATLAS Offline Software
|
Representation of Mdt drift circle (DC) measurements. More...
#include <MdtDriftCircle_v1.h>
Public Types | |
| using | MdtDriftCircleStatus = ::Muon::MdtDriftCircleStatus |
Public Member Functions | |
| MdtDriftCircle_v1 ()=default | |
| Default constructor. | |
| virtual | ~MdtDriftCircle_v1 ()=default |
| Virtual destructor. | |
| xAOD::UncalibMeasType | type () const override final |
| Returns the type of the Mdt drift circle as a simple enumeration. | |
| Amg::Vector3D | localMeasurementPos () const override final |
| : Return the measurement's position vector in the local frame. | |
| unsigned | numDimensions () const override |
| Override the dimensions to be 1. | |
| std::int16_t | tdc () const |
| Returns the TDC (typically range is 0 to 2500). | |
| std::int16_t | adc () const |
| Returns the ADC (typically range is 0 to 250). | |
| std::uint16_t | driftTube () const |
| Returns the tube number of the measurement (1-120). | |
| std::uint8_t | tubeLayer () const |
| Returns the layer number of the measurement (1-4). | |
| IdentifierHash | measurementHash () const override final |
| Returns the hash of the measurement channel (tube (x) layer). | |
| IdentifierHash | layerHash () const override final |
| Returns the layer hash of the tube layer. | |
| std::uint8_t | measuresPhi () const override final |
| Returns whether the drift circle measures phi. | |
| MdtDriftCircleStatus | status () const |
| Returns the status of the measurement. | |
| float | driftRadius () const |
| Returns the drift radius. | |
| float | driftRadiusCov () const |
| Returns the covariance of the drift radius. | |
| float | driftRadiusUncert () const |
| Returns the uncertainty on the drift radius. | |
| void | setTdc (std::int16_t tdc) |
| Setter methods. | |
| void | setAdc (std::int16_t adc) |
| Sets the ADC counts. | |
| void | setTube (std::uint16_t tube_n) |
| Sets the tube number. | |
| void | setLayer (std::uint8_t layer_n) |
| Sets the layer number. | |
| void | setStatus (MdtDriftCircleStatus st) |
| Sets the status of the drift circle. | |
| void | setReadoutElement (const MuonGMR4::MdtReadoutElement *readoutEle) |
| set the pointer to the MdtReadoutElement | |
| virtual const MuonGMR4::MdtReadoutElement * | readoutElement () const override final |
| Retrieve the associated MdtReadoutElement. | |
| const Identifier & | identify () const |
| Returns the Athena identifier of the measurement. | |
Functions to get measurement properties | |
| DetectorIDHashType | identifierHash () const |
| Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash). | |
| DetectorIdentType | identifier () const |
| Returns the full Identifier of the measurement. | |
| template<int N> | |
| ConstVectorMap< N > | localPosition () const |
| Returns the local position of the measurement. | |
| template<int N> | |
| VectorMap< N > | localPosition () |
| Returns the local position as mutable eigen map which can be assigned as well. | |
| template<int N> | |
| ConstMatrixMap< N > | localCovariance () const |
| Returns the local covariance of the measurement. | |
| template<int N> | |
| MatrixMap< N > | localCovariance () |
| Returns the local covariance as mutable eigen map which can be assigned as well. | |
Functions to set measurement properties | |
| void | setIdentifierHash (const DetectorIDHashType idHash) |
| Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash). | |
| void | setIdentifier (const DetectorIdentType measId) |
| Sets the full Identifier of the measurement. | |
Direct method to set measurement properties | |
| template<int N> | |
| void | setMeasurement (const DetectorIDHashType idHash, MeasVector< N > locPos, MeasMatrix< N > locCov) |
| Sets IdentifierHash, local position and local covariance of the measurement. | |
Protected Attributes | |
| CxxUtils::CachedValue< const MuonGMR4::MuonReadoutElement * > | m_readoutEle {} |
| Cache value of the. | |
Private Attributes | |
| CxxUtils::CachedValue< Identifier > | m_identifier {} |
Representation of Mdt drift circle (DC) measurements.
DC measurements consists of the raw tdc/adc values needed for later calibration, the identifier fields tube layer, tube and the driftRadius and its uncertainty stored as 1 dimensional localPosition and covariance, respectively.
Definition at line 21 of file MdtDriftCircle_v1.h.
Definition at line 24 of file MdtDriftCircle_v1.h.
|
default |
Default constructor.
|
virtualdefault |
Virtual destructor.
| std::int16_t xAOD::MdtDriftCircle_v1::adc | ( | ) | const |
Returns the ADC (typically range is 0 to 250).
| float xAOD::MdtDriftCircle_v1::driftRadius | ( | ) | const |
Returns the drift radius.
Definition at line 45 of file MdtDriftCircle_v1.cxx.
| float xAOD::MdtDriftCircle_v1::driftRadiusCov | ( | ) | const |
Returns the covariance of the drift radius.
Definition at line 50 of file MdtDriftCircle_v1.cxx.
| float xAOD::MdtDriftCircle_v1::driftRadiusUncert | ( | ) | const |
Returns the uncertainty on the drift radius.
Definition at line 55 of file MdtDriftCircle_v1.cxx.
| std::uint16_t xAOD::MdtDriftCircle_v1::driftTube | ( | ) | const |
Returns the tube number of the measurement (1-120).
|
inherited |
Returns the full Identifier of the measurement.
|
inherited |
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
|
inherited |
Returns the Athena identifier of the measurement.
Definition at line 15 of file MuonMeasurement_v1.cxx.
|
finaloverridevirtual |
Returns the layer hash of the tube layer.
Implements xAOD::MuonMeasurement_v1.
Definition at line 33 of file MdtDriftCircle_v1.cxx.
Returns the local covariance as mutable eigen map which can be assigned as well.
|
inherited |
Returns the local covariance of the measurement.
|
finaloverridevirtual |
: Return the measurement's position vector in the local frame.
If the measurement is an ordinary 1D drift circle, the Zero vector is returned. Otherwise the local position along z
Implements xAOD::MuonMeasurement_v1.
Definition at line 39 of file MdtDriftCircle_v1.cxx.
Returns the local position as mutable eigen map which can be assigned as well.
|
inherited |
Returns the local position of the measurement.
|
finaloverridevirtual |
Returns the hash of the measurement channel (tube (x) layer).
Implements xAOD::MuonMeasurement_v1.
Definition at line 29 of file MdtDriftCircle_v1.cxx.
|
finaloverridevirtual |
Returns whether the drift circle measures phi.
Implements xAOD::MuonMeasurement_v1.
Definition at line 36 of file MdtDriftCircle_v1.cxx.
|
inlineoverridevirtual |
Override the dimensions to be 1.
Implements xAOD::UncalibratedMeasurement_v1.
Reimplemented in xAOD::MdtTwinDriftCircle_v1.
Definition at line 39 of file MdtDriftCircle_v1.h.
|
finaloverridevirtual |
Retrieve the associated MdtReadoutElement.
If the element has not been set before, it's tried to load it on the fly. Exceptions are thrown if that fails as well
Implements xAOD::MuonMeasurement_v1.
| void xAOD::MdtDriftCircle_v1::setAdc | ( | std::int16_t | adc | ) |
Sets the ADC counts.
|
inherited |
Sets the full Identifier of the measurement.
|
inherited |
Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
| void xAOD::MdtDriftCircle_v1::setLayer | ( | std::uint8_t | layer_n | ) |
Sets the layer number.
|
inherited |
Sets IdentifierHash, local position and local covariance of the measurement.
| void xAOD::MdtDriftCircle_v1::setReadoutElement | ( | const MuonGMR4::MdtReadoutElement * | readoutEle | ) |
set the pointer to the MdtReadoutElement
| void xAOD::MdtDriftCircle_v1::setStatus | ( | MdtDriftCircleStatus | st | ) |
Sets the status of the drift circle.
| void xAOD::MdtDriftCircle_v1::setTdc | ( | std::int16_t | tdc | ) |
Setter methods.
Sets the TDC counts
| void xAOD::MdtDriftCircle_v1::setTube | ( | std::uint16_t | tube_n | ) |
Sets the tube number.
| MdtDriftCircleStatus xAOD::MdtDriftCircle_v1::status | ( | ) | const |
Returns the status of the measurement.
| std::int16_t xAOD::MdtDriftCircle_v1::tdc | ( | ) | const |
Returns the TDC (typically range is 0 to 2500).
| std::uint8_t xAOD::MdtDriftCircle_v1::tubeLayer | ( | ) | const |
Returns the layer number of the measurement (1-4).
|
inlinefinaloverridevirtual |
Returns the type of the Mdt drift circle as a simple enumeration.
Implements xAOD::UncalibratedMeasurement_v1.
Definition at line 31 of file MdtDriftCircle_v1.h.
|
privateinherited |
Definition at line 48 of file MuonMeasurement_v1.h.
|
protectedinherited |