CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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).

Date:
2009/05/07 07:57:03
Revision:
1.13
Author
M. Zanetti - INFN Padova

Definition at line 212 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTROSHeaderWord::DTROSHeaderWord ( )
inline

Constructor.

Definition at line 217 of file DTDDUWords.h.

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

Definition at line 219 of file DTDDUWords.h.

References getGTfromDQMFile::obj.

219 { *this = obj; }
DTROSHeaderWord::DTROSHeaderWord ( const uint32_t  index)
inline

Definition at line 221 of file DTDDUWords.h.

221  :
222  word_(index) {}
uint32_t word_
Definition: DTDDUWords.h:241
virtual DTROSHeaderWord::~DTROSHeaderWord ( )
inlinevirtual

Destructor.

Definition at line 225 of file DTDDUWords.h.

225 {}

Member Function Documentation

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

Definition at line 229 of file DTDDUWords.h.

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

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

230  {
231 
232  word =
235  ttc_event_counter;
236  }
#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 227 of file DTDDUWords.h.

References TTC_EVENT_COUNTER_MASK, and word_.

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

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

Member Data Documentation

uint32_t DTROSHeaderWord::word_
private

Definition at line 241 of file DTDDUWords.h.

Referenced by TTCEventCounter().