CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

DTROSDebugWord Class Reference

#include <DTDDUWords.h>

List of all members.

Public Member Functions

int cerosIdCerosStatus () const
int cerosIdRosStatus () const
int debugMessage () const
int debugType () const
int dontRead () const
 DTROSDebugWord ()
 Constructor.
 DTROSDebugWord (const DTROSDebugWord &obj)
 DTROSDebugWord (const uint32_t index)
int evIdMis () const
virtual ~DTROSDebugWord ()
 Destructor.

Static Public Member Functions

static void set (uint32_t &word, int debug_type)
static void set (uint32_t &word, int debug_type, int ceros_id)

Private Attributes

uint32_t word_

Detailed Description

DT ROS Debug interpreter. It interprets the Debug type (3 bits) and the debug message (in the first 15 bits)

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

Definition at line 356 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTROSDebugWord::DTROSDebugWord ( ) [inline]

Constructor.

Definition at line 361 of file DTDDUWords.h.

{}
DTROSDebugWord::DTROSDebugWord ( const DTROSDebugWord obj) [inline]

Definition at line 363 of file DTDDUWords.h.

References VarParsing::obj.

{ *this = obj; }
DTROSDebugWord::DTROSDebugWord ( const uint32_t  index) [inline]

Definition at line 365 of file DTDDUWords.h.

                                       : 
    word_(index) {}
virtual DTROSDebugWord::~DTROSDebugWord ( ) [inline, virtual]

Destructor.

Definition at line 369 of file DTDDUWords.h.

{}

Member Function Documentation

int DTROSDebugWord::cerosIdCerosStatus ( ) const [inline]
int DTROSDebugWord::cerosIdRosStatus ( ) const [inline]

Definition at line 376 of file DTDDUWords.h.

References CEROS_ID_ROS_STATUS_MASK, debugType(), and word_.

{ return debugType()==4 ? (word_ & CEROS_ID_ROS_STATUS_MASK) : 0;} 
int DTROSDebugWord::debugMessage ( ) const [inline]

Definition at line 372 of file DTDDUWords.h.

References DEBUG_MESSAGE_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

{ return (word_ & DEBUG_MESSAGE_MASK) ;} 
int DTROSDebugWord::debugType ( ) const [inline]
int DTROSDebugWord::dontRead ( ) const [inline]

Definition at line 375 of file DTDDUWords.h.

References debugType(), DONTREAD_CEROS_STATUS_MASK, and word_.

{ return debugType()==3 ? (word_ & DONTREAD_CEROS_STATUS_MASK) : 0;} 
int DTROSDebugWord::evIdMis ( ) const [inline]
static void DTROSDebugWord::set ( uint32_t &  word,
int  debug_type 
) [inline, static]
static void DTROSDebugWord::set ( uint32_t &  word,
int  debug_type,
int  ceros_id 
) [inline, static]

Member Data Documentation

uint32_t DTROSDebugWord::word_ [private]