![]() |
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 Member Functions | |
SpacePoint (const xAOD::UncalibratedMeasurement *primMeas, const xAOD::UncalibratedMeasurement *secondMeas=nullptr) | |
void | setCovariance (AmgSymMatrix(2)&&cov) |
void | setDirection (Amg::Vector3D &&dir) |
void | setNormal (Amg::Vector3D &&normal) |
void | setPosition (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... | |
const Amg::Vector3D & | positionInChamber () const |
const Amg::Vector3D & | directionInChamber () const |
const Amg::Vector3D & | normalInChamber () const |
Amg::Vector3D | planeNormal () const |
Returns the vector pointing out of the measurement plane. 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... | |
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 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 int | nEtaInstanceCounts () const |
How many space points have been built in total with the same eta prd. More... | |
unsigned int | nPhiInstanceCounts () const |
How many space points have been built in total with the same phi prd More... | |
unsigned int | dimension () const |
Is the space point a 1D or combined 2D measurement. 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} |
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()} |
Amg::Vector3D | m_dir {Amg::Vector3D::Zero()} |
Amg::Vector3D | m_normal {Amg::Vector3D::Zero()} |
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... | |
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 19 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
Definition at line 34 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const MuonR4::SpacePoint::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 99 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
const MuonGMR4::Chamber * SpacePoint::chamber | ( | ) | const |
: Pointer to the associated chamber
Definition at line 53 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 100 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Amg::Vector3D & SpacePoint::directionInChamber | ( | ) | const |
Definition at line 62 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
double SpacePoint::driftRadius | ( | ) | const |
: Returns the size of the drift radius
Definition at line 83 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Identifier & SpacePoint::identify | ( | ) | const |
: Identifier of the primary measurement
Definition at line 80 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
bool SpacePoint::measuresEta | ( | ) | const |
: Does the space point contain an eta measurement
Definition at line 77 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
bool SpacePoint::measuresPhi | ( | ) | const |
: Does the space point contain a phi measurement
Definition at line 74 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const MuonGMR4::SpectrometerSector * SpacePoint::msSector | ( | ) | const |
Definition at line 56 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 98 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Amg::Vector3D & SpacePoint::normalInChamber | ( | ) | const |
Definition at line 65 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 99 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
inline |
: Equality check by checking the prd pointers
Definition at line 70 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
Amg::Vector3D SpacePoint::planeNormal | ( | ) | const |
Returns the vector pointing out of the measurement plane.
Definition at line 68 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Amg::Vector3D & SpacePoint::positionInChamber | ( | ) | const |
Definition at line 59 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const xAOD::UncalibratedMeasurement * SpacePoint::primaryMeasurement | ( | ) | const |
Definition at line 47 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const xAOD::UncalibratedMeasurement * SpacePoint::secondaryMeasurement | ( | ) | const |
Definition at line 50 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
inline |
Definition at line 32 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
inline |
Definition at line 34 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
void MuonR4::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.
|
inline |
Definition at line 36 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
inline |
Definition at line 38 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
xAOD::UncalibMeasType SpacePoint::type | ( | ) | const |
Definition at line 71 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
Amg::Vector2D SpacePoint::uncertainty | ( | ) | const |
: Returns the uncertainties on the space point
Definition at line 87 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
private |
Definition at line 87 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 92 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
In how many space points is the eta measurement used.
Definition at line 101 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Flag indicating that the measurement is an eta measurement.
Definition at line 90 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 88 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 93 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
In how many space points is the phi measurement used.
Definition at line 103 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 91 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 84 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 85 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.