![]() |
ATLAS Offline Software
|
Data class describing the L0 muon candidates from MDT-TP to TGC/RPC SL. More...
#include <L1MDTCandData_v1.h>
Public Types | |
| enum class | SegmentQuality : uint8_t { Q_UNDEFINED = 0 , Q_BEST , Q_LOW } |
| Quality flag for each segment. More... | |
| enum class | BC_ID { BC_UNDEFINED = 0 , BC_PREVIOUS , BC_CURRENT , BC_NEXT , BC_NEXTNEXT } |
| Bunch crossing identifier. More... | |
Public Member Functions | |
| L1MDTCandData_v1 ()=default | |
| ~L1MDTCandData_v1 ()=default | |
| uint8_t | l1MdtFlag () const |
| Retrieve the MDT flag. | |
| uint8_t | l1NumSegments () const |
| Retrieve the number of MDT segments asspcoate to the muon candidate. | |
| uint8_t | l1SegmentQualityFlag () const |
| Retrieve the segment quality flag for each segment. | |
| uint8_t | l1SlCharge () const |
| Retrieve the charge value from the sector logic. | |
| uint8_t | l1SlPtThreshold () const |
| Retrieve the highest RPC/TGC pT threshold satisfied in sector logic. | |
| uint16_t | l1SlPhiPosition () const |
| Retrieve the phi position in global coordinates from the sector logic. | |
| uint16_t | l1SlEtaPosition () const |
| Retrieve the eta position in global coordinates from the sector logic. | |
| uint8_t | l1MdtCharge () const |
| Retrieve the MDT charge value from the MDT TP. | |
| uint8_t | l1MdtPt () const |
| Retrieve the MDT pTfrom the MDT TP. | |
| uint16_t | l1MdtEta () const |
| Retrieve the MDT eta position from the MDT TP. | |
| void | setL1MdtFlag (uint8_t mdtFlag) |
| Set the MDT flag. | |
| void | setL1NumSegments (uint8_t numSegments) |
| Set the number of segments. | |
| void | setL1SegmentQualityFlag (uint8_t flags) |
| Set the segment quality flag. | |
| void | setL1SlCharge (uint8_t slCharge) |
| Set the sector logic charge. | |
| void | setL1SlPtThreshold (uint8_t slPtThreshold) |
| Set the sector logic pT threshold. | |
| void | setL1SlPhiPosition (uint16_t slPhiPosition) |
| Set the sector logic phi position. | |
| void | setL1SlEtaPosition (uint16_t slEtaPosition) |
| Set the sector logic eta position. | |
| void | setL1MdtCharge (uint8_t mdtCharge) |
| Set the MDT charge value. | |
| void | setL1MdtPt (uint8_t mdtPt) |
| Set the MDT pT value. | |
| void | setL1MdtEta (uint16_t mdtEta) |
| Set the MDT eta position. | |
| uint16_t | l1SubdetectorId () const |
| Retrieve the sub detector id. | |
| uint16_t | l1SectorId () const |
| Retrieve the sector id. | |
| uint16_t | bcTag () const |
| Retrieve the bunch crossing tag. | |
| uint8_t | l1Threshold () const |
| Retrieve the threshold. | |
| uint8_t | l1CandCharge () const |
| Retrieve the candidate charge. | |
| uint8_t | coinType () const |
| Retrieve the coincidence type. | |
| uint16_t | l1Eta () const |
| Retrieve the eta. | |
| uint16_t | l1Phi () const |
| Retrieve the phi. | |
| uint8_t | l1Pt () const |
| Retrieve the encoded candidate pT. | |
| uint8_t | tcId () const |
| Retrieve the trigger-candidate identifier. | |
| void | setL1SubdetectorId (uint16_t subdetectorId) |
| Set the sub detector id. | |
| void | setL1SectorId (uint16_t sectorId) |
| Set the sector id. | |
| void | setBcTag (uint16_t bcTag) |
| Set the bunch crossing tag. | |
| void | setL1Eta (float eta) |
| Set the eta. | |
| void | setL1Phi (float phi) |
| Set the phi. | |
| void | setL1Pt (float pt) |
| Set the candidate pT. | |
| void | setL1Threshold (uint8_t threshold) |
| Set the threshold. | |
| void | setL1CandCharge (uint8_t candCharge) |
| Set the candidate charge. | |
| void | setCoinType (uint8_t coinType) |
| Set the coincidence type. | |
| void | setTcId (uint8_t value) |
| Set the trigger-candidate identifier. | |
| void | initialize (uint16_t subdetectorId, uint16_t sectorId, uint16_t bcTag) |
| Initialize candidate with basic properties. | |
Static Public Member Functions | |
| static constexpr float | etaRange () |
| static constexpr uint16_t | etaBitRange () |
| static constexpr float | phiRange () |
| static constexpr uint16_t | phiBitRange () |
| static constexpr float | ptResolution () |
| static constexpr float | ptRange () |
| static constexpr uint8_t | ptBitRange () |
| static constexpr uint8_t | coinTypeBitMask () |
| static constexpr uint8_t | tcIdBitMask () |
Static Protected Attributes | |
| static constexpr float | s_etaRange = 2.7 |
| Variables range. | |
| static constexpr float | s_phiRange = 2.0 * M_PI |
| static constexpr float | s_ptResolution = 0.5F |
| GeV per pT code. | |
| static constexpr uint16_t | s_etaBitRange = 0x3fff |
| Variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt. | |
| static constexpr uint16_t | s_phiBitRange = 0x1ff |
| static constexpr uint8_t | s_ptBitRange = 0xff |
| static constexpr float | s_ptRange |
| static constexpr uint8_t | COINTYPE_BIT_MASK = 0x7 |
| Bit mask for Coincidence Types. | |
| static constexpr uint8_t | TC_ID_BIT_MASK = 0x7 |
| Bit mask for the trigger-candidate identifier. | |
Data class describing the L0 muon candidates from MDT-TP to TGC/RPC SL.
Definition at line 18 of file L1MDTCandData_v1.h.
|
stronginherited |
Bunch crossing identifier.
| Enumerator | |
|---|---|
| BC_UNDEFINED | |
| BC_PREVIOUS | |
| BC_CURRENT | |
| BC_NEXT | |
| BC_NEXTNEXT | |
Definition at line 26 of file IL1CandData_v1.h.
|
strong |
Quality flag for each segment.
| Enumerator | |
|---|---|
| Q_UNDEFINED | |
| Q_BEST | |
| Q_LOW | |
Definition at line 25 of file L1MDTCandData_v1.h.
|
default |
|
default |
|
inherited |
Retrieve the bunch crossing tag.
|
inherited |
Retrieve the coincidence type.
Definition at line 60 of file IL1CandData_v1.cxx.
|
inlinestaticconstexprinherited |
Definition at line 156 of file IL1CandData_v1.h.
|
inlinestaticconstexprinherited |
Definition at line 150 of file IL1CandData_v1.h.
|
inlinestaticconstexprinherited |
Definition at line 149 of file IL1CandData_v1.h.
|
inherited |
Initialize candidate with basic properties.
Initialise the object given some input data
| subdetectorId | Subdetector ID |
| sectorId | Sector ID |
| bcTag | Bunch crossing tag |
Definition at line 75 of file IL1CandData_v1.cxx.
|
inherited |
Retrieve the candidate charge.
|
inherited |
| uint8_t xAOD::L1MDTCandData_v1::l1MdtCharge | ( | ) | const |
Retrieve the MDT charge value from the MDT TP.
| uint16_t xAOD::L1MDTCandData_v1::l1MdtEta | ( | ) | const |
Retrieve the MDT eta position from the MDT TP.
| uint8_t xAOD::L1MDTCandData_v1::l1MdtFlag | ( | ) | const |
Retrieve the MDT flag.
| uint8_t xAOD::L1MDTCandData_v1::l1MdtPt | ( | ) | const |
Retrieve the MDT pTfrom the MDT TP.
| uint8_t xAOD::L1MDTCandData_v1::l1NumSegments | ( | ) | const |
Retrieve the number of MDT segments asspcoate to the muon candidate.
|
inherited |
|
inherited |
Retrieve the encoded candidate pT.
Definition at line 49 of file IL1CandData_v1.cxx.
|
inherited |
Retrieve the sector id.
| uint8_t xAOD::L1MDTCandData_v1::l1SegmentQualityFlag | ( | ) | const |
Retrieve the segment quality flag for each segment.
| uint8_t xAOD::L1MDTCandData_v1::l1SlCharge | ( | ) | const |
Retrieve the charge value from the sector logic.
| uint16_t xAOD::L1MDTCandData_v1::l1SlEtaPosition | ( | ) | const |
Retrieve the eta position in global coordinates from the sector logic.
| uint16_t xAOD::L1MDTCandData_v1::l1SlPhiPosition | ( | ) | const |
Retrieve the phi position in global coordinates from the sector logic.
| uint8_t xAOD::L1MDTCandData_v1::l1SlPtThreshold | ( | ) | const |
Retrieve the highest RPC/TGC pT threshold satisfied in sector logic.
|
inherited |
Retrieve the sub detector id.
|
inherited |
Retrieve the threshold.
|
inlinestaticconstexprinherited |
Definition at line 152 of file IL1CandData_v1.h.
|
inlinestaticconstexprinherited |
Definition at line 151 of file IL1CandData_v1.h.
|
inlinestaticconstexprinherited |
Definition at line 155 of file IL1CandData_v1.h.
|
inlinestaticconstexprinherited |
Definition at line 154 of file IL1CandData_v1.h.
|
inlinestaticconstexprinherited |
Definition at line 153 of file IL1CandData_v1.h.
|
inherited |
Set the bunch crossing tag.
| bcTag | Bunch crossing tag |
|
inherited |
Set the coincidence type.
| coinType | Coincidence type |
Definition at line 54 of file IL1CandData_v1.cxx.
|
inherited |
Set the candidate charge.
| candCharge | Candidate charge |
|
inherited |
Set the eta.
| eta | Eta |
Definition at line 17 of file IL1CandData_v1.cxx.
| void xAOD::L1MDTCandData_v1::setL1MdtCharge | ( | uint8_t | mdtCharge | ) |
Set the MDT charge value.
| mdtCharge | MDT charge value |
| void xAOD::L1MDTCandData_v1::setL1MdtEta | ( | uint16_t | mdtEta | ) |
Set the MDT eta position.
| mdtEta | MDT eta position |
| void xAOD::L1MDTCandData_v1::setL1MdtFlag | ( | uint8_t | mdtFlag | ) |
Set the MDT flag.
| mdtFlag | MDT flag |
| void xAOD::L1MDTCandData_v1::setL1MdtPt | ( | uint8_t | mdtPt | ) |
Set the MDT pT value.
| mdtPt | MDT pT value |
| void xAOD::L1MDTCandData_v1::setL1NumSegments | ( | uint8_t | numSegments | ) |
Set the number of segments.
| numSegments | Number of segments |
|
inherited |
Set the phi.
| phi | Phi |
Definition at line 29 of file IL1CandData_v1.cxx.
|
inherited |
Set the candidate pT.
| pt | Candidate pT in GeV, encoded in 0.5 GeV steps |
Definition at line 41 of file IL1CandData_v1.cxx.
|
inherited |
Set the sector id.
| sectorId | Sector ID |
| void xAOD::L1MDTCandData_v1::setL1SegmentQualityFlag | ( | uint8_t | flags | ) |
| void xAOD::L1MDTCandData_v1::setL1SlCharge | ( | uint8_t | slCharge | ) |
Set the sector logic charge.
| slCharge | SlCharge |
| void xAOD::L1MDTCandData_v1::setL1SlEtaPosition | ( | uint16_t | slEtaPosition | ) |
Set the sector logic eta position.
| slEtaPosition | SlEtaPosition |
| void xAOD::L1MDTCandData_v1::setL1SlPhiPosition | ( | uint16_t | slPhiPosition | ) |
Set the sector logic phi position.
| slPhiPosition | SlPhiPosition |
| void xAOD::L1MDTCandData_v1::setL1SlPtThreshold | ( | uint8_t | slPtThreshold | ) |
Set the sector logic pT threshold.
| slPtThreshold | SlPtThreshold |
|
inherited |
Set the sub detector id.
| subdetectorId | Subdetector ID |
|
inherited |
|
inherited |
Set the trigger-candidate identifier.
| value | Three-bit trigger-candidate identifier; zero denotes an empty candidate |
Definition at line 65 of file IL1CandData_v1.cxx.
|
inherited |
Retrieve the trigger-candidate identifier.
Definition at line 70 of file IL1CandData_v1.cxx.
|
inlinestaticconstexprinherited |
Definition at line 157 of file IL1CandData_v1.h.
|
staticconstexprprotectedinherited |
Bit mask for Coincidence Types.
Definition at line 174 of file IL1CandData_v1.h.
|
staticconstexprprotectedinherited |
Variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt.
Definition at line 167 of file IL1CandData_v1.h.
|
staticconstexprprotectedinherited |
Variables range.
Definition at line 161 of file IL1CandData_v1.h.
|
staticconstexprprotectedinherited |
Definition at line 168 of file IL1CandData_v1.h.
Definition at line 162 of file IL1CandData_v1.h.
|
staticconstexprprotectedinherited |
Definition at line 169 of file IL1CandData_v1.h.
|
staticconstexprprotectedinherited |
Definition at line 170 of file IL1CandData_v1.h.
GeV per pT code.
Definition at line 163 of file IL1CandData_v1.h.
|
staticconstexprprotectedinherited |
Bit mask for the trigger-candidate identifier.
Definition at line 176 of file IL1CandData_v1.h.