#include <DTDDUWords.h>
Public Member Functions | |
DTLocalTriggerHeaderWord () | |
Constructor. | |
DTLocalTriggerHeaderWord (const DTLocalTriggerHeaderWord &obj) | |
DTLocalTriggerHeaderWord (const uint32_t index) | |
int | eventID () const |
int | SCFO () const |
virtual | ~DTLocalTriggerHeaderWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int event_id, int scfo) |
Private Attributes | |
uint32_t | word_ |
DT Sector Collector header interpreter. It interprets ROS event ID (12 bits) and the Sector Collector FIFO occupancy (8 bits)
Definition at line 735 of file DTDDUWords.h.
DTLocalTriggerHeaderWord::DTLocalTriggerHeaderWord | ( | ) | [inline] |
DTLocalTriggerHeaderWord::DTLocalTriggerHeaderWord | ( | const DTLocalTriggerHeaderWord & | obj | ) | [inline] |
DTLocalTriggerHeaderWord::DTLocalTriggerHeaderWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 744 of file DTDDUWords.h.
virtual DTLocalTriggerHeaderWord::~DTLocalTriggerHeaderWord | ( | ) | [inline, virtual] |
int DTLocalTriggerHeaderWord::eventID | ( | ) | const [inline] |
Definition at line 750 of file DTDDUWords.h.
References EVENT_ID_MASK, EVENT_ID_SHIFT, and word_.
Referenced by DTROS25Unpacker::interpretRawData().
{ return (word_ & EVENT_ID_MASK) >> EVENT_ID_SHIFT;}
int DTLocalTriggerHeaderWord::SCFO | ( | ) | const [inline] |
static void DTLocalTriggerHeaderWord::set | ( | uint32_t & | word, |
int | event_id, | ||
int | scfo | ||
) | [inline, static] |
Definition at line 754 of file DTDDUWords.h.
References EVENT_ID_SHIFT, DTROSWordType::headerControlWord, DTROSWordType::scTypeWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.
{ word = DTROSWordType::headerControlWord << WORDCONTROLSHIFT | DTROSWordType::scTypeWord << WORDTYPESHIFT | event_id << EVENT_ID_SHIFT | scfo; }
uint32_t DTLocalTriggerHeaderWord::word_ [private] |
Definition at line 767 of file DTDDUWords.h.