#include <EventFilter/DTRawToDigi/interface/DTDDUWords.h>
Public Member Functions | |
DTLocalTriggerSectorCollectorHeaderWord (const uint32_t index) | |
DTLocalTriggerSectorCollectorHeaderWord (const DTLocalTriggerSectorCollectorHeaderWord &obj) | |
DTLocalTriggerSectorCollectorHeaderWord () | |
Constructor. | |
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_ |
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 943 of file DTDDUWords.h.
DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord | ( | ) | [inline] |
DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord | ( | const DTLocalTriggerSectorCollectorHeaderWord & | obj | ) | [inline] |
DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord | ( | const uint32_t | index | ) | [inline] |
virtual DTLocalTriggerSectorCollectorHeaderWord::~DTLocalTriggerSectorCollectorHeaderWord | ( | ) | [inline, virtual] |
int DTLocalTriggerSectorCollectorHeaderWord::Latency | ( | ) | const [inline] |
Definition at line 958 of file DTDDUWords.h.
References SC_LAT_MASK, SC_LAT_SHIFT, and word_.
00958 { return ((word_ >> SC_LAT_SHIFT) & SC_LAT_MASK);}
int DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords | ( | ) | const [inline] |
Definition at line 959 of file DTDDUWords.h.
References SC_NW_MASK, and word_.
Referenced by DTROS25Unpacker::interpretRawData().
00959 { return (word_ & SC_NW_MASK);}
static void DTLocalTriggerSectorCollectorHeaderWord::set | ( | uint32_t & | word, | |
int | lat, | |||
int | nw | |||
) | [inline, static] |
Definition at line 962 of file DTDDUWords.h.
References DTROSWordType::headerControlWord, SC_LAT_MASK, SC_LAT_SHIFT, SC_NW_MASK, DTROSWordType::scTypeWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.
00964 { 00965 00966 word = 00967 DTROSWordType::headerControlWord << WORDCONTROLSHIFT | 00968 DTROSWordType::scTypeWord << WORDTYPESHIFT | 00969 (lat & SC_LAT_MASK) << SC_LAT_SHIFT | 00970 (nw & SC_NW_MASK) ; 00971 }
uint32_t DTLocalTriggerSectorCollectorHeaderWord::word_ [private] |