#include <EventFilter/DTRawToDigi/interface/DTDDUWords.h>
Public Member Functions | |
DTTDCMeasurementWord (const uint32_t index) | |
DTTDCMeasurementWord (const DTTDCMeasurementWord &obj) | |
DTTDCMeasurementWord () | |
Constructor. | |
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_ |
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 612 of file DTDDUWords.h.
DTTDCMeasurementWord::DTTDCMeasurementWord | ( | ) | [inline] |
DTTDCMeasurementWord::DTTDCMeasurementWord | ( | const DTTDCMeasurementWord & | obj | ) | [inline] |
DTTDCMeasurementWord::DTTDCMeasurementWord | ( | const uint32_t | index | ) | [inline] |
virtual DTTDCMeasurementWord::~DTTDCMeasurementWord | ( | ) | [inline, virtual] |
int DTTDCMeasurementWord::HU | ( | ) | const [inline] |
int DTTDCMeasurementWord::PAF | ( | ) | const [inline] |
int DTTDCMeasurementWord::PC | ( | ) | const [inline] |
Definition at line 627 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 635 of file DTDDUWords.h.
References PAF_SHIFT, PC_SHIFT, TDC_CHANNEL_SHIFT, TDC_ID_SHIFT, DTROSWordType::tdcDataControlWord, and WORDCONTROLSHIFT.
Referenced by DTDigiToRaw::createFedBuffers().
00641 { 00642 00643 word = 00644 DTROSWordType::tdcDataControlWord << WORDCONTROLSHIFT | 00645 pc << PC_SHIFT | 00646 paf << PAF_SHIFT | 00647 hu << PAF_SHIFT | 00648 tdc_id << TDC_ID_SHIFT | 00649 tdc_channel << TDC_CHANNEL_SHIFT | 00650 tdc_time; 00651 }
int DTTDCMeasurementWord::tdcChannel | ( | ) | const [inline] |
Definition at line 631 of file DTDDUWords.h.
References TDC_CHANNEL_MASK, TDC_CHANNEL_SHIFT, and word_.
Referenced by DTDigiToRaw::createFedBuffers(), and DTROS25Unpacker::interpretRawData().
00631 { return (word_ & TDC_CHANNEL_MASK) >> TDC_CHANNEL_SHIFT;}
int DTTDCMeasurementWord::tdcID | ( | ) | const [inline] |
<== OBSOLETE!!
Definition at line 630 of file DTDDUWords.h.
References TDC_ID_MASK, TDC_ID_SHIFT, and word_.
Referenced by DTDigiToRaw::createFedBuffers(), and DTROS25Unpacker::interpretRawData().
00630 { return (word_ & TDC_ID_MASK) >> TDC_ID_SHIFT;}
int DTTDCMeasurementWord::tdcTime | ( | ) | const [inline] |
Definition at line 632 of file DTDDUWords.h.
References TDC_TIME_MASK, TDC_TIME_SHIFT, and word_.
Referenced by DTDigiToRaw::createFedBuffers(), and DTROS25Unpacker::interpretRawData().
00632 { return (word_ & TDC_TIME_MASK) >> TDC_TIME_SHIFT;}
uint32_t DTTDCMeasurementWord::word_ [private] |
Definition at line 657 of file DTDDUWords.h.
Referenced by HU(), PAF(), PC(), tdcChannel(), tdcID(), and tdcTime().