#include <DTDDUWords.h>
Public Member Functions | |
int | bunchID () const |
DTTDCHeaderWord () | |
Constructor. | |
DTTDCHeaderWord (const DTTDCHeaderWord &obj) | |
DTTDCHeaderWord (const uint32_t index) | |
int | eventID () const |
int | HU () const |
int | PAF () const |
int | PC () const |
int | tdcID () const |
<== OBSOLETE!! | |
virtual | ~DTTDCHeaderWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int pc, int paf, int hu, int tdc_id, int event_id, int bunch_id) |
Private Attributes | |
uint32_t | word_ |
DT TDC Header interpreter. It interprets the Parity Checks, FIFO occupancy, Lokeced channels (all 1 bit), the TDC_ID (2 bits), the Event ID (12 bits) and the Bunch ID (12 bits).
Definition at line 514 of file DTDDUWords.h.
DTTDCHeaderWord::DTTDCHeaderWord | ( | ) | [inline] |
DTTDCHeaderWord::DTTDCHeaderWord | ( | const DTTDCHeaderWord & | obj | ) | [inline] |
DTTDCHeaderWord::DTTDCHeaderWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 523 of file DTDDUWords.h.
virtual DTTDCHeaderWord::~DTTDCHeaderWord | ( | ) | [inline, virtual] |
int DTTDCHeaderWord::bunchID | ( | ) | const [inline] |
Definition at line 534 of file DTDDUWords.h.
References BUNCH_ID_MASK, and word_.
{ return (word_ & BUNCH_ID_MASK);}
int DTTDCHeaderWord::eventID | ( | ) | const [inline] |
Definition at line 533 of file DTDDUWords.h.
References EVENT_ID_MASK, EVENT_ID_SHIFT, and word_.
{ return (word_ & EVENT_ID_MASK) >> EVENT_ID_SHIFT;}
int DTTDCHeaderWord::HU | ( | ) | const [inline] |
int DTTDCHeaderWord::PAF | ( | ) | const [inline] |
int DTTDCHeaderWord::PC | ( | ) | const [inline] |
static void DTTDCHeaderWord::set | ( | uint32_t & | word, |
int | pc, | ||
int | paf, | ||
int | hu, | ||
int | tdc_id, | ||
int | event_id, | ||
int | bunch_id | ||
) | [inline, static] |
Definition at line 536 of file DTDDUWords.h.
References EVENT_ID_SHIFT, PAF_SHIFT, PC_SHIFT, TDC_ID_SHIFT, DTROSWordType::tdcHeaderControlWord, and WORDCONTROLSHIFT.
{ word = DTROSWordType::tdcHeaderControlWord << WORDCONTROLSHIFT | pc << PC_SHIFT | paf << PAF_SHIFT | hu << PAF_SHIFT | tdc_id << TDC_ID_SHIFT | event_id << EVENT_ID_SHIFT | bunch_id; }
int DTTDCHeaderWord::tdcID | ( | ) | const [inline] |
<== OBSOLETE!!
Definition at line 532 of file DTDDUWords.h.
References TDC_ID_MASK, TDC_ID_SHIFT, and word_.
{ return (word_ & TDC_ID_MASK) >> TDC_ID_SHIFT;}
uint32_t DTTDCHeaderWord::word_ [private] |