#include <RPCCandData.h>
|
| 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
|
Definition at line 12 of file RPCCandData.h.
◆ BC_ID
| Enumerator |
|---|
| BC_UNDEFINED | |
| BC_PREVIOUS | |
| BC_CURRENT | |
| BC_NEXT | |
| BC_NEXTNEXT | |
Definition at line 42 of file ICandData.h.
43 {
44 BC_UNDEFINED = 0,
45 BC_PREVIOUS,
46 BC_CURRENT,
47 BC_NEXT,
48 BC_NEXTNEXT
49 };
◆ Quality
quality of the candidate
| Enumerator |
|---|
| Q_UNDEFINED | |
| Q_BEST | |
| Q_LOW | |
Definition at line 21 of file RPCCandData.h.
22 {
23 Q_UNDEFINED = 0,
24 Q_BEST,
25 Q_LOW
26 };
◆ RPCCandData() [1/2]
| L0Muon::RPCCandData::RPCCandData |
( |
| ) |
|
|
default |
◆ ~RPCCandData()
| L0Muon::RPCCandData::~RPCCandData |
( |
| ) |
|
|
default |
◆ RPCCandData() [2/2]
| L0Muon::RPCCandData::RPCCandData |
( |
uint16_t | subdetectorId, |
|
|
uint16_t | sectorId, |
|
|
uint16_t | bcTag ) |
Definition at line 9 of file RPCCandData.cxx.
11
12 {
13
14 for (
int i = 0;
i < 4; ++
i)
15 {
17 }
19 }
uint16_t subdetectorId() const
uint16_t sectorId() const
uint16_t m_zPos[4]
Z positions of the RPC hits.
uint8_t m_coinType
coincidence type
◆ bcTag()
| uint16_t L0Muon::ICandData::bcTag |
( |
| ) |
const |
|
inlineinherited |
◆ charge()
| uint8_t L0Muon::ICandData::charge |
( |
| ) |
const |
|
inlineinherited |
Definition at line 27 of file ICandData.h.
uint8_t m_charge
charge ( 0=negative, 1=positive)
◆ coinType()
| uint8_t L0Muon::RPCCandData::coinType |
( |
| ) |
const |
Definition at line 44 of file RPCCandData.cxx.
45 {
47 }
static constexpr uint8_t s_coinTypeRange
range of the coincidence type value
static constexpr uint8_t s_coinTypeBitRange
3 bits for the coincidence type
◆ eta()
| float L0Muon::ICandData::eta |
( |
| ) |
const |
|
inherited |
get the kinematic parameters
Definition at line 27 of file ICandData.cxx.
28 {
30 }
uint16_t m_eta
theta coordinate of the candidate
static constexpr float s_etaRange
variables range
static constexpr uint16_t s_etaBitRange
variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt
◆ mdtFlag()
| uint8_t L0Muon::ICandData::mdtFlag |
( |
| ) |
const |
|
inlineinherited |
Definition at line 28 of file ICandData.h.
uint8_t m_mdtFlag
MDT flag.
◆ phi()
| float L0Muon::ICandData::phi |
( |
| ) |
const |
|
inherited |
Definition at line 31 of file ICandData.cxx.
32 {
34 }
static constexpr float s_phiRange
static constexpr uint16_t s_phiBitRange
uint16_t m_phi
phi coordinate of the candidate
◆ pt()
| float L0Muon::ICandData::pt |
( |
| ) |
const |
|
inherited |
Definition at line 35 of file ICandData.cxx.
36 {
38 }
static constexpr float s_ptRange
uint16_t m_pt
pt of the candidate
static constexpr uint16_t s_ptBitRange
◆ quality()
| Quality L0Muon::RPCCandData::quality |
( |
| ) |
const |
|
inline |
Definition at line 28 of file RPCCandData.h.
Quality m_quality
quality of the candidate
◆ sectorId()
| uint16_t L0Muon::ICandData::sectorId |
( |
| ) |
const |
|
inlineinherited |
Definition at line 24 of file ICandData.h.
uint16_t m_sectorId
sector number
◆ setCharge()
| void L0Muon::ICandData::setCharge |
( |
uint8_t | charge | ) |
|
|
inlineinherited |
◆ setCoinType()
| void L0Muon::RPCCandData::setCoinType |
( |
uint8_t | coinType | ) |
|
convert the coincidence type to binary
Definition at line 30 of file RPCCandData.cxx.
◆ setEta()
| void L0Muon::ICandData::setEta |
( |
float | eta | ) |
|
|
inherited |
Set functions of the modifiable parameters.
set the kinematic parameters using the granularity of the binary representation
convert eta to binary
Definition at line 12 of file ICandData.cxx.
13 {
16 }
float eta() const
get the kinematic parameters
◆ setMdtFlag()
| void L0Muon::ICandData::setMdtFlag |
( |
uint8_t | mdtFlag | ) |
|
|
inlineinherited |
◆ setPhi()
| void L0Muon::ICandData::setPhi |
( |
float | phi | ) |
|
|
inherited |
◆ setPt()
| void L0Muon::ICandData::setPt |
( |
float | pt | ) |
|
|
inherited |
◆ setQuality()
| void L0Muon::RPCCandData::setQuality |
( |
Quality | quality | ) |
|
|
inline |
◆ setThreshold()
| void L0Muon::ICandData::setThreshold |
( |
float | threshold | ) |
|
|
inlineinherited |
Definition at line 38 of file ICandData.h.
uint8_t threshold() const
uint8_t m_threshold
threshold
◆ setZPos()
| void L0Muon::RPCCandData::setZPos |
( |
float | zPos, |
|
|
int | index ) |
convert z position to binary
Definition at line 21 of file RPCCandData.cxx.
22 {
23 if (index < 0 || index > 3)
24 {
25 return;
26 }
29 }
static constexpr float s_zPosRange
range of the RPC hits z positions
static constexpr uint16_t s_zPosBitRange
12 bits for z position
float zPos(int index) const
◆ subdetectorId()
| uint16_t L0Muon::ICandData::subdetectorId |
( |
| ) |
const |
|
inlineinherited |
◆ threshold()
| uint8_t L0Muon::ICandData::threshold |
( |
| ) |
const |
|
inlineinherited |
◆ zPos()
| float L0Muon::RPCCandData::zPos |
( |
int | index | ) |
const |
Definition at line 36 of file RPCCandData.cxx.
37 {
38 if (index < 0 || index > 3)
39 {
40 return 0.0;
41 }
43 }
◆ m_bcTag
| uint16_t L0Muon::ICandData::m_bcTag {0} |
|
privateinherited |
◆ m_charge
| uint8_t L0Muon::ICandData::m_charge {0} |
|
privateinherited |
charge ( 0=negative, 1=positive)
Definition at line 78 of file ICandData.h.
◆ m_coinType
| uint8_t L0Muon::RPCCandData::m_coinType {0} |
|
private |
◆ m_eta
| uint16_t L0Muon::ICandData::m_eta {0} |
|
privateinherited |
theta coordinate of the candidate
Definition at line 70 of file ICandData.h.
◆ m_mdtFlag
| uint8_t L0Muon::ICandData::m_mdtFlag {0} |
|
privateinherited |
◆ m_phi
| uint16_t L0Muon::ICandData::m_phi {0} |
|
privateinherited |
phi coordinate of the candidate
Definition at line 72 of file ICandData.h.
◆ m_pt
| uint16_t L0Muon::ICandData::m_pt {0} |
|
privateinherited |
◆ m_quality
| Quality L0Muon::RPCCandData::m_quality {0} |
|
private |
◆ m_sectorId
| uint16_t L0Muon::ICandData::m_sectorId {0} |
|
privateinherited |
◆ m_subdetectorId
| uint16_t L0Muon::ICandData::m_subdetectorId {0} |
|
privateinherited |
◆ m_threshold
| uint8_t L0Muon::ICandData::m_threshold {0} |
|
privateinherited |
◆ m_zPos
| uint16_t L0Muon::RPCCandData::m_zPos[4] {0, 0, 0, 0} |
|
private |
◆ s_coinTypeBitRange
| uint8_t L0Muon::RPCCandData::s_coinTypeBitRange = 0x7 |
|
staticconstexpr |
3 bits for the coincidence type
Definition at line 43 of file RPCCandData.h.
◆ s_coinTypeRange
| uint8_t L0Muon::RPCCandData::s_coinTypeRange = 6 |
|
staticconstexpr |
range of the coincidence type value
Definition at line 39 of file RPCCandData.h.
◆ s_etaBitRange
| uint16_t L0Muon::ICandData::s_etaBitRange = 0x3fff |
|
staticconstexprprivateinherited |
variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt
Definition at line 59 of file ICandData.h.
◆ s_etaRange
| float L0Muon::ICandData::s_etaRange = 2.7 |
|
staticconstexprprivateinherited |
◆ s_phiBitRange
| uint16_t L0Muon::ICandData::s_phiBitRange = 0x1ff |
|
staticconstexprprivateinherited |
◆ s_phiRange
| float L0Muon::ICandData::s_phiRange = 2.0 * M_PI |
|
staticconstexprprivateinherited |
◆ s_ptBitRange
| uint16_t L0Muon::ICandData::s_ptBitRange = 0xff |
|
staticconstexprprivateinherited |
◆ s_ptRange
| float L0Muon::ICandData::s_ptRange = 1000.0 |
|
staticconstexprprivateinherited |
◆ s_zPosBitRange
| uint16_t L0Muon::RPCCandData::s_zPosBitRange = 0xfff |
|
staticconstexpr |
◆ s_zPosRange
| float L0Muon::RPCCandData::s_zPosRange = 12500.0 |
|
staticconstexpr |
range of the RPC hits z positions
Definition at line 37 of file RPCCandData.h.
The documentation for this class was generated from the following files: