#include <ICandData.h>
◆ BC_ID
◆ ICandData() [1/2]
| L0Muon::ICandData::ICandData |
( |
uint16_t | subdetectorId, |
|
|
uint16_t | sectorId, |
|
|
uint16_t | bcTag ) |
|
inline |
◆ ICandData() [2/2]
| L0Muon::ICandData::ICandData |
( |
| ) |
|
|
default |
◆ ~ICandData()
| virtual L0Muon::ICandData::~ICandData |
( |
| ) |
|
|
virtualdefault |
◆ bcTag()
| uint16_t L0Muon::ICandData::bcTag |
( |
| ) |
const |
|
inline |
◆ charge()
| uint8_t L0Muon::ICandData::charge |
( |
| ) |
const |
|
inline |
◆ eta()
| float L0Muon::ICandData::eta |
( |
| ) |
const |
get the kinematic parameters
Definition at line 28 of file ICandData.cxx.
29 {
31
32 }
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 |
|
inline |
◆ phi()
| float L0Muon::ICandData::phi |
( |
| ) |
const |
Definition at line 33 of file ICandData.cxx.
34 {
36
37 }
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 |
Definition at line 38 of file ICandData.cxx.
39 {
41 }
static constexpr float s_ptRange
uint16_t m_pt
pt of the candidate
static constexpr uint16_t s_ptBitRange
◆ sectorId()
| uint16_t L0Muon::ICandData::sectorId |
( |
| ) |
const |
|
inline |
◆ setCharge()
| void L0Muon::ICandData::setCharge |
( |
uint8_t | charge | ) |
|
|
inline |
◆ setEta()
| void L0Muon::ICandData::setEta |
( |
float | eta | ) |
|
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.
13 {
17 }
float eta() const
get the kinematic parameters
◆ setMdtFlag()
| void L0Muon::ICandData::setMdtFlag |
( |
uint8_t | mdtFlag | ) |
|
|
inline |
◆ setPhi()
| void L0Muon::ICandData::setPhi |
( |
float | phi | ) |
|
◆ setPt()
| void L0Muon::ICandData::setPt |
( |
float | pt | ) |
|
◆ setThreshold()
| void L0Muon::ICandData::setThreshold |
( |
float | threshold | ) |
|
|
inline |
◆ subdetectorId()
| uint16_t L0Muon::ICandData::subdetectorId |
( |
| ) |
const |
|
inline |
◆ threshold()
| uint8_t L0Muon::ICandData::threshold |
( |
| ) |
const |
|
inline |
◆ m_bcTag
| uint16_t L0Muon::ICandData::m_bcTag {0} |
|
private |
◆ m_charge
| uint8_t L0Muon::ICandData::m_charge {0} |
|
private |
◆ m_eta
| uint16_t L0Muon::ICandData::m_eta {0} |
|
private |
◆ m_mdtFlag
| uint8_t L0Muon::ICandData::m_mdtFlag {0} |
|
private |
◆ m_phi
| uint16_t L0Muon::ICandData::m_phi {0} |
|
private |
◆ m_pt
| uint16_t L0Muon::ICandData::m_pt {0} |
|
private |
◆ m_sectorId
| uint16_t L0Muon::ICandData::m_sectorId {0} |
|
private |
◆ m_subdetectorId
| uint16_t L0Muon::ICandData::m_subdetectorId {0} |
|
private |
◆ m_threshold
| uint8_t L0Muon::ICandData::m_threshold {0} |
|
private |
◆ s_etaBitRange
| uint16_t L0Muon::ICandData::s_etaBitRange = 0x3fff |
|
staticconstexprprivate |
◆ s_etaRange
| float L0Muon::ICandData::s_etaRange = 2.7 |
|
staticconstexprprivate |
◆ s_phiBitRange
| uint16_t L0Muon::ICandData::s_phiBitRange = 0x1ff |
|
staticconstexprprivate |
◆ s_phiRange
| float L0Muon::ICandData::s_phiRange = 2.0 * M_PI |
|
staticconstexprprivate |
◆ s_ptBitRange
| uint16_t L0Muon::ICandData::s_ptBitRange = 0xff |
|
staticconstexprprivate |
◆ s_ptRange
| float L0Muon::ICandData::s_ptRange = 1000.0 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: