CbmRoot
Loading...
Searching...
No Matches
cbm::algo::trd2d::UnpackPar Struct Reference

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.
 
std::map< uint8_t, UnpackAsicParfAsicParams = {}
 Parameters for each ASIC.
 

Detailed Description

Parameters required for the TRD2D unpacking (specific to one component)

Author
Dominik Smith d.smi.nosp@m.th@g.nosp@m.si.de
Since
31 January 2023

Definition at line 137 of file trd2d/UnpackMS.h.

Member Function Documentation

◆ dump()

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, fEqAdd, fEqId, fModId, and L_.

◆ mapFaspId2Mod()

template<uint8_t ver>
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).

Parameters
fasp_idindex of fasp as written on the message
Returns
fasp id on the module as it is used in the parameter file

Member Data Documentation

◆ fAsicParams

std::map<uint8_t, UnpackAsicPar> cbm::algo::trd2d::UnpackPar::fAsicParams = {}

Parameters for each ASIC.

Definition at line 142 of file trd2d/UnpackMS.h.

Referenced by dump().

◆ fEqAdd

uint16_t cbm::algo::trd2d::UnpackPar::fEqAdd = 0

Equipment (optical fiber) address [HEX].

Definition at line 140 of file trd2d/UnpackMS.h.

Referenced by dump().

◆ fEqId

uint8_t cbm::algo::trd2d::UnpackPar::fEqId = 0xff

Equipment (optical fiber) ID of component.

Definition at line 141 of file trd2d/UnpackMS.h.

Referenced by dump().

◆ fModId

uint16_t cbm::algo::trd2d::UnpackPar::fModId = 0

Module ID of component.

Definition at line 139 of file trd2d/UnpackMS.h.

Referenced by dump().

◆ fSystemTimeOffset

int32_t cbm::algo::trd2d::UnpackPar::fSystemTimeOffset = 0

Time calibration parameter.

Definition at line 138 of file trd2d/UnpackMS.h.


The documentation for this struct was generated from the following files: