#include <DTDDUWords.h>
Public Member Functions | |
DTLocalTriggerSectorCollectorHeaderWord () | |
Constructor. | |
DTLocalTriggerSectorCollectorHeaderWord (const DTLocalTriggerSectorCollectorHeaderWord &obj) | |
DTLocalTriggerSectorCollectorHeaderWord (const uint32_t index) | |
int | Latency () const |
int | NumberOf16bitWords () const |
virtual | ~DTLocalTriggerSectorCollectorHeaderWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int lat, int nw) |
Private Attributes | |
uint32_t | word_ |
DT Sector Collector private header interpreter. It interprets Latency measured by SC-Latency Timer Unit (still testing!) and the number of 16-bit words following this header sent by the Sector Collector
Definition at line 960 of file DTDDUWords.h.
DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord | ( | ) | [inline] |
DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord | ( | const DTLocalTriggerSectorCollectorHeaderWord & | obj | ) | [inline] |
DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 969 of file DTDDUWords.h.
virtual DTLocalTriggerSectorCollectorHeaderWord::~DTLocalTriggerSectorCollectorHeaderWord | ( | ) | [inline, virtual] |
int DTLocalTriggerSectorCollectorHeaderWord::Latency | ( | ) | const [inline] |
Definition at line 975 of file DTDDUWords.h.
References SC_LAT_MASK, SC_LAT_SHIFT, and word_.
{ return ((word_ >> SC_LAT_SHIFT) & SC_LAT_MASK);}
int DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords | ( | ) | const [inline] |
Definition at line 976 of file DTDDUWords.h.
References SC_NW_MASK, and word_.
Referenced by DTROS25Unpacker::interpretRawData(), and DTDataIntegrityTask::processROS25().
{ return (word_ & SC_NW_MASK);}
static void DTLocalTriggerSectorCollectorHeaderWord::set | ( | uint32_t & | word, |
int | lat, | ||
int | nw | ||
) | [inline, static] |
Definition at line 979 of file DTDDUWords.h.
References DTROSWordType::headerControlWord, SC_LAT_MASK, SC_LAT_SHIFT, SC_NW_MASK, DTROSWordType::scTypeWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.
{ word = DTROSWordType::headerControlWord << WORDCONTROLSHIFT | DTROSWordType::scTypeWord << WORDTYPESHIFT | (lat & SC_LAT_MASK) << SC_LAT_SHIFT | (nw & SC_NW_MASK) ; }
uint32_t DTLocalTriggerSectorCollectorHeaderWord::word_ [private] |
Definition at line 992 of file DTDDUWords.h.
Referenced by Latency(), and NumberOf16bitWords().