#include <DTDDUWords.h>
Public Member Functions | |
DTLocalTriggerDataWord () | |
Constructor. | |
DTLocalTriggerDataWord (const DTLocalTriggerDataWord &obj) | |
DTLocalTriggerDataWord (const uint32_t index) | |
int | getBits (int first) const |
int | hasTrigger (int first) const |
int | SCData () const |
int | trackQuality (int first) const |
virtual | ~DTLocalTriggerDataWord () |
Destructor. | |
Static Public Member Functions | |
static void | set (uint32_t &word, int sc_data) |
Private Attributes | |
uint32_t | word_ |
DT Sector Collector data interpreter. It interprets the Sector Collector data (16 bits)
Definition at line 820 of file DTDDUWords.h.
DTLocalTriggerDataWord::DTLocalTriggerDataWord | ( | ) | [inline] |
DTLocalTriggerDataWord::DTLocalTriggerDataWord | ( | const DTLocalTriggerDataWord & | obj | ) | [inline] |
DTLocalTriggerDataWord::DTLocalTriggerDataWord | ( | const uint32_t | index | ) | [inline] |
Definition at line 829 of file DTDDUWords.h.
virtual DTLocalTriggerDataWord::~DTLocalTriggerDataWord | ( | ) | [inline, virtual] |
int DTLocalTriggerDataWord::getBits | ( | int | first | ) | const [inline] |
Definition at line 837 of file DTDDUWords.h.
References TRIGGER_DATA_MASK, and word_.
Referenced by DTROS25Unpacker::interpretRawData(), and trackQuality().
{ return first==1 ? ((word_ & TRIGGER_DATA_MASK) >> 8) : ((word_ & TRIGGER_DATA_MASK)&0xFF); }
int DTLocalTriggerDataWord::hasTrigger | ( | int | first | ) | const [inline] |
Definition at line 842 of file DTDDUWords.h.
References trackQuality().
Referenced by DTROS25Unpacker::interpretRawData().
{ return (trackQuality(first) != 7? 1 : 0);}
int DTLocalTriggerDataWord::SCData | ( | ) | const [inline] |
Definition at line 835 of file DTDDUWords.h.
References TRIGGER_DATA_MASK, and word_.
Referenced by DTROS25Unpacker::interpretRawData().
{ return (word_ & TRIGGER_DATA_MASK);}
static void DTLocalTriggerDataWord::set | ( | uint32_t & | word, |
int | sc_data | ||
) | [inline, static] |
Definition at line 846 of file DTDDUWords.h.
References DTROSWordType::scTypeWord, DTROSWordType::tdcDataControlWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.
{ word = DTROSWordType::tdcDataControlWord << WORDCONTROLSHIFT | DTROSWordType::scTypeWord << WORDTYPESHIFT | sc_data; }
int DTLocalTriggerDataWord::trackQuality | ( | int | first | ) | const [inline] |
Definition at line 843 of file DTDDUWords.h.
References getBits().
Referenced by hasTrigger(), and DTROS25Unpacker::interpretRawData().
uint32_t DTLocalTriggerDataWord::word_ [private] |
Definition at line 858 of file DTDDUWords.h.