CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
DTLocalTriggerTrailerWord Class Reference

#include <DTDDUWords.h>

Public Member Functions

 DTLocalTriggerTrailerWord ()
 Constructor. More...
 
 DTLocalTriggerTrailerWord (const DTLocalTriggerTrailerWord &obj)
 
 DTLocalTriggerTrailerWord (const uint32_t index)
 
int wordCount () const
 
virtual ~DTLocalTriggerTrailerWord ()
 Destructor. More...
 

Static Public Member Functions

static void set (uint32_t &word, int word_count)
 

Private Attributes

uint32_t word_
 

Detailed Description

DT Sector Collector trailer interpreter. It interprets the word count (16 bits)

Author
M. Zanetti - INFN Padova

Definition at line 573 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( )
inline

Constructor.

Definition at line 576 of file DTDDUWords.h.

576 {}
DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( const DTLocalTriggerTrailerWord obj)
inline

Definition at line 578 of file DTDDUWords.h.

References getGTfromDQMFile::obj.

578 { *this = obj; }
DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( const uint32_t  index)
inline

Definition at line 580 of file DTDDUWords.h.

virtual DTLocalTriggerTrailerWord::~DTLocalTriggerTrailerWord ( )
inlinevirtual

Destructor.

Definition at line 583 of file DTDDUWords.h.

583 {}

Member Function Documentation

static void DTLocalTriggerTrailerWord::set ( uint32_t &  word,
int  word_count 
)
inlinestatic

Definition at line 587 of file DTDDUWords.h.

References DTROSWordType::scTypeWord, DTROSWordType::trailerControlWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.

587  {
588  word =
590  }
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
static const uint32_t trailerControlWord
Definition: DTDDUWords.h:180
uint64_t word
static const uint32_t scTypeWord
Definition: DTDDUWords.h:189
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
int DTLocalTriggerTrailerWord::wordCount ( ) const
inline

Definition at line 585 of file DTDDUWords.h.

References TRIGGER_WORD_COUNT_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

585 { return (word_ & TRIGGER_WORD_COUNT_MASK); }
#define TRIGGER_WORD_COUNT_MASK
Definition: DTDDUWords.h:67

Member Data Documentation

uint32_t DTLocalTriggerTrailerWord::word_
private

Definition at line 593 of file DTDDUWords.h.

Referenced by wordCount().