![]() |
ATLAS Offline Software
|
#include <RPCCandData.h>
Public Types | |
| enum class | Quality { Q_UNDEFINED = 0 , Q_BEST , Q_LOW } |
| quality of the candidate More... | |
| enum class | BC_ID { BC_UNDEFINED = 0 , BC_PREVIOUS , BC_CURRENT , BC_NEXT , BC_NEXTNEXT } |
Public Member Functions | |
| RPCCandData ()=default | |
| ~RPCCandData ()=default | |
| RPCCandData (uint16_t subdetectorId, uint16_t sectorId, uint16_t bcTag) | |
| Quality | quality () const |
| float | zPos (int index) const |
| uint8_t | coinType () const |
| void | setQuality (Quality quality) |
| void | setZPos (float zPos, int index) |
| void | setCoinType (uint8_t coinType) |
| uint16_t | subdetectorId () const |
| uint16_t | sectorId () const |
| uint16_t | bcTag () const |
| uint8_t | threshold () const |
| uint8_t | charge () const |
| uint8_t | mdtFlag () const |
| float | eta () const |
| get the kinematic parameters | |
| float | phi () const |
| float | pt () const |
| void | setEta (float eta) |
| Set functions of the modifiable parameters. | |
| void | setPhi (float phi) |
| void | setPt (float pt) |
| void | setThreshold (float threshold) |
| void | setCharge (uint8_t charge) |
| void | setMdtFlag (uint8_t mdtFlag) |
Static Public Attributes | |
| static constexpr float | s_zPosRange = 12500.0 |
| range of the RPC hits z positions | |
| static constexpr uint8_t | s_coinTypeRange = 6 |
| range of the coincidence type value | |
| static constexpr uint16_t | s_zPosBitRange = 0xfff |
| 12 bits for z position | |
| static constexpr uint8_t | s_coinTypeBitRange = 0x7 |
| 3 bits for the coincidence type | |
Private Attributes | |
| Quality | m_quality {0} |
| quality of the candidate | |
| std::array< uint16_t, 4 > | m_zPos {0, 0, 0, 0} |
| Z positions of the RPC hits. | |
| uint8_t | m_coinType {0} |
| coincidence type | |
| uint16_t | m_subdetectorId {0} |
| uint16_t | m_sectorId {0} |
| sector number | |
| uint16_t | m_bcTag {0} |
| BC tag. | |
| uint16_t | m_eta {0} |
| theta coordinate of the candidate | |
| uint16_t | m_phi {0} |
| phi coordinate of the candidate | |
| uint16_t | m_pt {0} |
| pt of the candidate | |
| uint8_t | m_threshold {0} |
| threshold | |
| uint8_t | m_charge {0} |
| charge ( 0=negative, 1=positive) | |
| uint8_t | m_mdtFlag {0} |
| MDT flag. | |
Static Private 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 uint16_t | s_ptBitRange = 0xff |
Definition at line 13 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
stronginherited |
| Enumerator | |
|---|---|
| BC_UNDEFINED | |
| BC_PREVIOUS | |
| BC_CURRENT | |
| BC_NEXT | |
| BC_NEXTNEXT | |
Definition at line 42 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
strong |
quality of the candidate
| Enumerator | |
|---|---|
| Q_UNDEFINED | |
| Q_BEST | |
| Q_LOW | |
Definition at line 22 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
default |
|
default |
| L0Muon::RPCCandData::RPCCandData | ( | uint16_t | subdetectorId, |
| uint16_t | sectorId, | ||
| uint16_t | bcTag ) |
Definition at line 11 of file RPCCandData.cxx.
|
inlineinherited |
Definition at line 25 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
inlineinherited |
Definition at line 27 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
| uint8_t L0Muon::RPCCandData::coinType | ( | ) | const |
Definition at line 54 of file RPCCandData.cxx.
|
inherited |
get the kinematic parameters
Definition at line 28 of file ICandData.cxx.
|
inlineinherited |
Definition at line 28 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
inherited |
Definition at line 33 of file ICandData.cxx.
|
inherited |
Definition at line 38 of file ICandData.cxx.
|
inline |
Definition at line 29 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
inlineinherited |
Definition at line 24 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
inlineinherited |
Definition at line 39 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
| void L0Muon::RPCCandData::setCoinType | ( | uint8_t | coinType | ) |
convert the coincidence type to binary
Definition at line 35 of file RPCCandData.cxx.
|
inherited |
Set functions of the modifiable parameters.
set the kinematic parameters using the granularity of the binary representation
convert eta to binary, taking into account the range from -s_etaRange to +s_etaRange)
Definition at line 12 of file ICandData.cxx.
|
inlineinherited |
Definition at line 40 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
inherited |
Definition at line 18 of file ICandData.cxx.
|
inherited |
Definition at line 22 of file ICandData.cxx.
|
inline |
Definition at line 33 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
inlineinherited |
Definition at line 38 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
| void L0Muon::RPCCandData::setZPos | ( | float | zPos, |
| int | index ) |
convert z position to binary
Definition at line 23 of file RPCCandData.cxx.
|
inlineinherited |
Definition at line 23 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
inlineinherited |
Definition at line 26 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
| float L0Muon::RPCCandData::zPos | ( | int | index | ) | const |
Definition at line 42 of file RPCCandData.cxx.
|
privateinherited |
BC tag.
Definition at line 68 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
privateinherited |
charge ( 0=negative, 1=positive)
Definition at line 78 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
private |
coincidence type
Definition at line 53 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
privateinherited |
theta coordinate of the candidate
Definition at line 70 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
privateinherited |
MDT flag.
Definition at line 80 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
privateinherited |
phi coordinate of the candidate
Definition at line 72 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
privateinherited |
pt of the candidate
Definition at line 74 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
private |
quality of the candidate
Definition at line 48 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
privateinherited |
sector number
Definition at line 66 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
privateinherited |
Definition at line 64 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
privateinherited |
threshold
Definition at line 76 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
private |
Z positions of the RPC hits.
Definition at line 50 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
staticconstexpr |
3 bits for the coincidence type
Definition at line 43 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
staticconstexpr |
range of the coincidence type value
Definition at line 39 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
staticconstexprprivateinherited |
variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt
Definition at line 59 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
staticconstexprprivateinherited |
variables range
Definition at line 53 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
staticconstexprprivateinherited |
Definition at line 60 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
staticconstexprprivateinherited |
Definition at line 54 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
staticconstexprprivateinherited |
Definition at line 61 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
staticconstexprprivateinherited |
Definition at line 55 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/ICandData.h.
|
staticconstexpr |
12 bits for z position
Definition at line 41 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.
|
staticconstexpr |
range of the RPC hits z positions
Definition at line 37 of file Trigger/TrigT1/Muon/L0MuonInterface/L0MuonInterface/RPCCandData.h.