CbmRoot
|
Parameters required for the TRD2D unpacking (specific to one component) More...
#include <UnpackMS.h>
Public Member Functions | |
void | dump () const |
Write to the debug stream the content of the current param object. | |
template<uint8_t ver> | |
uint8_t | mapFaspId2Mod (uint8_t fasp_id) const |
Calculate the module wise FASP id from the FASP id provided at the level of equipment Id (optical fibre in TRD2D case). | |
Public Attributes | |
int32_t | fSystemTimeOffset = 0 |
Time calibration parameter. | |
uint16_t | fModId = 0 |
Module ID of component. | |
uint16_t | fEqAdd = 0 |
Equipment (optical fiber) address [HEX]. | |
uint8_t | fEqId = 0xff |
Equipment (optical fiber) ID of component. | |
float | fRefSignal = 900 |
reference signal for calibration | |
std::map< uint8_t, UnpackAsicPar > | fAsicParams = {} |
Parameters for each ASIC. | |
std::array< CalibChannelPar, NFASPMOD *NFASPCH > | fCalibParams |
Parameters for each ASIC channel for each module. | |
int | toff [NFASPMOD *NFASPPAD] |
Parameters required for the TRD2D unpacking (specific to one component)
Definition at line 165 of file trd2d/UnpackMS.h.
void cbm::algo::trd2d::UnpackPar::dump | ( | ) | const |
Write to the debug stream the content of the current param object.
Definition at line 136 of file trd2d/UnpackMS.cxx.
References fAsicParams, fCalibParams, fEqAdd, fEqId, fModId, fRefSignal, fSystemTimeOffset, L_, NFASPCH, and NFASPMOD.
uint8_t cbm::algo::trd2d::UnpackPar::mapFaspId2Mod | ( | uint8_t | fasp_id | ) | const |
Calculate the module wise FASP id from the FASP id provided at the level of equipment Id (optical fibre in TRD2D case).
fasp_id | index of fasp as written on the message |
std::map<uint8_t, UnpackAsicPar> cbm::algo::trd2d::UnpackPar::fAsicParams = {} |
std::array<CalibChannelPar, NFASPMOD* NFASPCH> cbm::algo::trd2d::UnpackPar::fCalibParams |
Parameters for each ASIC channel for each module.
Definition at line 172 of file trd2d/UnpackMS.h.
Referenced by dump().
uint16_t cbm::algo::trd2d::UnpackPar::fEqAdd = 0 |
Equipment (optical fiber) address [HEX].
Definition at line 168 of file trd2d/UnpackMS.h.
Referenced by dump().
uint8_t cbm::algo::trd2d::UnpackPar::fEqId = 0xff |
Equipment (optical fiber) ID of component.
Definition at line 169 of file trd2d/UnpackMS.h.
Referenced by dump().
uint16_t cbm::algo::trd2d::UnpackPar::fModId = 0 |
float cbm::algo::trd2d::UnpackPar::fRefSignal = 900 |
reference signal for calibration
Definition at line 170 of file trd2d/UnpackMS.h.
Referenced by dump().
int32_t cbm::algo::trd2d::UnpackPar::fSystemTimeOffset = 0 |
Definition at line 174 of file trd2d/UnpackMS.h.