|
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 |
Referenced by CbmTrdFaspMessage(), and CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::CbmTrdFaspMessage24().
|
default |
References CbmTrdFaspMessage().
|
virtualdefault |
References rob.
| CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::CbmTrdFaspMessage | ( | uint8_t | rob, |
| uint8_t | asic, | ||
| uint8_t | c, | ||
| uint8_t | typ, | ||
| uint8_t | t, | ||
| uint16_t | d, | ||
| uint8_t | l ) |
|
inlinevirtual |
|
virtual |
Reimplemented in CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24.
Definition at line 391 of file CbmTrdUnpackFaspAlgo.cxx.
References CbmTrdUnpackFaspAlgo::kData, CbmTrdUnpackFaspAlgo::kEpoch, and CbmTrdUnpackFaspAlgo::kMessCh.
|
virtual |
Definition at line 437 of file CbmTrdUnpackFaspAlgo.cxx.
References ch, data, elink, epoch, fasp, getFaspIdMod(), CbmTrdUnpackFaspAlgo::kData, CbmTrdUnpackFaspAlgo::kEpoch, rob, tlab, and type.
Referenced by CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readDW(), readDW(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readEW(), and readEW().
|
virtual |
Reimplemented in CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24.
Definition at line 398 of file CbmTrdUnpackFaspAlgo.cxx.
References ch, data, fasp, CbmTrdUnpackFaspAlgo::kMessCh, CbmTrdUnpackFaspAlgo::kMessData, CbmTrdUnpackFaspAlgo::kMessTlab, CbmTrdUnpackFaspAlgo::kMessType, print(), tlab, type, and VERBOSE.
|
virtual |
Reimplemented in CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24.
Definition at line 419 of file CbmTrdUnpackFaspAlgo.cxx.
References ch, epoch, fasp, CbmTrdUnpackFaspAlgo::kMessCh, CbmTrdUnpackFaspAlgo::kMessEpoch, CbmTrdUnpackFaspAlgo::kMessType, print(), type, and VERBOSE.
| uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::ch = 0 |
ch id in the FASP
Definition at line 125 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdFaspMessage(), print(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readDW(), readDW(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readEW(), and readEW().
| uint16_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::data = 0 |
ADC value.
Definition at line 128 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdFaspMessage(), print(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readDW(), and readDW().
| 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 CbmTrdFaspMessage(), and print().
| uint32_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::epoch = 0 |
epoch id (not used for the moment)
Definition at line 129 of file CbmTrdUnpackFaspAlgo.h.
Referenced by print(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readEW(), and readEW().
| uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::fasp = 0 |
FASP id in the module.
Definition at line 133 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdFaspMessage(), getFaspIdMod(), print(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readDW(), readDW(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readEW(), and readEW().
| uint32_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::mod = 0 |
full module address according to CbmTrdAddress
Definition at line 130 of file CbmTrdUnpackFaspAlgo.h.
| uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::rob = 0 |
Read-Out unit id in the module.
Definition at line 131 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdFaspMessage(), getFaspIdMod(), print(), and ~CbmTrdFaspMessage().
| uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::tlab = 0 |
time of the digi inside the epoch
Definition at line 127 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdFaspMessage(), print(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readDW(), and readDW().
| uint8_t CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::type = 0 |
message type 0 = data, 1 = epoch
Definition at line 126 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdFaspMessage(), print(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readDW(), readDW(), CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::readEW(), and readEW().
| eMessageVersion CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage::version = eMessageVersion::kMessLegacy |
format version
Definition at line 124 of file CbmTrdUnpackFaspAlgo.h.
Referenced by CbmTrdUnpackFaspAlgo::CbmTrdFaspMessage24::CbmTrdFaspMessage24().