#include <DTDDUWords.h>
Public Member Functions | |
DTTDCMeasurementWord () | |
Constructor. | |
DTTDCMeasurementWord (const DTTDCMeasurementWord &obj) | |
DTTDCMeasurementWord (const uint32_t index) | |
int | HU () const |
int | PAF () const |
int | PC () const |
int | tdcChannel () const |
int | tdcID () const |
<== OBSOLETE!! | |
int | tdcTime () const |
virtual | ~DTTDCMeasurementWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int pc, int paf, int hu, int tdc_id, int tdc_channel, int tdc_time) |
Private Attributes | |
uint32_t | word_ |
DT TDC Measurement interpreter. It interprets the Parity Checks, FIFO occupancy, Lokeced channels (all 1 bit), the TDC_ID (2 bits), the TDC channel (5 bits), and the TDC time (19 bits)
Definition at line 625 of file DTDDUWords.h.
DTTDCMeasurementWord::DTTDCMeasurementWord | ( | ) | [inline] |
DTTDCMeasurementWord::DTTDCMeasurementWord | ( | const DTTDCMeasurementWord & | obj | ) | [inline] |
DTTDCMeasurementWord::DTTDCMeasurementWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 634 of file DTDDUWords.h.
virtual DTTDCMeasurementWord::~DTTDCMeasurementWord | ( | ) | [inline, virtual] |
int DTTDCMeasurementWord::HU | ( | ) | const [inline] |
int DTTDCMeasurementWord::PAF | ( | ) | const [inline] |
int DTTDCMeasurementWord::PC | ( | ) | const [inline] |
Definition at line 640 of file DTDDUWords.h.
References PC_MASK, PC_SHIFT, and word_.
Referenced by DTDataIntegrityTask::processROS25().
static void DTTDCMeasurementWord::set | ( | uint32_t & | word, |
int | pc, | ||
int | paf, | ||
int | hu, | ||
int | tdc_id, | ||
int | tdc_channel, | ||
int | tdc_time | ||
) | [inline, static] |
Definition at line 648 of file DTDDUWords.h.
References PAF_SHIFT, PC_SHIFT, TDC_CHANNEL_SHIFT, TDC_ID_SHIFT, DTROSWordType::tdcDataControlWord, and WORDCONTROLSHIFT.
Referenced by DTDigiToRaw::createFedBuffers().
{ word = DTROSWordType::tdcDataControlWord << WORDCONTROLSHIFT | pc << PC_SHIFT | paf << PAF_SHIFT | hu << PAF_SHIFT | tdc_id << TDC_ID_SHIFT | tdc_channel << TDC_CHANNEL_SHIFT | tdc_time; }
int DTTDCMeasurementWord::tdcChannel | ( | ) | const [inline] |
Definition at line 644 of file DTDDUWords.h.
References TDC_CHANNEL_MASK, TDC_CHANNEL_SHIFT, and word_.
Referenced by DTDigiToRaw::createFedBuffers(), and DTROS25Unpacker::interpretRawData().
{ return (word_ & TDC_CHANNEL_MASK) >> TDC_CHANNEL_SHIFT;}
int DTTDCMeasurementWord::tdcID | ( | ) | const [inline] |
<== OBSOLETE!!
Definition at line 643 of file DTDDUWords.h.
References TDC_ID_MASK, TDC_ID_SHIFT, and word_.
Referenced by DTDigiToRaw::createFedBuffers(), and DTROS25Unpacker::interpretRawData().
{ return (word_ & TDC_ID_MASK) >> TDC_ID_SHIFT;}
int DTTDCMeasurementWord::tdcTime | ( | ) | const [inline] |
Definition at line 645 of file DTDDUWords.h.
References TDC_TIME_MASK, TDC_TIME_SHIFT, and word_.
Referenced by DTDigiToRaw::createFedBuffers(), and DTROS25Unpacker::interpretRawData().
{ return (word_ & TDC_TIME_MASK) >> TDC_TIME_SHIFT;}
uint32_t DTTDCMeasurementWord::word_ [private] |
Definition at line 670 of file DTDDUWords.h.
Referenced by HU(), PAF(), PC(), tdcChannel(), tdcID(), and tdcTime().