#include <DTDDUWords.h>
Public Member Functions | |
DTTDCErrorWord () | |
Constructor. | |
DTTDCErrorWord (const DTTDCErrorWord &obj) | |
DTTDCErrorWord (const uint32_t index) | |
int | HU () const |
int | PAF () const |
int | PC () const |
int | tdcError () const |
int | tdcID () const |
<== OBSOLETE!! | |
virtual | ~DTTDCErrorWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int pc, int paf, int hu, int tdc_id, int tdc_error) |
Private Attributes | |
uint32_t | word_ |
DT TDC Error interpreter. It interprets the Parity Checks, FIFO occupancy, Lokeced channels (all 1 bit), the TDC_ID (2 bits) and the TDC error flag (15 bits)
Definition at line 683 of file DTDDUWords.h.
DTTDCErrorWord::DTTDCErrorWord | ( | ) | [inline] |
DTTDCErrorWord::DTTDCErrorWord | ( | const DTTDCErrorWord & | obj | ) | [inline] |
DTTDCErrorWord::DTTDCErrorWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 692 of file DTDDUWords.h.
virtual DTTDCErrorWord::~DTTDCErrorWord | ( | ) | [inline, virtual] |
int DTTDCErrorWord::HU | ( | ) | const [inline] |
int DTTDCErrorWord::PAF | ( | ) | const [inline] |
int DTTDCErrorWord::PC | ( | ) | const [inline] |
static void DTTDCErrorWord::set | ( | uint32_t & | word, |
int | pc, | ||
int | paf, | ||
int | hu, | ||
int | tdc_id, | ||
int | tdc_error | ||
) | [inline, static] |
Definition at line 704 of file DTDDUWords.h.
References DTROSWordType::errorControlWord, ERRORSHIFT, PAF_SHIFT, PC_SHIFT, TDC_ID_SHIFT, and WORDCONTROLSHIFT.
{ word = DTROSWordType::errorControlWord << WORDCONTROLSHIFT | pc << PC_SHIFT | paf << PAF_SHIFT | hu << PAF_SHIFT | tdc_id << TDC_ID_SHIFT | 0 << ERRORSHIFT | tdc_error; }
int DTTDCErrorWord::tdcError | ( | ) | const [inline] |
Definition at line 702 of file DTDDUWords.h.
References TDC_ERROR_MASK, and word_.
Referenced by DTTDCErrorNotifier::print().
{ return (word_ & TDC_ERROR_MASK);}
int DTTDCErrorWord::tdcID | ( | ) | const [inline] |
<== OBSOLETE!!
Definition at line 701 of file DTDDUWords.h.
References TDC_ID_MASK, TDC_ID_SHIFT, and word_.
Referenced by DTTDCErrorNotifier::print().
{ return (word_ & TDC_ID_MASK) >> TDC_ID_SHIFT;}
uint32_t DTTDCErrorWord::word_ [private] |
Definition at line 723 of file DTDDUWords.h.
Referenced by HU(), PAF(), PC(), tdcError(), and tdcID().