CMS 3D CMS Logo

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

#include <DTDDUWords.h>

Public Member Functions

 DTLocalTriggerSectorCollectorSubHeaderWord ()
 Constructor. More...
 
 DTLocalTriggerSectorCollectorSubHeaderWord (const DTLocalTriggerSectorCollectorSubHeaderWord &obj)
 
 DTLocalTriggerSectorCollectorSubHeaderWord (const uint32_t index)
 
int LocalBunchCounter () const
 
int TriggerDelay () const
 
virtual ~DTLocalTriggerSectorCollectorSubHeaderWord ()
 Destructor. More...
 

Static Public Member Functions

static void set (uint32_t &word, int trigdly, int bxcount)
 

Private Attributes

uint32_t word_
 

Detailed Description

DT Sector Collector private SUB-header interpreter. It interprets local SC bunch Counter and delay (3-bit) between trigger used to stop spying and effective bx stop

Author
R. Travaglini - INFN Bologna

Definition at line 743 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTLocalTriggerSectorCollectorSubHeaderWord() [1/3]

DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord ( )
inline

Constructor.

Definition at line 746 of file DTDDUWords.h.

746 {}

◆ DTLocalTriggerSectorCollectorSubHeaderWord() [2/3]

DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord ( const DTLocalTriggerSectorCollectorSubHeaderWord obj)
inline

Definition at line 748 of file DTDDUWords.h.

748 { *this = obj; }

References getGTfromDQMFile::obj.

◆ DTLocalTriggerSectorCollectorSubHeaderWord() [3/3]

DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord ( const uint32_t  index)
inline

Definition at line 750 of file DTDDUWords.h.

750 : word_(index) {}

◆ ~DTLocalTriggerSectorCollectorSubHeaderWord()

virtual DTLocalTriggerSectorCollectorSubHeaderWord::~DTLocalTriggerSectorCollectorSubHeaderWord ( )
inlinevirtual

Destructor.

Definition at line 753 of file DTDDUWords.h.

753 {}

Member Function Documentation

◆ LocalBunchCounter()

int DTLocalTriggerSectorCollectorSubHeaderWord::LocalBunchCounter ( ) const
inline

Definition at line 756 of file DTDDUWords.h.

756 { return (word_ & SC_BXC_MASK); }

References SC_BXC_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

◆ set()

static void DTLocalTriggerSectorCollectorSubHeaderWord::set ( uint32_t &  word,
int  trigdly,
int  bxcount 
)
inlinestatic

◆ TriggerDelay()

int DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay ( ) const
inline

Definition at line 755 of file DTDDUWords.h.

755 { return ((word_ >> SC_TRIGGERDLY_SHIFT) & SC_TRIGGERDLY_MASK); }

References SC_TRIGGERDLY_MASK, SC_TRIGGERDLY_SHIFT, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

Member Data Documentation

◆ word_

uint32_t DTLocalTriggerSectorCollectorSubHeaderWord::word_
private

Definition at line 764 of file DTDDUWords.h.

Referenced by LocalBunchCounter(), and TriggerDelay().

DTLocalTriggerSectorCollectorSubHeaderWord::word_
uint32_t word_
Definition: DTDDUWords.h:764
SC_TRIGGERDLY_MASK
#define SC_TRIGGERDLY_MASK
Definition: DTDDUWords.h:76
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
SC_TRIGGERDLY_SHIFT
#define SC_TRIGGERDLY_SHIFT
Definition: DTDDUWords.h:77
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
WORDTYPESHIFT
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
SC_BXC_MASK
#define SC_BXC_MASK
Definition: DTDDUWords.h:78
DTROSWordType::scTypeWord
static const uint32_t scTypeWord
Definition: DTDDUWords.h:189
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46