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 210 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTROSHeaderWord::DTROSHeaderWord ( )
inline

Constructor.

Definition at line 215 of file DTDDUWords.h.

215 {}
DTROSHeaderWord::DTROSHeaderWord ( const DTROSHeaderWord obj)
inline

Definition at line 217 of file DTDDUWords.h.

References MuonAssociatorByHits_cfi::obj.

DTROSHeaderWord::DTROSHeaderWord ( const uint32_t  index)
inline

Definition at line 219 of file DTDDUWords.h.

219  :
220  word_(index) {}
uint32_t word_
Definition: DTDDUWords.h:239
virtual DTROSHeaderWord::~DTROSHeaderWord ( )
inlinevirtual

Destructor.

Definition at line 223 of file DTDDUWords.h.

223 {}

Member Function Documentation

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

Definition at line 227 of file DTDDUWords.h.

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

228  {
229 
230  word =
233  ttc_event_counter;
234  }
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
static const uint32_t rosTypeWord
Word Type bits definitions.
Definition: DTDDUWords.h:192
static const uint32_t headerControlWord
Control bits definitions.
Definition: DTDDUWords.h:183
int DTROSHeaderWord::TTCEventCounter ( ) const
inline

Definition at line 225 of file DTDDUWords.h.

References TTC_EVENT_COUNTER_MASK, and DTROSWordType::word_.

Referenced by DTROS25Unpacker::interpretRawData(), and DTDataIntegrityTask::processROS25().

225 { return word_ & TTC_EVENT_COUNTER_MASK; }
#define TTC_EVENT_COUNTER_MASK
Definition: DTDDUWords.h:30
uint32_t word_
Definition: DTDDUWords.h:239

Member Data Documentation

uint32_t DTROSHeaderWord::word_
private

Definition at line 239 of file DTDDUWords.h.