CbmRoot
|
STS Module parameters. More...
#include <StsRecoUtils.h>
Static Public Member Functions | |
static std::optional< u16 > | ChannelInModule (const u16 elink_chn, const u16 asic_idx) |
Channel HW to SW conversion. | |
static std::optional< std::pair< u16, u16 > > | ChannelInAsic (const u16 channel) |
Channel SW to HW conversion. | |
Static Public Attributes | |
static constexpr u16 | CHANNELS_PER_ASIC = 128 |
static constexpr u16 | ASICS_PER_MODULE = 16 |
static constexpr u16 | CHANNELS_PER_MODULE = CHANNELS_PER_ASIC * ASICS_PER_MODULE |
static constexpr u16 | ZSTRIP_ASIC = 8 |
static constexpr u16 | ZSTRIP_HW_CHANNEL = 127 |
static constexpr u16 | ZSTRIP_SW_CHANNEL = 2046 |
static constexpr u16 | ZSTRIP_OFFSET = ZSTRIP_SW_CHANNEL - 1022 |
STS Module parameters.
Definition at line 17 of file StsRecoUtils.h.
|
inlinestatic |
Channel SW to HW conversion.
channel | Channel number in module (SW) |
chan_per_asic | Channels per ASIC |
asic_per_module | ASICs per module |
Definition at line 58 of file StsRecoUtils.h.
References ASICS_PER_MODULE, CHANNELS_PER_ASIC, CHANNELS_PER_MODULE, ZSTRIP_OFFSET, and ZSTRIP_SW_CHANNEL.
|
inlinestatic |
Channel HW to SW conversion.
elink_chn | Channel number in elink (HW) |
asic_idx | ASIC index in module |
Definition at line 36 of file StsRecoUtils.h.
References ASICS_PER_MODULE, CHANNELS_PER_ASIC, CHANNELS_PER_MODULE, ZSTRIP_ASIC, ZSTRIP_HW_CHANNEL, and ZSTRIP_OFFSET.
|
staticconstexpr |
Definition at line 20 of file StsRecoUtils.h.
Referenced by ChannelInAsic(), ChannelInModule(), TEST(), TEST(), and TEST().
|
staticconstexpr |
Definition at line 19 of file StsRecoUtils.h.
Referenced by ChannelInAsic(), ChannelInModule(), TEST(), TEST(), and TEST().
|
staticconstexpr |
Definition at line 21 of file StsRecoUtils.h.
Referenced by ChannelInAsic(), ChannelInModule(), TEST(), and TEST().
|
staticconstexpr |
Definition at line 26 of file StsRecoUtils.h.
Referenced by ChannelInModule().
|
staticconstexpr |
Definition at line 27 of file StsRecoUtils.h.
Referenced by ChannelInModule().
|
staticconstexpr |
Definition at line 29 of file StsRecoUtils.h.
Referenced by ChannelInAsic(), and ChannelInModule().
|
staticconstexpr |
Definition at line 28 of file StsRecoUtils.h.
Referenced by ChannelInAsic().