![]() |
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 <SpacePoint.h>
Public Types | |
| enum | CovIdx : std::uint8_t { CovIdx::phiCov = Acts::toUnderlying(SeedingAux::ResidualIdx::nonBending), CovIdx::etaCov = Acts::toUnderlying(SeedingAux::ResidualIdx::bending), CovIdx::timeCov = Acts::toUnderlying(SeedingAux::ResidualIdx::time) } |
| using | Cov_t = std::array< double, 3 > |
| Abrivation of the covariance type. More... | |
| using | SeedingAux = Acts::Experimental::detail::CompSpacePointAuxiliaries |
| Enum to define the components of the covariance array. More... | |
Public Member Functions | |
| SpacePoint (const xAOD::UncalibratedMeasurement *primMeas, const xAOD::UncalibratedMeasurement *secondMeas=nullptr) | |
| const Amg::Vector3D & | localPosition () const |
| const Amg::Vector3D & | sensorDirection () const |
| const Amg::Vector3D & | toNextSensor () const |
| const Amg::Vector3D & | planeNormal () const |
| Returns the vector pointing out of the measurement plane. More... | |
| double | time () const |
| Returns the measurement's recorded time. More... | |
| bool | isStraw () const |
| Returns whether the measurement is a Mdt. More... | |
| bool | hasTime () const |
| Returns whether the measurement carries time information. More... | |
| bool | measuresLoc0 () const |
| Returns whether the measurement constains the non-bending direction. More... | |
| bool | measuresLoc1 () const |
| Returns whether the measurement constains the bending direction. More... | |
| double | driftRadius () const |
| : Returns the size of the drift radius More... | |
| const Cov_t & | covariance () const |
| Returns the covariance array. More... | |
| void | setCovariance (Cov_t &&cov) |
| void | setDirection (const Amg::Vector3D &sensorDir, const Amg::Vector3D &toNextSensor) |
| Setter for the direction of the measurement channel in the sector frame. More... | |
| void | setPosition (const Amg::Vector3D &pos) |
| const xAOD::UncalibratedMeasurement * | primaryMeasurement () const |
| const xAOD::UncalibratedMeasurement * | secondaryMeasurement () const |
| const MuonGMR4::SpectrometerSector * | msSector () const |
| const MuonGMR4::Chamber * | chamber () const |
| : Pointer to the associated chamber More... | |
| xAOD::UncalibMeasType | type () 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... | |
| bool | operator== (const SpacePoint &other) const |
| : Equality check by checking the prd pointers More... | |
| void | setInstanceCounts (std::shared_ptr< unsigned > etaCounts, std::shared_ptr< unsigned > phiCounts) |
| Set the number of space points built with the same eta / phi prd. More... | |
| unsigned | nEtaInstanceCounts () const |
| How many space points have been built in total with the same eta prd. More... | |
| unsigned | nPhiInstanceCounts () const |
| How many space points have been built in total with the same phi prd More... | |
| unsigned | dimension () const |
| Is the space point a 1D or combined 2D measurement. More... | |
Private Member Functions | |
| void | print (std::ostream &ostr) const |
Private Attributes | |
| const xAOD::UncalibratedMeasurement * | m_primaryMeas {nullptr} |
| const xAOD::UncalibratedMeasurement * | m_secondaryMeas {nullptr} |
| const MuonGMR4::Chamber * | m_chamber {xAOD::muonReadoutElement(m_primaryMeas)->chamber()} |
| const MuonGMR4::SpectrometerSector * | m_msSector {m_chamber->parent()} |
| bool | m_measEta {!m_msSector->idHelperSvc()->measuresPhi(identify())} |
| Flag indicating that the measurement is an eta measurement. More... | |
| Amg::Vector3D | m_pos {Amg::Vector3D::Zero()} |
| Local position inside the msSector. More... | |
| Amg::Vector3D | m_dir {Amg::Vector3D::Zero()} |
| Local sensor direction. More... | |
| Amg::Vector3D | m_toNext {Amg::Vector3D::Zero()} |
| Direction to the next sensor. More... | |
| Amg::Vector3D | m_normal {Amg::Vector3D::Zero()} |
| Direction vector pointing outside the sensor plane. More... | |
| Cov_t | m_measCovariance {Acts::filledArray<double, 3>(0.)} |
| Measurement covariance. More... | |
| std::shared_ptr< const unsigned > | m_etaInstances {std::make_shared<unsigned>(1)} |
| In how many space points is the eta measurement used. More... | |
| std::shared_ptr< const unsigned > | m_phiInstances {std::make_shared<unsigned>(1)} |
| In how many space points is the phi measurement used. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &ostr, const SpacePoint &sp) |
| The print-out operator. 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 24 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
| using MuonR4::SpacePoint::Cov_t = std::array<double, 3> |
Abrivation of the covariance type.
Definition at line 27 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
| using MuonR4::SpacePoint::SeedingAux = Acts::Experimental::detail::CompSpacePointAuxiliaries |
Enum to define the components of the covariance array.
Definition at line 29 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
strong |
| Enumerator | |
|---|---|
| phiCov | |
| etaCov | |
| timeCov | |
Definition at line 30 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
| SpacePoint::SpacePoint | ( | const xAOD::UncalibratedMeasurement * | primMeas, |
| const xAOD::UncalibratedMeasurement * | secondMeas = nullptr |
||
| ) |
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
Temporary hack to activate the measures phi flag for micromegas
Definition at line 32 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const MuonGMR4::Chamber * SpacePoint::chamber | ( | ) | const |
: Pointer to the associated chamber
Definition at line 81 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
Returns the covariance array.
Definition at line 61 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| unsigned int SpacePoint::dimension | ( | ) | const |
Is the space point a 1D or combined 2D measurement.
Definition at line 107 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| double SpacePoint::driftRadius | ( | ) | const |
: Returns the size of the drift radius
Definition at line 54 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| bool SpacePoint::hasTime | ( | ) | const |
Returns whether the measurement carries time information.
Definition at line 63 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const Identifier & SpacePoint::identify | ( | ) | const |
: Identifier of the primary measurement
Definition at line 97 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| bool SpacePoint::isStraw | ( | ) | const |
Returns whether the measurement is a Mdt.
Definition at line 62 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const Amg::Vector3D & SpacePoint::localPosition | ( | ) | const |
Definition at line 50 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| bool SpacePoint::measuresEta | ( | ) | const |
: Does the space point contain an eta measurement
Definition at line 94 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| bool SpacePoint::measuresLoc0 | ( | ) | const |
Returns whether the measurement constains the non-bending direction.
Definition at line 64 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| bool SpacePoint::measuresLoc1 | ( | ) | const |
Returns whether the measurement constains the bending direction.
Definition at line 65 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| bool SpacePoint::measuresPhi | ( | ) | const |
: Does the space point contain a phi measurement
Definition at line 91 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const MuonGMR4::SpectrometerSector * SpacePoint::msSector | ( | ) | const |
Definition at line 84 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| unsigned int SpacePoint::nEtaInstanceCounts | ( | ) | const |
How many space points have been built in total with the same eta prd.
Definition at line 105 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| unsigned int SpacePoint::nPhiInstanceCounts | ( | ) | const |
How many space points have been built in total with the same phi prd
Definition at line 106 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
inline |
: Equality check by checking the prd pointers
Definition at line 93 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
| const Amg::Vector3D & SpacePoint::planeNormal | ( | ) | const |
Returns the vector pointing out of the measurement plane.
Definition at line 53 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const xAOD::UncalibratedMeasurement * SpacePoint::primaryMeasurement | ( | ) | const |
Definition at line 75 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
private |
Definition at line 110 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const xAOD::UncalibratedMeasurement * SpacePoint::secondaryMeasurement | ( | ) | const |
Definition at line 78 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const Amg::Vector3D & SpacePoint::sensorDirection | ( | ) | const |
Definition at line 51 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| void SpacePoint::setCovariance | ( | Cov_t && | cov | ) |
Definition at line 66 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| void SpacePoint::setDirection | ( | const Amg::Vector3D & | sensorDir, |
| const Amg::Vector3D & | toNextSensor | ||
| ) |
Setter for the direction of the measurement channel in the sector frame.
| sensorDir | Direction of the sensor |
| toNextSensor | Vector pointing to the next sensor inside the plane |
Definition at line 67 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| void SpacePoint::setInstanceCounts | ( | std::shared_ptr< unsigned > | etaCounts, |
| std::shared_ptr< unsigned > | phiCounts | ||
| ) |
Set the number of space points built with the same eta / phi prd.
Definition at line 100 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| void SpacePoint::setPosition | ( | const Amg::Vector3D & | pos | ) |
Definition at line 73 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| double SpacePoint::time | ( | ) | const |
Returns the measurement's recorded time.
Definition at line 58 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| const Amg::Vector3D & SpacePoint::toNextSensor | ( | ) | const |
Definition at line 52 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
| xAOD::UncalibMeasType SpacePoint::type | ( | ) | const |
Definition at line 88 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
friend |
The print-out operator.
Definition at line 107 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 116 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Local sensor direction.
Definition at line 123 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
In how many space points is the eta measurement used.
Definition at line 134 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Measurement covariance.
The first index represents the uncertainty in the phi-direction, the second the uncerainty in the precision direction and the last component is the time covariance. By convention a pure 1D measurement has the strip half-length filled in the complementary component
Definition at line 132 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Flag indicating that the measurement is an eta measurement.
Definition at line 119 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 117 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Direction vector pointing outside the sensor plane.
Definition at line 127 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
In how many space points is the phi measurement used.
Definition at line 136 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Local position inside the msSector.
Definition at line 121 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 113 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 114 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Direction to the next sensor.
Definition at line 125 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
1.8.18