CMS 3D CMS Logo

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

#include <DTDDUWords.h>

Public Member Functions

 DTROSHeaderWord ()
 Constructor. More...
 
 DTROSHeaderWord (const DTROSHeaderWord &obj)
 
 DTROSHeaderWord (const uint32_t index)
 
int TTCEventCounter () const
 
virtual ~DTROSHeaderWord ()
 Destructor. More...
 

Static Public Member Functions

static void set (uint32_t &word, int ttc_event_counter)
 

Private Attributes

uint32_t word_
 

Detailed Description

DT ROS Header interpreter. It interprets the TTC Event counter (24 bits).

Author
M. Zanetti - INFN Padova

Definition at line 201 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTROSHeaderWord() [1/3]

DTROSHeaderWord::DTROSHeaderWord ( )
inline

Constructor.

Definition at line 204 of file DTDDUWords.h.

204 {}

◆ DTROSHeaderWord() [2/3]

DTROSHeaderWord::DTROSHeaderWord ( const DTROSHeaderWord obj)
inline

Definition at line 206 of file DTDDUWords.h.

206 { *this = obj; }

References getGTfromDQMFile::obj.

◆ DTROSHeaderWord() [3/3]

DTROSHeaderWord::DTROSHeaderWord ( const uint32_t  index)
inline

Definition at line 208 of file DTDDUWords.h.

208 : word_(index) {}

◆ ~DTROSHeaderWord()

virtual DTROSHeaderWord::~DTROSHeaderWord ( )
inlinevirtual

Destructor.

Definition at line 211 of file DTDDUWords.h.

211 {}

Member Function Documentation

◆ set()

static void DTROSHeaderWord::set ( uint32_t &  word,
int  ttc_event_counter 
)
inlinestatic

◆ TTCEventCounter()

int DTROSHeaderWord::TTCEventCounter ( ) const
inline

Definition at line 213 of file DTDDUWords.h.

213 { return word_ & TTC_EVENT_COUNTER_MASK; }

References TTC_EVENT_COUNTER_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

Member Data Documentation

◆ word_

uint32_t DTROSHeaderWord::word_
private

Definition at line 221 of file DTDDUWords.h.

Referenced by TTCEventCounter().

WORDCONTROLSHIFT
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
DTROSWordType::headerControlWord
static const uint32_t headerControlWord
Control bits definitions.
Definition: DTDDUWords.h:179
TTC_EVENT_COUNTER_MASK
#define TTC_EVENT_COUNTER_MASK
Definition: DTDDUWords.h:29
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
WORDTYPESHIFT
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
DTROSWordType::rosTypeWord
static const uint32_t rosTypeWord
Word Type bits definitions.
Definition: DTDDUWords.h:188
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
DTROSHeaderWord::word_
uint32_t word_
Definition: DTDDUWords.h:221