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
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)

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

Definition at line 779 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( )
inline

Constructor.

Definition at line 784 of file DTDDUWords.h.

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

Definition at line 786 of file DTDDUWords.h.

References getGTfromDQMFile::obj.

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

Definition at line 788 of file DTDDUWords.h.

788  :
789  word_(index) {}
virtual DTLocalTriggerTrailerWord::~DTLocalTriggerTrailerWord ( )
inlinevirtual

Destructor.

Definition at line 792 of file DTDDUWords.h.

792 {}

Member Function Documentation

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

Definition at line 796 of file DTDDUWords.h.

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

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

797  {
798 
799  word =
802  word_count;
803  }
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
static const uint32_t trailerControlWord
Definition: DTDDUWords.h:184
static const uint32_t scTypeWord
Definition: DTDDUWords.h:193
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
int DTLocalTriggerTrailerWord::wordCount ( ) const
inline

Definition at line 794 of file DTDDUWords.h.

References TRIGGER_WORD_COUNT_MASK, and word_.

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

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

Member Data Documentation

uint32_t DTLocalTriggerTrailerWord::word_
private

Definition at line 808 of file DTDDUWords.h.

Referenced by wordCount().