#include <EventFilter/DTRawToDigi/interface/DTDDUWords.h>
Public Member Functions | |
int | bunchID () const |
DTROBHeaderWord (const uint32_t index) | |
DTROBHeaderWord (const DTROBHeaderWord &obj) | |
DTROBHeaderWord () | |
Constructor. | |
int | eventID () const |
int | robID () const |
virtual | ~DTROBHeaderWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int rob_id, int event_id, int bunch_id) |
Private Attributes | |
uint32_t | word_ |
It interprets the ROB_ID (5 bits), the Event ID (12 bits) and the Bunch ID (12 bits).
Definition at line 403 of file DTDDUWords.h.
DTROBHeaderWord::DTROBHeaderWord | ( | ) | [inline] |
DTROBHeaderWord::DTROBHeaderWord | ( | const DTROBHeaderWord & | obj | ) | [inline] |
DTROBHeaderWord::DTROBHeaderWord | ( | const uint32_t | index | ) | [inline] |
virtual DTROBHeaderWord::~DTROBHeaderWord | ( | ) | [inline, virtual] |
int DTROBHeaderWord::bunchID | ( | ) | const [inline] |
Definition at line 420 of file DTDDUWords.h.
References BUNCH_ID_MASK, and word_.
Referenced by DTROS25Unpacker::interpretRawData(), and DTDataIntegrityTask::processROS25().
00420 { return (word_ & BUNCH_ID_MASK);}
int DTROBHeaderWord::eventID | ( | ) | const [inline] |
Definition at line 419 of file DTDDUWords.h.
References EVENT_ID_MASK, EVENT_ID_SHIFT, and word_.
Referenced by DTROS25Unpacker::interpretRawData().
00419 { return (word_ & EVENT_ID_MASK) >> EVENT_ID_SHIFT;}
int DTROBHeaderWord::robID | ( | ) | const [inline] |
Definition at line 418 of file DTDDUWords.h.
References ROB_ID_MASK, word_, and WORDTYPESHIFT.
Referenced by DTROS25Unpacker::interpretRawData(), and DTDataIntegrityTask::processROS25().
00418 { return (word_ & ROB_ID_MASK) >> WORDTYPESHIFT;}
static void DTROBHeaderWord::set | ( | uint32_t & | word, | |
int | rob_id, | |||
int | event_id, | |||
int | bunch_id | |||
) | [inline, static] |
Definition at line 423 of file DTDDUWords.h.
References EVENT_ID_SHIFT, DTROSWordType::headerControlWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.
Referenced by DTDigiToRaw::createFedBuffers().
00426 { 00427 00428 word = 00429 DTROSWordType::headerControlWord << WORDCONTROLSHIFT | 00430 rob_id << WORDTYPESHIFT | 00431 event_id << EVENT_ID_SHIFT | 00432 bunch_id; 00433 }
uint32_t DTROBHeaderWord::word_ [private] |