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 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 549 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTLocalTriggerTrailerWord() [1/2]

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( )
inline

Constructor.

Definition at line 552 of file DTDDUWords.h.

552 {}

◆ DTLocalTriggerTrailerWord() [2/2]

DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord ( const uint32_t  index)
inline

Definition at line 554 of file DTDDUWords.h.

◆ ~DTLocalTriggerTrailerWord()

virtual DTLocalTriggerTrailerWord::~DTLocalTriggerTrailerWord ( )
inlinevirtual

Destructor.

Definition at line 557 of file DTDDUWords.h.

557 {}

Member Function Documentation

◆ set()

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

Definition at line 561 of file DTDDUWords.h.

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

561  {
562  word =
564  }
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
static const uint32_t trailerControlWord
Definition: DTDDUWords.h:178
uint64_t word
static const uint32_t scTypeWord
Definition: DTDDUWords.h:187
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13

◆ wordCount()

int DTLocalTriggerTrailerWord::wordCount ( ) const
inline

Definition at line 559 of file DTDDUWords.h.

References TRIGGER_WORD_COUNT_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

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

Member Data Documentation

◆ word_

uint32_t DTLocalTriggerTrailerWord::word_
private

Definition at line 567 of file DTDDUWords.h.

Referenced by wordCount().