CMS 3D CMS Logo

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() [1/3]

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( )
inline

Constructor.

Definition at line 576 of file DTDDUWords.h.

576 {}

◆ DTLocalTriggerTrailerWord() [2/3]

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( const DTLocalTriggerTrailerWord obj)
inline

Definition at line 578 of file DTDDUWords.h.

578 { *this = obj; }

References getGTfromDQMFile::obj.

◆ DTLocalTriggerTrailerWord() [3/3]

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( const uint32_t  index)
inline

Definition at line 580 of file DTDDUWords.h.

580 : word_(index) {}

◆ ~DTLocalTriggerTrailerWord()

virtual DTLocalTriggerTrailerWord::~DTLocalTriggerTrailerWord ( )
inlinevirtual

Destructor.

Definition at line 583 of file DTDDUWords.h.

583 {}

Member Function Documentation

◆ set()

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

◆ wordCount()

int DTLocalTriggerTrailerWord::wordCount ( ) const
inline

Definition at line 585 of file DTDDUWords.h.

585 { return (word_ & TRIGGER_WORD_COUNT_MASK); }

References TRIGGER_WORD_COUNT_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

Member Data Documentation

◆ word_

uint32_t DTLocalTriggerTrailerWord::word_
private

Definition at line 593 of file DTDDUWords.h.

Referenced by wordCount().

DTLocalTriggerTrailerWord::word_
uint32_t word_
Definition: DTDDUWords.h:593
WORDCONTROLSHIFT
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
TRIGGER_WORD_COUNT_MASK
#define TRIGGER_WORD_COUNT_MASK
Definition: DTDDUWords.h:67
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
WORDTYPESHIFT
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
DTROSWordType::scTypeWord
static const uint32_t scTypeWord
Definition: DTDDUWords.h:189
DTROSWordType::trailerControlWord
static const uint32_t trailerControlWord
Definition: DTDDUWords.h:180
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46