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.

References getGTfromDQMFile::obj.

206 { *this = obj; }

◆ DTROSHeaderWord() [3/3]

DTROSHeaderWord::DTROSHeaderWord ( const uint32_t  index)
inline

Definition at line 208 of file DTDDUWords.h.

◆ ~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

Definition at line 215 of file DTDDUWords.h.

References DTROSWordType::headerControlWord, DTROSWordType::rosTypeWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.

215  {
217  ttc_event_counter;
218  }
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
uint64_t word
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
static const uint32_t rosTypeWord
Word Type bits definitions.
Definition: DTDDUWords.h:188
static const uint32_t headerControlWord
Control bits definitions.
Definition: DTDDUWords.h:179

◆ TTCEventCounter()

int DTROSHeaderWord::TTCEventCounter ( ) const
inline

Definition at line 213 of file DTDDUWords.h.

References TTC_EVENT_COUNTER_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

213 { return word_ & TTC_EVENT_COUNTER_MASK; }
#define TTC_EVENT_COUNTER_MASK
Definition: DTDDUWords.h:29
uint32_t word_
Definition: DTDDUWords.h:221

Member Data Documentation

◆ word_

uint32_t DTROSHeaderWord::word_
private

Definition at line 221 of file DTDDUWords.h.

Referenced by TTCEventCounter().