#include <DTDDUWords.h>
Public Member Functions | |
DTROSTrailerWord () | |
Constructor. | |
DTROSTrailerWord (const DTROSTrailerWord &obj) | |
DTROSTrailerWord (const uint32_t index) | |
int | EventWordCount () const |
int | l1AFifoOccupancy () 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 l1a_fifo_occ, int event_word_count) |
Private Attributes | |
uint32_t | word_ |
DT ROS Trailer interpreter. Information interpreted:
Definition at line 258 of file DTDDUWords.h.
DTROSTrailerWord::DTROSTrailerWord | ( | ) | [inline] |
DTROSTrailerWord::DTROSTrailerWord | ( | const DTROSTrailerWord & | obj | ) | [inline] |
DTROSTrailerWord::DTROSTrailerWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 267 of file DTDDUWords.h.
virtual DTROSTrailerWord::~DTROSTrailerWord | ( | ) | [inline, virtual] |
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().
{ return word_ & EVENT_WORD_COUNT_MASK; }
int DTROSTrailerWord::l1AFifoOccupancy | ( | ) | const [inline] |
Definition at line 275 of file DTDDUWords.h.
References L1A_FIFO_OCC_MASK, L1A_FIFO_OCC_SHIFT, and word_.
Referenced by DTDataIntegrityTask::processROS25().
{ return (word_ & L1A_FIFO_OCC_MASK) >> L1A_FIFO_OCC_SHIFT; }
static void DTROSTrailerWord::set | ( | uint32_t & | word, |
int | tff, | ||
int | tpx, | ||
int | l1a_fifo_occ, | ||
int | event_word_count | ||
) | [inline, static] |
Definition at line 278 of file DTDDUWords.h.
References L1A_FIFO_OCC_SHIFT, DTROSWordType::rosTypeWord, TFF_SHIFT, TPX_SHIFT, DTROSWordType::trailerControlWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.
{ word = DTROSWordType::trailerControlWord << WORDCONTROLSHIFT | DTROSWordType::rosTypeWord << WORDTYPESHIFT | tff << TFF_SHIFT | tpx << TPX_SHIFT | l1a_fifo_occ << L1A_FIFO_OCC_SHIFT | event_word_count; }
int DTROSTrailerWord::TFF | ( | ) | const [inline] |
int DTROSTrailerWord::TPX | ( | ) | const [inline] |
Definition at line 274 of file DTDDUWords.h.
References TPX_MASK, TPX_SHIFT, and word_.
Referenced by DTDataIntegrityTask::processROS25().
uint32_t DTROSTrailerWord::word_ [private] |
Definition at line 296 of file DTDDUWords.h.
Referenced by EventWordCount(), l1AFifoOccupancy(), TFF(), and TPX().