![]() |
ATLAS Offline Software
|
Quantisation of NSW segment quantities into the Run 4 NSW-TP -> TGC-SL segment word (L1Muon interface document, EDMS 2377909, Section 4.2, Figure 13). More...
Functions | |
| double | wrapTwoPi (double phi) |
| Map any angle to [0, 2pi). | |
| uint16_t | etaIndex (double eta, bool &inRange) |
| double | etaValue (uint16_t idx) |
| uint16_t | phiIndex (double phi) |
| double | phiValue (uint16_t idx) |
| uint8_t | dthetaIndex (double dtheta, double step, double range, bool &inRange) |
| double | dthetaValue (uint8_t idx, double step) |
| uint16_t | boardID (int sectorPhi, bool isSideC) |
Variables | |
| constexpr double | kTwoPi = 2. * std::numbers::pi |
| constexpr unsigned | kDthMagMax = 15 |
| constexpr uint8_t | kDthSignBit = 0x10 |
| constexpr uint8_t | kQualityMM = 3 |
Quantisation of NSW segment quantities into the Run 4 NSW-TP -> TGC-SL segment word (L1Muon interface document, EDMS 2377909, Section 4.2, Figure 13).
Kept outside the xAOD class (which only packs/unpacks bits) and outside the trigger tools (which produce physics values), so that MM and later sTGC segments share one encoding. Each xxxIndex() has a matching xxxValue() that returns the value the index stands for, used for validation.
|
inline |
Definition at line 99 of file NSWEncoding.h.
|
inline |
Definition at line 76 of file NSWEncoding.h.
|
inline |
Definition at line 82 of file NSWEncoding.h.
|
inline |
Definition at line 38 of file NSWEncoding.h.
|
inline |
Definition at line 44 of file NSWEncoding.h.
|
inline |
Definition at line 55 of file NSWEncoding.h.
|
inline |
Definition at line 60 of file NSWEncoding.h.
|
inline |
|
constexpr |
Definition at line 73 of file NSWEncoding.h.
|
constexpr |
Definition at line 74 of file NSWEncoding.h.
|
constexpr |
Definition at line 90 of file NSWEncoding.h.
|
constexpr |
Definition at line 26 of file NSWEncoding.h.