CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

DTROBTrailerWord Class Reference

#include <DTDDUWords.h>

List of all members.

Public Member Functions

 DTROBTrailerWord ()
 Constructor.
 DTROBTrailerWord (const DTROBTrailerWord &obj)
 DTROBTrailerWord (const uint32_t index)
int eventID () const
int robID () const
int wordCount () const
virtual ~DTROBTrailerWord ()
 Destructor.

Static Public Member Functions

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

Private Attributes

uint32_t word_

Detailed Description

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

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

Definition at line 465 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTROBTrailerWord::DTROBTrailerWord ( ) [inline]

Constructor.

Definition at line 470 of file DTDDUWords.h.

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

Definition at line 472 of file DTDDUWords.h.

References getGTfromDQMFile::obj.

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

Definition at line 474 of file DTDDUWords.h.

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

Destructor.

Definition at line 478 of file DTDDUWords.h.

{}

Member Function Documentation

int DTROBTrailerWord::eventID ( ) const [inline]

Definition at line 481 of file DTDDUWords.h.

References EVENT_ID_MASK, EVENT_ID_SHIFT, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

int DTROBTrailerWord::robID ( ) const [inline]

Definition at line 480 of file DTDDUWords.h.

References ROB_ID_MASK, word_, and WORDTYPESHIFT.

Referenced by DTROS25Unpacker::interpretRawData().

{ return (word_ & ROB_ID_MASK) >> WORDTYPESHIFT;} 
static void DTROBTrailerWord::set ( uint32_t &  word,
int  rob_id,
int  event_id,
int  word_count 
) [inline, static]
int DTROBTrailerWord::wordCount ( ) const [inline]

Definition at line 482 of file DTDDUWords.h.

References word_, and WORD_COUNT_MASK.

Referenced by DTROS25Unpacker::interpretRawData().

{ return (word_ & WORD_COUNT_MASK);} 

Member Data Documentation

uint32_t DTROBTrailerWord::word_ [private]

Definition at line 499 of file DTDDUWords.h.

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