![]() |
ATLAS Offline Software
|
Class to describe a Segment reconstructed in the MuonSpectrometer. More...
#include <MuonSegment_v1.h>
Public Member Functions | |
| MuonSegment_v1 ()=default | |
| Default constructor. | |
| virtual | ~MuonSegment_v1 ()=default |
| Default destructor. | |
| Amg::Vector3D | position () const |
| Returns the position as Amg::Vector. | |
| Amg::Vector3D | direction () const |
| Returns the direction as Amg::Vector. | |
| std::uint8_t | nPrecisionHits () const |
| Returns the number of precision hits. | |
| std::uint8_t | nPhiLayers () const |
| Returns the number of trigger phi hits. | |
| std::uint8_t | nTrigEtaLayers () const |
| Returns the number of trigger eta hits. | |
| void | setNHits (const std::uint8_t nPrecisionHits, const std::uint8_t nPhiLayers, const std::uint8_t nTrigEtaLayers) |
| Assign the segment hit summary. | |
| void | setNOutliers (const std::uint8_t nPrecOutliers, const std::uint8_t nTrigPhiOutliers, const std::uint8_t nTrigEtaOutliers) |
| Assign the number of hits with a large pull per hit category. | |
| std::uint8_t | nPrecisionOutliers () const |
| Returns the number of precision outliers. | |
| std::uint8_t | nTriggerPhiOutliers () const |
| Returns the number of trigger phi outliers. | |
| std::uint8_t | nTriggerEtaOutliers () const |
| Returns the number of trigger eta outliers. | |
| void | setNHoles (const std::uint8_t nPrecHoles, const std::uint8_t nTrigPhiHoles, const std::uint8_t nTrigEtaHoles) |
| Assign the number of expected but missing hits. | |
| std::uint8_t | nPrecisionHoles () const |
| Returns the number of precision holes. | |
| std::uint8_t | nTriggerPhiHoles () const |
| Returns the number of trigger phi holes. | |
| std::uint8_t | nTriggerEtaHoles () const |
| Returns the number of trigger eta holes. | |
| const ElementLink< ::Trk::SegmentCollection > & | muonSegment () const |
| void | setMuonSegment (const ElementLink< ::Trk::SegmentCollection > &segment) |
Global position functions | |
Returns the global position Returns the x position | |
| float | x () const |
| float | y () const |
| Returns the x position. | |
| float | z () const |
| Returns the y position. | |
| void | setPosition (float x, float y, float z) |
| Sets the global position. | |
Global direction functions | |
Returns the global direction Returns the px | |
| float | px () const |
| float | py () const |
| Returns the py. | |
| float | pz () const |
| Returns the pz. | |
| void | setDirection (float px, float py, float pz) |
| Sets the direction. | |
Fitted time functions | |
Returns some information about fitted time and error on the time. Returns the time | |
| float | t0 () const |
| float | t0error () const |
| Returns the time error. | |
| void | setT0Error (float t0, float t0Error) |
| Sets the time error. | |
Fit quality functions | |
Returns some information about quality of the track fit. Returns the \( \chi^2 \) of the overall track fit. | |
| float | chiSquared () const |
| float | numberDoF () const |
| Returns the numberDoF. | |
| void | setFitQuality (float chiSquared, float numberDoF) |
| Set the 'Fit Quality' information. | |
Identification | |
The general muon identification scheme is defined here: https://cds.cern.ch/record/681542/files/com-muon-2002-019.pdf Returns the sector number | |
| int | sector () const |
| ::Muon::MuonStationIndex::ChIndex | chamberIndex () const |
| Returns the chamber index. | |
| int | etaIndex () const |
| Returns the eta index, which corresponds to stationEta in the offline identifiers (and the ). | |
| ::Muon::MuonStationIndex::TechnologyIndex | technology () const |
| Returns the main technology of the segment. | |
| void | setIdentifier (const std::uint8_t sector, const ::Muon::MuonStationIndex::ChIndex chamberIndex, const std::int8_t etaIndex, const ::Muon::MuonStationIndex::TechnologyIndex technology) |
| Set the Identifier fields of the Segment. | |
Class to describe a Segment reconstructed in the MuonSpectrometer.
A segment is a straight line approximation of the muon trajectory within a MS station. The segment carries a reference posiiton, and a direction. Further is provides information about the fit quality and the number of precision and trigger hits involved in the fit
Definition at line 33 of file MuonSegment_v1.h.
|
default |
Default constructor.
|
virtualdefault |
Default destructor.
| ::Muon::MuonStationIndex::ChIndex xAOD::MuonSegment_v1::chamberIndex | ( | ) | const |
Returns the chamber index.
| float xAOD::MuonSegment_v1::chiSquared | ( | ) | const |
| Amg::Vector3D xAOD::MuonSegment_v1::direction | ( | ) | const |
Returns the direction as Amg::Vector.
Definition at line 22 of file MuonSegment_v1.cxx.
| int xAOD::MuonSegment_v1::etaIndex | ( | ) | const |
Returns the eta index, which corresponds to stationEta in the offline identifiers (and the ).
| const ElementLink< ::Trk::SegmentCollection > & xAOD::MuonSegment_v1::muonSegment | ( | ) | const |
| std::uint8_t xAOD::MuonSegment_v1::nPhiLayers | ( | ) | const |
Returns the number of trigger phi hits.
| std::uint8_t xAOD::MuonSegment_v1::nPrecisionHits | ( | ) | const |
Returns the number of precision hits.
| std::uint8_t xAOD::MuonSegment_v1::nPrecisionHoles | ( | ) | const |
Returns the number of precision holes.
| std::uint8_t xAOD::MuonSegment_v1::nPrecisionOutliers | ( | ) | const |
Returns the number of precision outliers.
| std::uint8_t xAOD::MuonSegment_v1::nTrigEtaLayers | ( | ) | const |
Returns the number of trigger eta hits.
| std::uint8_t xAOD::MuonSegment_v1::nTriggerEtaHoles | ( | ) | const |
Returns the number of trigger eta holes.
| std::uint8_t xAOD::MuonSegment_v1::nTriggerEtaOutliers | ( | ) | const |
Returns the number of trigger eta outliers.
| std::uint8_t xAOD::MuonSegment_v1::nTriggerPhiHoles | ( | ) | const |
Returns the number of trigger phi holes.
| std::uint8_t xAOD::MuonSegment_v1::nTriggerPhiOutliers | ( | ) | const |
Returns the number of trigger phi outliers.
| float xAOD::MuonSegment_v1::numberDoF | ( | ) | const |
Returns the numberDoF.
| Amg::Vector3D xAOD::MuonSegment_v1::position | ( | ) | const |
Returns the position as Amg::Vector.
Definition at line 19 of file MuonSegment_v1.cxx.
| float xAOD::MuonSegment_v1::px | ( | ) | const |
| float xAOD::MuonSegment_v1::py | ( | ) | const |
Returns the py.
| float xAOD::MuonSegment_v1::pz | ( | ) | const |
Returns the pz.
| int xAOD::MuonSegment_v1::sector | ( | ) | const |
Sets the direction.
Definition at line 44 of file MuonSegment_v1.cxx.
Set the 'Fit Quality' information.
Definition at line 66 of file MuonSegment_v1.cxx.
| void xAOD::MuonSegment_v1::setIdentifier | ( | const std::uint8_t | sector, |
| const ::Muon::MuonStationIndex::ChIndex | chamberIndex, | ||
| const std::int8_t | etaIndex, | ||
| const ::Muon::MuonStationIndex::TechnologyIndex | technology ) |
Set the Identifier fields of the Segment.
| sector | Phi sector in which the segment was constructed [1-6] |
| chamberIndex | Chamber index in which the constructed (e.g BIL) |
| etaIndex | The eta index of the asociated muon station |
| technology | Technolgy of the precision hits making up the segment. |
Definition at line 78 of file MuonSegment_v1.cxx.
| void xAOD::MuonSegment_v1::setMuonSegment | ( | const ElementLink< ::Trk::SegmentCollection > & | segment | ) |
| void xAOD::MuonSegment_v1::setNHits | ( | const std::uint8_t | nPrecisionHits, |
| const std::uint8_t | nPhiLayers, | ||
| const std::uint8_t | nTrigEtaLayers ) |
Assign the segment hit summary.
| nPrecisionHits | The number of contributin precision hits |
| nPhiLayers | The number of trigger phi hits |
| nTrigEtaLayers | The number of complementary eta trigger hits |
Definition at line 96 of file MuonSegment_v1.cxx.
| void xAOD::MuonSegment_v1::setNHoles | ( | const std::uint8_t | nPrecHoles, |
| const std::uint8_t | nTrigPhiHoles, | ||
| const std::uint8_t | nTrigEtaHoles ) |
Assign the number of expected but missing hits.
| nPrecHoles | Number of precision holes |
| nTrigPhiHoles | Number of trigger phi holes |
| nTrigEtaHoles | Number of trigger eta holes |
Definition at line 122 of file MuonSegment_v1.cxx.
| void xAOD::MuonSegment_v1::setNOutliers | ( | const std::uint8_t | nPrecOutliers, |
| const std::uint8_t | nTrigPhiOutliers, | ||
| const std::uint8_t | nTrigEtaOutliers ) |
Assign the number of hits with a large pull per hit category.
| nPrecOutliers | Number of precision outliers |
| nTrigPhiOutliers | Number of trigger phi outliers |
| nTrigEtaOutliers | Number of trigger eta outliers |
Definition at line 109 of file MuonSegment_v1.cxx.
Sets the global position.
Definition at line 30 of file MuonSegment_v1.cxx.
| float xAOD::MuonSegment_v1::t0 | ( | ) | const |
| float xAOD::MuonSegment_v1::t0error | ( | ) | const |
Returns the time error.
| ::Muon::MuonStationIndex::TechnologyIndex xAOD::MuonSegment_v1::technology | ( | ) | const |
Returns the main technology of the segment.
| float xAOD::MuonSegment_v1::x | ( | ) | const |
| float xAOD::MuonSegment_v1::y | ( | ) | const |
Returns the x position.
| float xAOD::MuonSegment_v1::z | ( | ) | const |
Returns the y position.