Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [2:0] xtal Index starts from 1.
More...
#include <ElectronicsIdGPU.h>
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [2:0] xtal Index starts from 1.
Definition at line 20 of file ElectronicsIdGPU.h.
◆ ElectronicsIdGPU() [1/3]
constexpr ecal::raw::ElectronicsIdGPU::ElectronicsIdGPU |
( |
| ) |
|
|
inlineconstexpr |
◆ ElectronicsIdGPU() [2/3]
constexpr ecal::raw::ElectronicsIdGPU::ElectronicsIdGPU |
( |
uint32_t |
id | ) |
|
|
inlineconstexpr |
◆ ElectronicsIdGPU() [3/3]
constexpr ecal::raw::ElectronicsIdGPU::ElectronicsIdGPU |
( |
uint8_t const |
dccid, |
|
|
uint8_t const |
towerid, |
|
|
uint8_t const |
stripid, |
|
|
uint8_t const |
xtalid |
|
) |
| |
|
inlineconstexpr |
Constructor from dcc,tower,channel
Definition at line 27 of file ElectronicsIdGPU.h.
28 :
id_{static_cast<uint32_t>((xtalid & 0x7) | ((stripid & 0x7) << 3) | ((towerid & 0x7F) << 6) |
29 ((dccid & 0x7F) << 13))} {}
◆ dccId()
constexpr uint8_t ecal::raw::ElectronicsIdGPU::dccId |
( |
| ) |
const |
|
inlineconstexpr |
get the DCC (Ecal Local DCC value not global one) id
Definition at line 35 of file ElectronicsIdGPU.h.
35 {
return (
id_ >> 13) & 0x7F; }
References id_.
◆ linearIndex()
constexpr uint32_t ecal::raw::ElectronicsIdGPU::linearIndex |
( |
| ) |
const |
|
inlineconstexpr |
get the subdet
get a fast, compact, unique index for linear lookups (maximum value = 4194303)
Definition at line 47 of file ElectronicsIdGPU.h.
47 {
return id_ & 0x3FFFFF; }
References id_.
◆ operator()()
constexpr uint32_t ecal::raw::ElectronicsIdGPU::operator() |
( |
| ) |
|
|
inlineconstexpr |
◆ rawId()
constexpr uint32_t ecal::raw::ElectronicsIdGPU::rawId |
( |
| ) |
const |
|
inlineconstexpr |
◆ stripId()
constexpr uint8_t ecal::raw::ElectronicsIdGPU::stripId |
( |
| ) |
const |
|
inlineconstexpr |
◆ towerId()
constexpr uint8_t ecal::raw::ElectronicsIdGPU::towerId |
( |
| ) |
const |
|
inlineconstexpr |
◆ xtalId()
constexpr uint8_t ecal::raw::ElectronicsIdGPU::xtalId |
( |
| ) |
const |
|
inlineconstexpr |
◆ DCC_EBM
constexpr int ecal::raw::ElectronicsIdGPU::DCC_EBM = 10 |
|
staticconstexpr |
◆ DCC_EBP
constexpr int ecal::raw::ElectronicsIdGPU::DCC_EBP = 28 |
|
staticconstexpr |
◆ DCC_EEM
constexpr int ecal::raw::ElectronicsIdGPU::DCC_EEM = 1 |
|
staticconstexpr |
◆ DCC_EEP
constexpr int ecal::raw::ElectronicsIdGPU::DCC_EEP = 46 |
|
staticconstexpr |
◆ DCCID_PHI0_EBM
constexpr int ecal::raw::ElectronicsIdGPU::DCCID_PHI0_EBM = 10 |
|
staticconstexpr |
◆ DCCID_PHI0_EBP
constexpr int ecal::raw::ElectronicsIdGPU::DCCID_PHI0_EBP = 28 |
|
staticconstexpr |
◆ id_
uint32_t ecal::raw::ElectronicsIdGPU::id_ |
|
private |
◆ kCrystalsInPhi
constexpr int ecal::raw::ElectronicsIdGPU::kCrystalsInPhi = 20 |
|
staticconstexpr |
◆ kDCCChannelBoundary
constexpr int ecal::raw::ElectronicsIdGPU::kDCCChannelBoundary = 17 |
|
staticconstexpr |
◆ kTowersInPhi
constexpr int ecal::raw::ElectronicsIdGPU::kTowersInPhi = 4 |
|
staticconstexpr |
◆ MAX_CHANNELID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MAX_CHANNELID = 25 |
|
staticconstexpr |
◆ MAX_DCCID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MAX_DCCID = 54 |
|
staticconstexpr |
◆ MAX_DCCID_EBM
constexpr int ecal::raw::ElectronicsIdGPU::MAX_DCCID_EBM = 27 |
|
staticconstexpr |
◆ MAX_DCCID_EBP
constexpr int ecal::raw::ElectronicsIdGPU::MAX_DCCID_EBP = 45 |
|
staticconstexpr |
◆ MAX_DCCID_EEM
constexpr int ecal::raw::ElectronicsIdGPU::MAX_DCCID_EEM = 9 |
|
staticconstexpr |
◆ MAX_DCCID_EEP
constexpr int ecal::raw::ElectronicsIdGPU::MAX_DCCID_EEP = 54 |
|
staticconstexpr |
◆ MAX_STRIPID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MAX_STRIPID = 5 |
|
staticconstexpr |
◆ MAX_TOWERID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MAX_TOWERID = 70 |
|
staticconstexpr |
◆ MAX_XTALID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MAX_XTALID = 5 |
|
staticconstexpr |
◆ MIN_CHANNELID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MIN_CHANNELID = 1 |
|
staticconstexpr |
◆ MIN_DCCID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MIN_DCCID = 1 |
|
staticconstexpr |
◆ MIN_DCCID_EBM
constexpr int ecal::raw::ElectronicsIdGPU::MIN_DCCID_EBM = 10 |
|
staticconstexpr |
◆ MIN_DCCID_EBP
constexpr int ecal::raw::ElectronicsIdGPU::MIN_DCCID_EBP = 28 |
|
staticconstexpr |
◆ MIN_DCCID_EEM
constexpr int ecal::raw::ElectronicsIdGPU::MIN_DCCID_EEM = 1 |
|
staticconstexpr |
◆ MIN_DCCID_EEP
constexpr int ecal::raw::ElectronicsIdGPU::MIN_DCCID_EEP = 46 |
|
staticconstexpr |
◆ MIN_STRIPID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MIN_STRIPID = 1 |
|
staticconstexpr |
◆ MIN_TOWERID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MIN_TOWERID = 1 |
|
staticconstexpr |
◆ MIN_XTALID
constexpr uint8_t ecal::raw::ElectronicsIdGPU::MIN_XTALID = 1 |
|
staticconstexpr |