![]() |
ATLAS Offline Software
|
#include <sTgcMeasurement_v1.h>
Public Types | |
| using | sTgcChannelTypes = sTgcIdHelper::sTgcChannelTypes |
| using | Author = ::Muon::sTgcPrepData::Author |
| Which algorithm produced the Measurement object. | |
Public Member Functions | |
| sTgcMeasurement_v1 ()=default | |
| Default constructor. | |
| virtual | ~sTgcMeasurement_v1 ()=default |
| Virtual destructor. | |
| xAOD::UncalibMeasType | type () const override final |
| Returns the type of the Tgc strip as a simple enumeration. | |
| virtual sTgcChannelTypes | channelType () const =0 |
| Returns the channel type of the measurement (Pad/Wire/Strip). | |
| unsigned | numDimensions () const override final |
| Pad measurements have 2 dimensions. Strips & Wires have only 1. | |
| std::uint8_t | measuresPhi () const override final |
| Returns whether the phi coordinate is measured. | |
| IdentifierHash | measurementHash () const override final |
| Returns the hash of the measurement channel w.r.t ReadoutElement. | |
| IdentifierHash | layerHash () const override final |
| Returns the hash of the associated gasGap layer. | |
| Amg::Vector3D | localMeasurementPos () const override final |
| Returns the local measurement position as 3-vector. | |
| Author | author () const |
| std::uint8_t | gasGap () const |
| In which gasGap is the Measurement. | |
| std::uint16_t | channelNumber () const |
| Channel number of the Measurement. | |
| int | charge () const |
| : Collected charge on the wire | |
| short int | time () const |
| : Calibrated time of the wire measurement | |
| const MuonGMR4::sTgcReadoutElement * | readoutElement () const override final |
| Retrieve the associated sTgcReadoutElement. | |
| void | setReadoutElement (const MuonGMR4::sTgcReadoutElement *readoutEle) |
| set the pointer to the sTgcReadoutElement | |
| void | setAuthor (Author a) |
| Set the author of the producing algorithm. | |
| void | setGasGap (std::uint8_t gap) |
| Set the associated gas gap of the measurement. | |
| void | setChannelNumber (std::uint16_t channel) |
| Set the channel number of the measurement. | |
| void | setTime (short int t) |
| : Set the calibrated time of the wire measurement | |
| void | setCharge (int q) |
| : Set the collected charge on the wire | |
| 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 {} |
Definition at line 20 of file sTgcMeasurement_v1.h.
Which algorithm produced the Measurement object.
Definition at line 48 of file sTgcMeasurement_v1.h.
Definition at line 32 of file sTgcMeasurement_v1.h.
|
default |
Default constructor.
|
virtualdefault |
Virtual destructor.
| Author xAOD::sTgcMeasurement_v1::author | ( | ) | const |
| std::uint16_t xAOD::sTgcMeasurement_v1::channelNumber | ( | ) | const |
Channel number of the Measurement.
|
pure virtual |
Returns the channel type of the measurement (Pad/Wire/Strip).
Implemented in xAOD::sTgcPadHit_v1, xAOD::sTgcStripCluster_v1, and xAOD::sTgcWireHit_v1.
| int xAOD::sTgcMeasurement_v1::charge | ( | ) | const |
: Collected charge on the wire
| std::uint8_t xAOD::sTgcMeasurement_v1::gasGap | ( | ) | const |
In which gasGap is the Measurement.
|
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 hash of the associated gasGap layer.
Implements xAOD::MuonMeasurement_v1.
Definition at line 32 of file sTgcMeasurement_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 |
Returns the local measurement position as 3-vector.
Implements xAOD::MuonMeasurement_v1.
Definition at line 35 of file sTgcMeasurement_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 w.r.t ReadoutElement.
Implements xAOD::MuonMeasurement_v1.
Definition at line 29 of file sTgcMeasurement_v1.cxx.
|
inlinefinaloverridevirtual |
Returns whether the phi coordinate is measured.
Implements xAOD::MuonMeasurement_v1.
Definition at line 40 of file sTgcMeasurement_v1.h.
|
inlinefinaloverridevirtual |
Pad measurements have 2 dimensions. Strips & Wires have only 1.
Implements xAOD::UncalibratedMeasurement_v1.
Definition at line 36 of file sTgcMeasurement_v1.h.
|
finaloverridevirtual |
Retrieve the associated sTgcReadoutElement.
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::sTgcMeasurement_v1::setChannelNumber | ( | std::uint16_t | channel | ) |
Set the channel number of the measurement.
| void xAOD::sTgcMeasurement_v1::setGasGap | ( | std::uint8_t | gap | ) |
Set the associated gas gap of the measurement.
|
inherited |
Sets the full Identifier of the measurement.
|
inherited |
Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
|
inherited |
Sets IdentifierHash, local position and local covariance of the measurement.
| void xAOD::sTgcMeasurement_v1::setReadoutElement | ( | const MuonGMR4::sTgcReadoutElement * | readoutEle | ) |
set the pointer to the sTgcReadoutElement
: Set the calibrated time of the wire measurement
|
inlinefinaloverridevirtual |
Returns the type of the Tgc strip as a simple enumeration.
Implements xAOD::UncalibratedMeasurement_v1.
Definition at line 29 of file sTgcMeasurement_v1.h.
|
privateinherited |
Definition at line 48 of file MuonMeasurement_v1.h.
|
protectedinherited |