CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

DTROBHeaderWord Class Reference

#include <DTDDUWords.h>

List of all members.

Public Member Functions

int bunchID () const
 DTROBHeaderWord (const uint32_t index)
 DTROBHeaderWord (const DTROBHeaderWord &obj)
 DTROBHeaderWord ()
 Constructor.
int eventID () const
int robID () const
virtual ~DTROBHeaderWord ()
 Destructor.

Static Public Member Functions

static void set (uint32_t &word, int rob_id, int event_id, int bunch_id)

Private Attributes

uint32_t word_

Detailed Description

DT ROB Header interpreter. It interprets the ROB_ID (5 bits), the Event ID (12 bits) and the Bunch ID (12 bits).

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

Definition at line 416 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTROBHeaderWord::DTROBHeaderWord ( ) [inline]

Constructor.

Definition at line 421 of file DTDDUWords.h.

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

Definition at line 423 of file DTDDUWords.h.

References getGTfromDQMFile::obj.

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

Definition at line 425 of file DTDDUWords.h.

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

Destructor.

Definition at line 429 of file DTDDUWords.h.

{}

Member Function Documentation

int DTROBHeaderWord::bunchID ( ) const [inline]

Definition at line 433 of file DTDDUWords.h.

References BUNCH_ID_MASK, and word_.

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

{ return (word_ & BUNCH_ID_MASK);} 
int DTROBHeaderWord::eventID ( ) const [inline]

Definition at line 432 of file DTDDUWords.h.

References EVENT_ID_MASK, EVENT_ID_SHIFT, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

int DTROBHeaderWord::robID ( ) const [inline]
static void DTROBHeaderWord::set ( uint32_t &  word,
int  rob_id,
int  event_id,
int  bunch_id 
) [inline, static]

Member Data Documentation

uint32_t DTROBHeaderWord::word_ [private]

Definition at line 451 of file DTDDUWords.h.

Referenced by bunchID(), eventID(), and robID().