CbmRoot
Loading...
Searching...
No Matches
CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage Class Reference

Data structure for unpacking the FASP word. More...

#include <CbmTrdUnpackFaspAlgo.h>

Inheritance diagram for CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage:
[legend]

Public Member Functions

 CbmTrdFaspMessage ()=default
 
 CbmTrdFaspMessage (const CbmTrdFaspMessage &)=default
 
virtual ~CbmTrdFaspMessage ()=default
 
 CbmTrdFaspMessage (uint8_t rob, uint8_t asic, uint8_t c, uint8_t typ, uint8_t t, uint16_t d, uint8_t l)
 
virtual int getFaspIdMod () const
 
virtual eMessageType getType (uint32_t w) const
 
virtual void print () const
 
virtual void readDW (uint32_t w)
 
virtual void readEW (uint32_t w)
 

Public Attributes

eMessageVersion version = eMessageVersion::kMessLegacy
 format version
 
uint8_t ch = 0
 ch id in the FASP
 
uint8_t type = 0
 message type 0 = data, 1 = epoch
 
uint8_t tlab = 0
 time of the digi inside the epoch
 
uint16_t data = 0
 ADC value.
 
uint32_t epoch = 0
 epoch id (not used for the moment)
 
uint32_t mod = 0
 full module address according to CbmTrdAddress
 
uint8_t rob = 0
 Read-Out unit id in the module.
 
uint8_t elink = 0
 optical link for read-out unit (up or down, starting with v2024)
 
uint8_t fasp = 0
 FASP id in the module.
 

Detailed Description

Data structure for unpacking the FASP word.

Definition at line 111 of file CbmTrdUnpackFaspAlgo.h.

Constructor & Destructor Documentation

◆ CbmTrdFaspMessage() [1/3]

CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::CbmTrdFaspMessage ( )
default

◆ CbmTrdFaspMessage() [2/3]

CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::CbmTrdFaspMessage ( const CbmTrdFaspMessage & )
default

◆ ~CbmTrdFaspMessage()

virtual CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::~CbmTrdFaspMessage ( )
virtualdefault

◆ CbmTrdFaspMessage() [3/3]

CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::CbmTrdFaspMessage ( uint8_t rob,
uint8_t asic,
uint8_t c,
uint8_t typ,
uint8_t t,
uint16_t d,
uint8_t l )

Definition at line 372 of file CbmTrdUnpackFaspAlgo.cxx.

Member Function Documentation

◆ getFaspIdMod()

virtual int CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::getFaspIdMod ( ) const
inlinevirtual

Definition at line 117 of file CbmTrdUnpackFaspAlgo.h.

References fasp, NFASPCROB, and rob.

Referenced by CbmTrdUnpackFaspAlgo::unpack().

◆ getType()

CbmTrdUnpackFaspAlgo::eMessageType CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::getType ( uint32_t w) const
virtual

◆ print()

void CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::print ( ) const
virtual

◆ readDW()

void CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::readDW ( uint32_t w)
virtual

◆ readEW()

void CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::readEW ( uint32_t w)
virtual

Member Data Documentation

◆ ch

uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::ch = 0

ch id in the FASP

Definition at line 125 of file CbmTrdUnpackFaspAlgo.h.

Referenced by CbmTrdUnpackFaspAlgo::unpack().

◆ data

uint16_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::data = 0

ADC value.

Definition at line 128 of file CbmTrdUnpackFaspAlgo.h.

◆ elink

uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::elink = 0

optical link for read-out unit (up or down, starting with v2024)

Definition at line 132 of file CbmTrdUnpackFaspAlgo.h.

Referenced by CbmTrdUnpackFaspAlgo::unpack().

◆ epoch

uint32_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::epoch = 0

epoch id (not used for the moment)

Definition at line 129 of file CbmTrdUnpackFaspAlgo.h.

◆ fasp

uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::fasp = 0

FASP id in the module.

Definition at line 133 of file CbmTrdUnpackFaspAlgo.h.

Referenced by getFaspIdMod().

◆ mod

uint32_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::mod = 0

full module address according to CbmTrdAddress

Definition at line 130 of file CbmTrdUnpackFaspAlgo.h.

Referenced by CbmTrdUnpackFaspAlgo::unpack().

◆ rob

uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::rob = 0

Read-Out unit id in the module.

Definition at line 131 of file CbmTrdUnpackFaspAlgo.h.

Referenced by getFaspIdMod(), and CbmTrdUnpackFaspAlgo::unpack().

◆ tlab

uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::tlab = 0

time of the digi inside the epoch

Definition at line 127 of file CbmTrdUnpackFaspAlgo.h.

◆ type

uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::type = 0

message type 0 = data, 1 = epoch

Definition at line 126 of file CbmTrdUnpackFaspAlgo.h.

Referenced by CbmTrdUnpackFaspAlgo::unpack().

◆ version


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