![]() |
ATLAS Offline Software
|
base class providing a common interface with shared variables for the L0 muon candidates from RPC/TGC SL to MDT-TP More...
#include <ICandData_v1.h>
Public Types | |
| enum class | BC_ID { BC_UNDEFINED = 0 , BC_PREVIOUS , BC_CURRENT , BC_NEXT , BC_NEXTNEXT } |
| Bunch crossing identifier. More... | |
| enum class | Quality : uint8_t { Q_UNDEFINED = 0 , Q_BEST , Q_LOW } |
Public Member Functions | |
| ICandData_v1 ()=default | |
| Default constructor. | |
| virtual | ~ICandData_v1 ()=default |
| uint16_t | subdetectorId () const |
| Retrieve the sub detector id. | |
| uint16_t | sectorId () const |
| Retrieve the sector id. | |
| uint16_t | bcTag () const |
| Retrieve the bunch crossing tag. | |
| uint8_t | threshold () const |
| Retrieve the threshold. | |
| uint8_t | candCharge () const |
| Retrieve the candidate charge. | |
| uint8_t | mdtFlag () const |
| Retrieve the MDT flag. | |
| uint8_t | coinType () const |
| Retrieve the coincidence type. | |
| uint16_t | eta () const |
| Retrieve the eta. | |
| uint16_t | phi () const |
| Retrieve the phi. | |
| uint8_t | pt () const |
| Retrieve the pt. | |
| Quality | candQuality () const |
| Retrieve the candidate quality. | |
| void | setSubdetectorId (uint16_t subdetectorId) |
| Set the sub detector id. | |
| void | setSectorId (uint16_t sectorId) |
| Set the sector id. | |
| void | setBcTag (uint16_t bcTag) |
| Set the bunch crossing tag. | |
| void | setEta (float eta) |
| Set the eta. | |
| void | setPhi (float phi) |
| Set the phi. | |
| void | setPt (float pt) |
| Set the pt. | |
| void | setThreshold (uint8_t threshold) |
| Set the threshold. | |
| void | setCandCharge (uint8_t candCharge) |
| Set the candidate charge. | |
| void | setMdtFlag (uint8_t mdtFlag) |
| Set the MDT flag. | |
| void | setCoinType (uint8_t coinType) |
| Set the coincidence type. | |
| void | setCandQuality (Quality candQuality) |
| Set the candidate quality. | |
| 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 | ptRange () |
| static constexpr uint8_t | ptBitRange () |
| static constexpr uint8_t | coinTypeBitMask () |
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_ptRange = 1000.0 |
| 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 uint8_t | COINTYPE_BIT_MASK = 0x7 |
| Bit mask for Coincidence Types. | |
base class providing a common interface with shared variables for the L0 muon candidates from RPC/TGC SL to MDT-TP
Definition at line 18 of file ICandData_v1.h.
|
strong |
Bunch crossing identifier.
| Enumerator | |
|---|---|
| BC_UNDEFINED | |
| BC_PREVIOUS | |
| BC_CURRENT | |
| BC_NEXT | |
| BC_NEXTNEXT | |
Definition at line 27 of file ICandData_v1.h.
|
strong |
| Enumerator | |
|---|---|
| Q_UNDEFINED | |
| Q_BEST | |
| Q_LOW | |
Definition at line 36 of file ICandData_v1.h.
|
default |
Default constructor.
|
virtualdefault |
| uint16_t xAOD::ICandData_v1::bcTag | ( | ) | const |
Retrieve the bunch crossing tag.
| uint8_t xAOD::ICandData_v1::candCharge | ( | ) | const |
Retrieve the candidate charge.
| Quality xAOD::ICandData_v1::candQuality | ( | ) | const |
Retrieve the candidate quality.
| uint8_t xAOD::ICandData_v1::coinType | ( | ) | const |
Retrieve the coincidence type.
Definition at line 69 of file ICandData_v1.cxx.
|
inlinestaticconstexpr |
Definition at line 175 of file ICandData_v1.h.
| uint16_t xAOD::ICandData_v1::eta | ( | ) | const |
|
inlinestaticconstexpr |
Definition at line 170 of file ICandData_v1.h.
|
inlinestaticconstexpr |
Definition at line 169 of file ICandData_v1.h.
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 74 of file ICandData_v1.cxx.
| uint8_t xAOD::ICandData_v1::mdtFlag | ( | ) | const |
Retrieve the MDT flag.
| uint16_t xAOD::ICandData_v1::phi | ( | ) | const |
|
inlinestaticconstexpr |
Definition at line 172 of file ICandData_v1.h.
|
inlinestaticconstexpr |
Definition at line 171 of file ICandData_v1.h.
| uint8_t xAOD::ICandData_v1::pt | ( | ) | const |
|
inlinestaticconstexpr |
Definition at line 174 of file ICandData_v1.h.
|
inlinestaticconstexpr |
Definition at line 173 of file ICandData_v1.h.
| uint16_t xAOD::ICandData_v1::sectorId | ( | ) | const |
Retrieve the sector id.
| void xAOD::ICandData_v1::setBcTag | ( | uint16_t | bcTag | ) |
| void xAOD::ICandData_v1::setCandCharge | ( | uint8_t | candCharge | ) |
Set the candidate charge.
| candCharge | Candidate charge |
| void xAOD::ICandData_v1::setCandQuality | ( | Quality | candQuality | ) |
Set the candidate quality.
| candQuality | Candidate quality |
| void xAOD::ICandData_v1::setCoinType | ( | uint8_t | coinType | ) |
Set the coincidence type.
| coinType | Coincidence type |
Definition at line 63 of file ICandData_v1.cxx.
| void xAOD::ICandData_v1::setEta | ( | float | eta | ) |
Set the eta.
| eta | Eta |
Definition at line 26 of file ICandData_v1.cxx.
| void xAOD::ICandData_v1::setPhi | ( | float | phi | ) |
Set the phi.
| phi | Phi |
Definition at line 38 of file ICandData_v1.cxx.
| void xAOD::ICandData_v1::setPt | ( | float | pt | ) |
| void xAOD::ICandData_v1::setSectorId | ( | uint16_t | sectorId | ) |
| void xAOD::ICandData_v1::setSubdetectorId | ( | uint16_t | subdetectorId | ) |
Set the sub detector id.
| subdetectorId | Subdetector ID |
| void xAOD::ICandData_v1::setThreshold | ( | uint8_t | threshold | ) |
| uint16_t xAOD::ICandData_v1::subdetectorId | ( | ) | const |
Retrieve the sub detector id.
|
staticconstexprprotected |
Bit mask for Coincidence Types.
Definition at line 190 of file ICandData_v1.h.
|
staticconstexprprotected |
Variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt.
Definition at line 185 of file ICandData_v1.h.
|
staticconstexprprotected |
Variables range.
Definition at line 179 of file ICandData_v1.h.
|
staticconstexprprotected |
Definition at line 186 of file ICandData_v1.h.
Definition at line 180 of file ICandData_v1.h.
|
staticconstexprprotected |
Definition at line 187 of file ICandData_v1.h.
|
staticconstexprprotected |
Definition at line 181 of file ICandData_v1.h.