CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
DTLocalTriggerSectorCollectorHeaderWord Class Reference

#include <DTDDUWords.h>

Public Member Functions

 DTLocalTriggerSectorCollectorHeaderWord ()
 Constructor. More...
 
 DTLocalTriggerSectorCollectorHeaderWord (const DTLocalTriggerSectorCollectorHeaderWord &obj)
 
 DTLocalTriggerSectorCollectorHeaderWord (const uint32_t index)
 
int Latency () const
 
int NumberOf16bitWords () const
 
virtual ~DTLocalTriggerSectorCollectorHeaderWord ()
 Destructor. More...
 

Static Public Member Functions

static void set (uint32_t &word, int lat, int nw)
 

Private Attributes

uint32_t word_
 

Detailed Description

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

Author
R. Travaglini - INFN Bologna

Definition at line 712 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTLocalTriggerSectorCollectorHeaderWord() [1/3]

DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord ( )
inline

Constructor.

Definition at line 715 of file DTDDUWords.h.

715 {}

◆ DTLocalTriggerSectorCollectorHeaderWord() [2/3]

DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord ( const DTLocalTriggerSectorCollectorHeaderWord obj)
inline

Definition at line 717 of file DTDDUWords.h.

717 { *this = obj; }

References getGTfromDQMFile::obj.

◆ DTLocalTriggerSectorCollectorHeaderWord() [3/3]

DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord ( const uint32_t  index)
inline

Definition at line 719 of file DTDDUWords.h.

719 : word_(index) {}

◆ ~DTLocalTriggerSectorCollectorHeaderWord()

virtual DTLocalTriggerSectorCollectorHeaderWord::~DTLocalTriggerSectorCollectorHeaderWord ( )
inlinevirtual

Destructor.

Definition at line 722 of file DTDDUWords.h.

722 {}

Member Function Documentation

◆ Latency()

int DTLocalTriggerSectorCollectorHeaderWord::Latency ( ) const
inline

Definition at line 724 of file DTDDUWords.h.

724 { return ((word_ >> SC_LAT_SHIFT) & SC_LAT_MASK); }

References SC_LAT_MASK, SC_LAT_SHIFT, and word_.

◆ NumberOf16bitWords()

int DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords ( ) const
inline

Definition at line 725 of file DTDDUWords.h.

725 { return (word_ & SC_NW_MASK); }

References SC_NW_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

◆ set()

static void DTLocalTriggerSectorCollectorHeaderWord::set ( uint32_t &  word,
int  lat,
int  nw 
)
inlinestatic

Member Data Documentation

◆ word_

uint32_t DTLocalTriggerSectorCollectorHeaderWord::word_
private

Definition at line 733 of file DTDDUWords.h.

Referenced by Latency(), and NumberOf16bitWords().

WORDCONTROLSHIFT
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
SC_LAT_MASK
#define SC_LAT_MASK
Definition: DTDDUWords.h:72
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
DTROSWordType::headerControlWord
static const uint32_t headerControlWord
Control bits definitions.
Definition: DTDDUWords.h:179
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
WORDTYPESHIFT
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
SC_NW_MASK
#define SC_NW_MASK
Definition: DTDDUWords.h:74
DTROSWordType::scTypeWord
static const uint32_t scTypeWord
Definition: DTDDUWords.h:189
DTLocalTriggerSectorCollectorHeaderWord::word_
uint32_t word_
Definition: DTDDUWords.h:733
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
SC_LAT_SHIFT
#define SC_LAT_SHIFT
Definition: DTDDUWords.h:71