#include <EventFilter/DTRawToDigi/interface/DTDDUWords.h>
Public Member Functions | |
int | BCO () const |
DTROSTrailerWord (const uint32_t index) | |
DTROSTrailerWord (const DTROSTrailerWord &obj) | |
DTROSTrailerWord () | |
Constructor. | |
int | ECHO () const |
int | ECLO () const |
int | EventWordCount () const |
int | TFF () const |
int | TPX () const |
virtual | ~DTROSTrailerWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int tff, int tpx, int echo, int eclo, int bco, int event_word_count) |
Private Attributes | |
uint32_t | word_ |
Information interpreted:
Definition at line 256 of file DTDDUWords.h.
DTROSTrailerWord::DTROSTrailerWord | ( | ) | [inline] |
DTROSTrailerWord::DTROSTrailerWord | ( | const DTROSTrailerWord & | obj | ) | [inline] |
DTROSTrailerWord::DTROSTrailerWord | ( | const uint32_t | index | ) | [inline] |
virtual DTROSTrailerWord::~DTROSTrailerWord | ( | ) | [inline, virtual] |
int DTROSTrailerWord::BCO | ( | ) | const [inline] |
int DTROSTrailerWord::ECHO | ( | ) | const [inline] |
Definition at line 273 of file DTDDUWords.h.
References ECHO_MASK, ECHO_SHIFT, and word_.
Referenced by DTDataIntegrityTask::processROS25().
00273 { return (word_ & ECHO_MASK) >> ECHO_SHIFT; }
int DTROSTrailerWord::ECLO | ( | ) | const [inline] |
Definition at line 274 of file DTDDUWords.h.
References ECLO_MASK, ECLO_SHIFT, and word_.
00274 { return (word_ & ECLO_MASK) >> ECLO_SHIFT; }
int DTROSTrailerWord::EventWordCount | ( | ) | const [inline] |
Definition at line 276 of file DTDDUWords.h.
References EVENT_WORD_COUNT_MASK, and word_.
Referenced by DTROS25Unpacker::interpretRawData(), and DTDataIntegrityTask::processROS25().
00276 { return word_ & EVENT_WORD_COUNT_MASK; }
static void DTROSTrailerWord::set | ( | uint32_t & | word, | |
int | tff, | |||
int | tpx, | |||
int | echo, | |||
int | eclo, | |||
int | bco, | |||
int | event_word_count | |||
) | [inline, static] |
Definition at line 278 of file DTDDUWords.h.
References BCO_SHIFT, ECHO_SHIFT, ECLO_SHIFT, DTROSWordType::rosTypeWord, TFF_SHIFT, TPX_SHIFT, DTROSWordType::trailerControlWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.
00284 { 00285 00286 word = 00287 DTROSWordType::trailerControlWord << WORDCONTROLSHIFT | 00288 DTROSWordType::rosTypeWord << WORDTYPESHIFT | 00289 tff << TFF_SHIFT | 00290 tpx << TPX_SHIFT | 00291 echo << ECHO_SHIFT | 00292 eclo << ECLO_SHIFT | 00293 bco << BCO_SHIFT | 00294 event_word_count; 00295 }
int DTROSTrailerWord::TFF | ( | ) | const [inline] |
int DTROSTrailerWord::TPX | ( | ) | const [inline] |
Definition at line 272 of file DTDDUWords.h.
References TPX_MASK, TPX_SHIFT, and word_.
Referenced by DTDataIntegrityTask::processROS25().
uint32_t DTROSTrailerWord::word_ [private] |
Definition at line 300 of file DTDDUWords.h.
Referenced by BCO(), ECHO(), ECLO(), EventWordCount(), TFF(), and TPX().