#include <DTDDUWords.h>
Public Member Functions | |
DTTDCTrailerWord () | |
Constructor. | |
DTTDCTrailerWord (const DTTDCTrailerWord &obj) | |
DTTDCTrailerWord (const uint32_t index) | |
int | eventID () const |
int | HU () const |
int | PAF () const |
int | PC () const |
int | tdcID () const |
<== OBSOLETE!! | |
int | wordCount () const |
virtual | ~DTTDCTrailerWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int pc, int paf, int hu, int tdc_id, int event_id, int word_count) |
Private Attributes | |
uint32_t | word_ |
DT TDC Trailer 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 Word ID (12 bits).
Definition at line 570 of file DTDDUWords.h.
DTTDCTrailerWord::DTTDCTrailerWord | ( | ) | [inline] |
DTTDCTrailerWord::DTTDCTrailerWord | ( | const DTTDCTrailerWord & | obj | ) | [inline] |
DTTDCTrailerWord::DTTDCTrailerWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 579 of file DTDDUWords.h.
virtual DTTDCTrailerWord::~DTTDCTrailerWord | ( | ) | [inline, virtual] |
int DTTDCTrailerWord::eventID | ( | ) | const [inline] |
Definition at line 589 of file DTDDUWords.h.
References EVENT_ID_MASK, EVENT_ID_SHIFT, and word_.
{ return (word_ & EVENT_ID_MASK) >> EVENT_ID_SHIFT;}
int DTTDCTrailerWord::HU | ( | ) | const [inline] |
int DTTDCTrailerWord::PAF | ( | ) | const [inline] |
int DTTDCTrailerWord::PC | ( | ) | const [inline] |
static void DTTDCTrailerWord::set | ( | uint32_t & | word, |
int | pc, | ||
int | paf, | ||
int | hu, | ||
int | tdc_id, | ||
int | event_id, | ||
int | word_count | ||
) | [inline, static] |
Definition at line 592 of file DTDDUWords.h.
References EVENT_ID_SHIFT, PAF_SHIFT, PC_SHIFT, TDC_ID_SHIFT, DTROSWordType::tdcTrailerControlWord, and WORDCONTROLSHIFT.
{ word = DTROSWordType::tdcTrailerControlWord << WORDCONTROLSHIFT | pc << PC_SHIFT | paf << PAF_SHIFT | hu << PAF_SHIFT | tdc_id << TDC_ID_SHIFT | event_id << EVENT_ID_SHIFT | word_count; }
int DTTDCTrailerWord::tdcID | ( | ) | const [inline] |
<== OBSOLETE!!
Definition at line 588 of file DTDDUWords.h.
References TDC_ID_MASK, TDC_ID_SHIFT, and word_.
{ return (word_ & TDC_ID_MASK) >> TDC_ID_SHIFT;}
int DTTDCTrailerWord::wordCount | ( | ) | const [inline] |
Definition at line 590 of file DTDDUWords.h.
References word_, and WORD_COUNT_MASK.
{ return (word_ & WORD_COUNT_MASK);}
uint32_t DTTDCTrailerWord::word_ [private] |
Definition at line 612 of file DTDDUWords.h.
Referenced by eventID(), HU(), PAF(), PC(), tdcID(), and wordCount().