![]() |
ATLAS Offline Software
|
The muon space point is the combination of two uncalibrated measurements one of them measures the eta and the other the phi coordinate. More...
#include <MuonSpacePoint.h>
Public Member Functions | |
MuonSpacePoint (const ActsGeometryContext &gctx, const xAOD::UncalibratedMeasurement *primMeas, const xAOD::UncalibratedMeasurement *secondMeas=nullptr) | |
const xAOD::UncalibratedMeasurement * | primaryMeasurement () const |
const xAOD::UncalibratedMeasurement * | secondaryMeasurement () const |
const MuonGMR4::MuonChamber * | muonChamber () const |
const Amg::Vector3D & | positionInChamber () const |
bool | measuresPhi () const |
: Does the space point contain a phi measurement More... | |
bool | measuresEta () const |
: Does the space point contain an eta measurement More... | |
const Identifier & | identify () const |
: Identifier of the primary measurement More... | |
double | driftRadius () const |
: Returns the size of the drift radius More... | |
Amg::Vector2D | uncertainty () const |
: Returns the uncertainties on the space point More... | |
const | AmgSymMatrix (2) &covariance() const |
bool | operator== (const MuonSpacePoint &other) const |
: Equality check by checking the prd pointers More... | |
Private Member Functions | |
AmgSymMatrix (2) m_measCovariance | |
: Measurement covariance If the spacePoint represents an 1D measurement the second coordinate is the length of the channel (e.g halfLength of the wire or of the associated strip) the uncertainty of the other coordinate, otherwise More... | |
Private Attributes | |
const xAOD::UncalibratedMeasurement * | m_primaryMeas {nullptr} |
const xAOD::UncalibratedMeasurement * | m_secondaryMeas {nullptr} |
Identifier | m_id {Identifier::value_type{m_primaryMeas->identifier()}} |
const MuonGMR4::MuonChamber * | m_chamber {xAOD::readoutElement(m_primaryMeas)->getChamber()} |
Amg::Vector3D | m_pos {Amg::Vector3D::Zero()} |
double | m_driftR {0.} |
Drift radius of the associated drift circle - if there's any in the space point. More... | |
The muon space point is the combination of two uncalibrated measurements one of them measures the eta and the other the phi coordinate.
In cases, without a complementary measurment the spacepoint just represents the single measurement and hence has a uncertainty into the other direction corresponding to the half-length of the measurement channel
Definition at line 18 of file MuonSpacePoint.h.
MuonR4::MuonSpacePoint::MuonSpacePoint | ( | const ActsGeometryContext & | gctx, |
const xAOD::UncalibratedMeasurement * | primMeas, | ||
const xAOD::UncalibratedMeasurement * | secondMeas = nullptr |
||
) |
Position of the measurements expressed in the chamber frame
Direction along which the measurement strips point to
Intersect the two channels to define the space point
Do nothing for the pads
In case of 2D measurements like sTgc-pads or BI-RPC strips we can directly take the covariance from the measurement itself. To indicate that the space point measures both, eta & phi coordinate set the secondary measurement to be the primary one
Definition at line 16 of file MuonSpacePoint.cxx.
const MuonR4::MuonSpacePoint::AmgSymMatrix | ( | 2 | ) | const & |
|
inlineprivate |
: Measurement covariance If the spacePoint represents an 1D measurement the second coordinate is the length of the channel (e.g halfLength of the wire or of the associated strip) the uncertainty of the other coordinate, otherwise
Definition at line 67 of file MuonSpacePoint.h.
double MuonR4::MuonSpacePoint::driftRadius | ( | ) | const |
: Returns the size of the drift radius
Definition at line 111 of file MuonSpacePoint.cxx.
const Identifier & MuonR4::MuonSpacePoint::identify | ( | ) | const |
: Identifier of the primary measurement
Definition at line 108 of file MuonSpacePoint.cxx.
bool MuonR4::MuonSpacePoint::measuresEta | ( | ) | const |
: Does the space point contain an eta measurement
Definition at line 105 of file MuonSpacePoint.cxx.
bool MuonR4::MuonSpacePoint::measuresPhi | ( | ) | const |
const MuonGMR4::MuonChamber * MuonR4::MuonSpacePoint::muonChamber | ( | ) | const |
Definition at line 96 of file MuonSpacePoint.cxx.
|
inline |
const Amg::Vector3D & MuonR4::MuonSpacePoint::positionInChamber | ( | ) | const |
Definition at line 99 of file MuonSpacePoint.cxx.
const xAOD::UncalibratedMeasurement * MuonR4::MuonSpacePoint::primaryMeasurement | ( | ) | const |
Definition at line 90 of file MuonSpacePoint.cxx.
const xAOD::UncalibratedMeasurement * MuonR4::MuonSpacePoint::secondaryMeasurement | ( | ) | const |
Definition at line 93 of file MuonSpacePoint.cxx.
Amg::Vector2D MuonR4::MuonSpacePoint::uncertainty | ( | ) | const |
|
private |
Definition at line 59 of file MuonSpacePoint.h.
|
private |
Drift radius of the associated drift circle - if there's any in the space point.
Definition at line 69 of file MuonSpacePoint.h.
|
private |
Definition at line 58 of file MuonSpacePoint.h.
|
private |
Definition at line 61 of file MuonSpacePoint.h.
|
private |
Definition at line 55 of file MuonSpacePoint.h.
|
private |
Definition at line 56 of file MuonSpacePoint.h.