#include <EventFilter/DTRawToDigi/interface/DTDDUWords.h>
Public Member Functions | |
DTTDCErrorWord (const uint32_t index) | |
DTTDCErrorWord (const DTTDCErrorWord &obj) | |
DTTDCErrorWord () | |
Constructor. | |
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_ |
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 670 of file DTDDUWords.h.
DTTDCErrorWord::DTTDCErrorWord | ( | ) | [inline] |
DTTDCErrorWord::DTTDCErrorWord | ( | const DTTDCErrorWord & | obj | ) | [inline] |
DTTDCErrorWord::DTTDCErrorWord | ( | const uint32_t | index | ) | [inline] |
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 691 of file DTDDUWords.h.
References DTROSWordType::errorControlWord, ERRORSHIFT, PAF_SHIFT, PC_SHIFT, TDC_ID_SHIFT, and WORDCONTROLSHIFT.
00696 { 00697 00698 word = 00699 DTROSWordType::errorControlWord << WORDCONTROLSHIFT | 00700 pc << PC_SHIFT | 00701 paf << PAF_SHIFT | 00702 hu << PAF_SHIFT | 00703 tdc_id << TDC_ID_SHIFT | 00704 0 << ERRORSHIFT | 00705 tdc_error; 00706 }
int DTTDCErrorWord::tdcError | ( | ) | const [inline] |
Definition at line 689 of file DTDDUWords.h.
References TDC_ERROR_MASK, and word_.
Referenced by DTTDCErrorNotifier::print().
00689 { return (word_ & TDC_ERROR_MASK);}
int DTTDCErrorWord::tdcID | ( | ) | const [inline] |
<== OBSOLETE!!
Definition at line 688 of file DTDDUWords.h.
References TDC_ID_MASK, TDC_ID_SHIFT, and word_.
Referenced by DTTDCErrorNotifier::print().
00688 { return (word_ & TDC_ID_MASK) >> TDC_ID_SHIFT;}
uint32_t DTTDCErrorWord::word_ [private] |
Definition at line 710 of file DTDDUWords.h.
Referenced by HU(), PAF(), PC(), tdcError(), and tdcID().