![]() |
ATLAS Offline Software
|
Class describing a MuonSegment. 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. | |
| 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 (int sector, ::Muon::MuonStationIndex::ChIndex chamberIndex, int etaIndex, ::Muon::MuonStationIndex::TechnologyIndex technology) |
| Set the identifier. | |
Hit counts functions | |
Returns the number of hits Returns the number of precision hits | |
| int | nPrecisionHits () const |
| int | nPhiLayers () const |
| Returns the number of phi layers. | |
| int | nTrigEtaLayers () const |
| Returns the number of trigger eta layers. | |
| void | setNHits (int nPrecisionHits, int nPhiLayers, int nTrigEtaLayers) |
| Set the number of hits/layers. | |
Class describing a MuonSegment.
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 18 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 |
| int xAOD::MuonSegment_v1::nPhiLayers | ( | ) | const |
Returns the number of phi layers.
| int xAOD::MuonSegment_v1::nPrecisionHits | ( | ) | const |
| int xAOD::MuonSegment_v1::nTrigEtaLayers | ( | ) | const |
Returns the number of trigger eta layers.
| 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 15 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 |
Set the 'Fit Quality' information.
Definition at line 61 of file MuonSegment_v1.cxx.
| void xAOD::MuonSegment_v1::setIdentifier | ( | int | sector, |
| ::Muon::MuonStationIndex::ChIndex | chamberIndex, | ||
| int | etaIndex, | ||
| ::Muon::MuonStationIndex::TechnologyIndex | technology ) |
Set the identifier.
Definition at line 73 of file MuonSegment_v1.cxx.
| void xAOD::MuonSegment_v1::setMuonSegment | ( | const ElementLink< ::Trk::SegmentCollection > & | segment | ) |
Set the number of hits/layers.
Definition at line 88 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.