CbmRoot
Loading...
Searching...
No Matches
cbm::algo::trd2d Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  FaspMessage
 Data structure for unpacking the FASP word. More...
 
class  ReadoutConfig
 Provides the hardware-to-software address mapping for the CBM-TRD2D. More...
 
class  Unpack
 
struct  UnpackAsicPar
 TRD2D Unpacking parameters for one Asic. More...
 
struct  UnpackAuxData
 
struct  UnpackChannelPar
 TRD2D Unpacking parameters for one Asic channel. More...
 
struct  UnpackMonitorData
 
class  UnpackMS
 Unpack algorithm for TRD2D. More...
 
class  UnpackMS< uint8_t(eMessageVersion::kMess24)>
 
struct  UnpackPar
 Parameters required for the TRD2D unpacking (specific to one component) More...
 

Enumerations

enum class  eMessageLength : int {
  kMessCh = 4 , kMessType = 1 , kMessTlab = 7 , kMessData = 14 ,
  kMessFasp = 6 , kMessEpoch = 21
}
 
enum class  eMessageVersion : uint8_t { kMessLegacy = 2 , kMess24 = 3 }
 
enum class  eMessageType : int { kData = 0 , kEpoch = 1 , kNone }
 

Functions

template<>
eMessageType FaspMessage::getType< uint8_t(eMessageVersion::kMess24)> (uint32_t w)
 
template<>
void FaspMessage::readDW< uint8_t(eMessageVersion::kMess24)> (uint32_t w)
 
template<>
void FaspMessage::readEW< uint8_t(eMessageVersion::kMess24)> (uint32_t w)
 
template<>
uint8_t UnpackPar::mapFaspId2Mod< uint8_t(eMessageVersion::kMessLegacy)> (uint8_t fasp_id) const
 
template<>
uint8_t UnpackPar::mapFaspId2Mod< uint8_t(eMessageVersion::kMess24)> (uint8_t fasp_id) const
 

Enumeration Type Documentation

◆ eMessageLength

enum class cbm::algo::trd2d::eMessageLength : int
strong
Enumerator
kMessCh 
kMessType 
kMessTlab 
kMessData 
kMessFasp 
kMessEpoch 

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

◆ eMessageType

enum class cbm::algo::trd2d::eMessageType : int
strong
Enumerator
kData 
kEpoch 
kNone 

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

◆ eMessageVersion

enum class cbm::algo::trd2d::eMessageVersion : uint8_t
strong

) starting with kMess24

  • remove time buffering of digi per channel as a new 32 channels ADC is used in the FEE
Enumerator
kMessLegacy 
kMess24 

unpacker version for 2-board FASPRO+GETS HW

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

Function Documentation

◆ FaspMessage::getType< uint8_t(eMessageVersion::kMess24)>()

Search the data type descriptor in a FASP word. Starting with message version kMess24

Definition at line 57 of file trd2d/UnpackMS.cxx.

References kData, and kEpoch.

◆ FaspMessage::readDW< uint8_t(eMessageVersion::kMess24)>()

template<>
void cbm::algo::trd2d::FaspMessage::readDW< uint8_t(eMessageVersion::kMess24)> ( uint32_t w)

Data Word unpacking starting with message version kMess24

Definition at line 73 of file trd2d/UnpackMS.cxx.

References kMessCh, kMessData, kMessFasp, kMessTlab, and kMessType.

◆ FaspMessage::readEW< uint8_t(eMessageVersion::kMess24)>()

template<>
void cbm::algo::trd2d::FaspMessage::readEW< uint8_t(eMessageVersion::kMess24)> ( uint32_t w)

Epoch Word unpacking starting with message version kMess24

Definition at line 115 of file trd2d/UnpackMS.cxx.

References kMessCh, kMessEpoch, kMessFasp, and kMessType.

◆ UnpackPar::mapFaspId2Mod< uint8_t(eMessageVersion::kMess24)>()

template<>
uint8_t cbm::algo::trd2d::UnpackPar::mapFaspId2Mod< uint8_t(eMessageVersion::kMess24)> ( uint8_t fasp_id) const

Use the mapping 36 fasp -> 2 optical fiber (equipment id) Applies to FASPRO/FW v2 (e.g. mCBM25)

Definition at line 158 of file trd2d/UnpackMS.cxx.

References NFASPROB.

◆ UnpackPar::mapFaspId2Mod< uint8_t(eMessageVersion::kMessLegacy)>()

template<>
uint8_t cbm::algo::trd2d::UnpackPar::mapFaspId2Mod< uint8_t(eMessageVersion::kMessLegacy)> ( uint8_t fasp_id) const

Use the mapping 36 fasp -> 1 optical fiber (equipment id) Applies to FASPRO/FW v1 (e.g. mCBM22)

Definition at line 148 of file trd2d/UnpackMS.cxx.

References L_, and NFASPROB.