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 ActsGeometryContext &gctx, const xAOD::UncalibratedMeasurement *primMeas, const xAOD::UncalibratedMeasurement *secondMeas=nullptr) | |
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::readoutElement(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 18 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
SpacePoint::SpacePoint | ( | const ActsGeometryContext & | gctx, |
const xAOD::UncalibratedMeasurement * | primMeas, | ||
const xAOD::UncalibratedMeasurement * | secondMeas = nullptr |
||
) |
Position of the measurements expressed in the sector 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 33 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 89 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
const MuonGMR4::Chamber * SpacePoint::chamber | ( | ) | const |
: Pointer to the associated chamber
Definition at line 113 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 160 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Amg::Vector3D & SpacePoint::directionInChamber | ( | ) | const |
Definition at line 122 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
double SpacePoint::driftRadius | ( | ) | const |
: Returns the size of the drift radius
Definition at line 143 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Identifier & SpacePoint::identify | ( | ) | const |
: Identifier of the primary measurement
Definition at line 140 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
bool SpacePoint::measuresEta | ( | ) | const |
: Does the space point contain an eta measurement
Definition at line 137 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
bool SpacePoint::measuresPhi | ( | ) | const |
: Does the space point contain a phi measurement
Definition at line 134 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const MuonGMR4::SpectrometerSector * SpacePoint::msSector | ( | ) | const |
Definition at line 116 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 158 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Amg::Vector3D & SpacePoint::normalInChamber | ( | ) | const |
Definition at line 125 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 159 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
inline |
: Equality check by checking the prd pointers
Definition at line 60 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 128 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const Amg::Vector3D & SpacePoint::positionInChamber | ( | ) | const |
Definition at line 119 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const xAOD::UncalibratedMeasurement * SpacePoint::primaryMeasurement | ( | ) | const |
Definition at line 107 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
const xAOD::UncalibratedMeasurement * SpacePoint::secondaryMeasurement | ( | ) | const |
Definition at line 110 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
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.
xAOD::UncalibMeasType SpacePoint::type | ( | ) | const |
Definition at line 131 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
Amg::Vector2D SpacePoint::uncertainty | ( | ) | const |
: Returns the uncertainties on the space point
Definition at line 147 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
|
private |
Definition at line 77 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 82 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
In how many space points is the eta measurement used.
Definition at line 91 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Flag indicating that the measurement is an eta measurement.
Definition at line 80 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 78 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 83 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
In how many space points is the phi measurement used.
Definition at line 93 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 81 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 74 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.
|
private |
Definition at line 75 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h.