CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
DTLocalTriggerHeaderWord Class Reference

#include <DTDDUWords.h>

Public Member Functions

 DTLocalTriggerHeaderWord ()
 Constructor. More...
 
 DTLocalTriggerHeaderWord (const DTLocalTriggerHeaderWord &obj)
 
 DTLocalTriggerHeaderWord (const uint32_t index)
 
int eventID () const
 
int SCFO () const
 
virtual ~DTLocalTriggerHeaderWord ()
 Destructor. More...
 

Static Public Member Functions

static void set (uint32_t &word, int event_id, int scfo)
 

Private Attributes

uint32_t word_
 

Detailed Description

DT Sector Collector header interpreter. It interprets ROS event ID (12 bits) and the Sector Collector FIFO occupancy (8 bits)

Author
M. Zanetti - INFN Padova

Definition at line 543 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTLocalTriggerHeaderWord() [1/3]

DTLocalTriggerHeaderWord::DTLocalTriggerHeaderWord ( )
inline

Constructor.

Definition at line 546 of file DTDDUWords.h.

546 {}

◆ DTLocalTriggerHeaderWord() [2/3]

DTLocalTriggerHeaderWord::DTLocalTriggerHeaderWord ( const DTLocalTriggerHeaderWord obj)
inline

Definition at line 548 of file DTDDUWords.h.

548 { *this = obj; }

References getGTfromDQMFile::obj.

◆ DTLocalTriggerHeaderWord() [3/3]

DTLocalTriggerHeaderWord::DTLocalTriggerHeaderWord ( const uint32_t  index)
inline

Definition at line 550 of file DTDDUWords.h.

550 : word_(index) {}

◆ ~DTLocalTriggerHeaderWord()

virtual DTLocalTriggerHeaderWord::~DTLocalTriggerHeaderWord ( )
inlinevirtual

Destructor.

Definition at line 553 of file DTDDUWords.h.

553 {}

Member Function Documentation

◆ eventID()

int DTLocalTriggerHeaderWord::eventID ( ) const
inline

Definition at line 555 of file DTDDUWords.h.

555 { return (word_ & EVENT_ID_MASK) >> EVENT_ID_SHIFT; }

References EVENT_ID_MASK, EVENT_ID_SHIFT, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

◆ SCFO()

int DTLocalTriggerHeaderWord::SCFO ( ) const
inline

Definition at line 556 of file DTDDUWords.h.

556 { return (word_ & SCFO_MASK); }

References SCFO_MASK, and word_.

◆ set()

static void DTLocalTriggerHeaderWord::set ( uint32_t &  word,
int  event_id,
int  scfo 
)
inlinestatic

Member Data Documentation

◆ word_

uint32_t DTLocalTriggerHeaderWord::word_
private

Definition at line 564 of file DTDDUWords.h.

Referenced by eventID(), and SCFO().

WORDCONTROLSHIFT
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
DTROSWordType::headerControlWord
static const uint32_t headerControlWord
Control bits definitions.
Definition: DTDDUWords.h:179
DTLocalTriggerHeaderWord::word_
uint32_t word_
Definition: DTDDUWords.h:564
EVENT_ID_MASK
#define EVENT_ID_MASK
Definition: DTDDUWords.h:46
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
SCFO_MASK
#define SCFO_MASK
Definition: DTDDUWords.h:65
EVENT_ID_SHIFT
#define EVENT_ID_SHIFT
Definition: DTDDUWords.h:47
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46