CMS 3D CMS Logo

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

#include <DTDDUWords.h>

Public Member Functions

int busyROSPAF () const
 
int bxIDError () const
 
 DTDDUSecondStatusWord ()
 Constructor. More...
 
 DTDDUSecondStatusWord (const uint32_t index)
 
int fifoAlmostFull () const
 
int fifoFull () const
 
int inputFifoAlmostFull () const
 
int inputFifoFull () const
 
int l1AIDError () const
 
int outOfSynchROSError () const
 
int outputFifoAlmostFull () const
 
int outputFifoFull () const
 
int rosList () const
 
int warningROSPAF () const
 
virtual ~DTDDUSecondStatusWord ()
 Destructor. More...
 

Private Attributes

uint32_t word_
 

Detailed Description

DT DDU status 2 interpreter. It interprets the (16 bits) WARNING!! : It interprets the second part of a 64 bits word!

Author
M. Zanetti - INFN Padova

Definition at line 640 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTDDUSecondStatusWord() [1/2]

DTDDUSecondStatusWord::DTDDUSecondStatusWord ( )
inline

Constructor.

Definition at line 643 of file DTDDUWords.h.

643 {}

◆ DTDDUSecondStatusWord() [2/2]

DTDDUSecondStatusWord::DTDDUSecondStatusWord ( const uint32_t  index)
inline

Definition at line 645 of file DTDDUWords.h.

◆ ~DTDDUSecondStatusWord()

virtual DTDDUSecondStatusWord::~DTDDUSecondStatusWord ( )
inlinevirtual

Destructor.

Definition at line 648 of file DTDDUWords.h.

648 {}

Member Function Documentation

◆ busyROSPAF()

int DTDDUSecondStatusWord::busyROSPAF ( ) const
inline

Definition at line 660 of file DTDDUWords.h.

References word_.

660 { return (word_ & 0x20000000) >> 29; }

◆ bxIDError()

int DTDDUSecondStatusWord::bxIDError ( ) const
inline

◆ fifoAlmostFull()

int DTDDUSecondStatusWord::fifoAlmostFull ( ) const
inline

Definition at line 654 of file DTDDUWords.h.

References word_.

654 { return (word_ & 0x700) >> 8; }

◆ fifoFull()

int DTDDUSecondStatusWord::fifoFull ( ) const
inline

Definition at line 652 of file DTDDUWords.h.

References word_.

652 { return (word_ & 0x1C) >> 2; }

◆ inputFifoAlmostFull()

int DTDDUSecondStatusWord::inputFifoAlmostFull ( ) const
inline

Definition at line 655 of file DTDDUWords.h.

References word_.

655 { return (word_ & 0x3800) >> 11; }

◆ inputFifoFull()

int DTDDUSecondStatusWord::inputFifoFull ( ) const
inline

Definition at line 653 of file DTDDUWords.h.

References word_.

653 { return (word_ & 0xE0) >> 5; }

◆ l1AIDError()

int DTDDUSecondStatusWord::l1AIDError ( ) const
inline

◆ outOfSynchROSError()

int DTDDUSecondStatusWord::outOfSynchROSError ( ) const
inline

Definition at line 661 of file DTDDUWords.h.

References word_.

661 { return (word_ & 0x40000000) >> 30; }

◆ outputFifoAlmostFull()

int DTDDUSecondStatusWord::outputFifoAlmostFull ( ) const
inline

Definition at line 657 of file DTDDUWords.h.

References word_.

657 { return (word_ & 0x8000) >> 15; }

◆ outputFifoFull()

int DTDDUSecondStatusWord::outputFifoFull ( ) const
inline

Definition at line 656 of file DTDDUWords.h.

References word_.

656 { return (word_ & 0x4000) >> 14; }

◆ rosList()

int DTDDUSecondStatusWord::rosList ( ) const
inline

Definition at line 658 of file DTDDUWords.h.

References word_.

Referenced by DTDDUUnpacker::interpretRawData(), and DTDataIntegrityROSOffline::processFED().

658 { return (word_ & 0xFFF0000) >> 16; }

◆ warningROSPAF()

int DTDDUSecondStatusWord::warningROSPAF ( ) const
inline

Definition at line 659 of file DTDDUWords.h.

References word_.

659 { return (word_ & 0x10000000) >> 28; }

Member Data Documentation

◆ word_

uint32_t DTDDUSecondStatusWord::word_
private