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)

Author
M. Zanetti - INFN Padova

Definition at line 755 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( )
inline

Constructor.

Definition at line 760 of file DTDDUWords.h.

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

Definition at line 762 of file DTDDUWords.h.

References getGTfromDQMFile::obj.

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

Definition at line 764 of file DTDDUWords.h.

764  :
765  word_(index) {}
virtual DTLocalTriggerTrailerWord::~DTLocalTriggerTrailerWord ( )
inlinevirtual

Destructor.

Definition at line 768 of file DTDDUWords.h.

768 {}

Member Function Documentation

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

Definition at line 772 of file DTDDUWords.h.

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

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

773  {
774 
775  word =
778  word_count;
779  }
#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 770 of file DTDDUWords.h.

References TRIGGER_WORD_COUNT_MASK, and word_.

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

770 { 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 784 of file DTDDUWords.h.

Referenced by wordCount().