CbmRoot
|
Data structure for unpacking the FASP word. More...
#include <CbmTrdUnpackFaspAlgo.h>
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. | |
Data structure for unpacking the FASP word.
Definition at line 111 of file CbmTrdUnpackFaspAlgo.h.
|
default |
|
default |
|
virtualdefault |
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.
|
inlinevirtual |
Definition at line 117 of file CbmTrdUnpackFaspAlgo.h.
References fasp, NFASPCROB, and rob.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
|
virtual |
Reimplemented in CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24.
Definition at line 385 of file CbmTrdUnpackFaspAlgo.cxx.
References CbmTrdUnpackFaspAlgo::kData, CbmTrdUnpackFaspAlgo::kEpoch, and CbmTrdUnpackFaspAlgo::kMessCh.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
|
virtual |
Definition at line 431 of file CbmTrdUnpackFaspAlgo.cxx.
References CbmTrdUnpackFaspAlgo::kData, and CbmTrdUnpackFaspAlgo::kEpoch.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
|
virtual |
Reimplemented in CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24.
Definition at line 392 of file CbmTrdUnpackFaspAlgo.cxx.
References CbmTrdUnpackFaspAlgo::kMessCh, CbmTrdUnpackFaspAlgo::kMessData, CbmTrdUnpackFaspAlgo::kMessTlab, CbmTrdUnpackFaspAlgo::kMessType, and VERBOSE.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
|
virtual |
Reimplemented in CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24.
Definition at line 413 of file CbmTrdUnpackFaspAlgo.cxx.
References CbmTrdUnpackFaspAlgo::kMessCh, CbmTrdUnpackFaspAlgo::kMessEpoch, CbmTrdUnpackFaspAlgo::kMessType, and VERBOSE.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::ch = 0 |
ch id in the FASP
Definition at line 125 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
uint16_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::data = 0 |
ADC value.
Definition at line 128 of file CbmTrdUnpackFaspAlgo.h.
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().
uint32_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::epoch = 0 |
epoch id (not used for the moment)
Definition at line 129 of file CbmTrdUnpackFaspAlgo.h.
uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::fasp = 0 |
FASP id in the module.
Definition at line 133 of file CbmTrdUnpackFaspAlgo.h.
Referenced by getFaspIdMod().
uint32_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::mod = 0 |
full module address according to CbmTrdAddress
Definition at line 130 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
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().
uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::tlab = 0 |
time of the digi inside the epoch
Definition at line 127 of file CbmTrdUnpackFaspAlgo.h.
uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::type = 0 |
message type 0 = data, 1 = epoch
Definition at line 126 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdUnpackFaspAlgo::unpack().
eMessageVersion CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::version = eMessageVersion::kMessLegacy |
format version
Definition at line 124 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::CbmTrdFaspMessage24(), CbmTrdUnpackFaspAlgo::FinalizeComponent(), and CbmTrdUnpackFaspAlgo::pushDigis().