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 DTDDUSecondStatusWord &obj)
 
 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 880 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTDDUSecondStatusWord::DTDDUSecondStatusWord ( )
inline

Constructor.

Definition at line 885 of file DTDDUWords.h.

885 {}
DTDDUSecondStatusWord::DTDDUSecondStatusWord ( const DTDDUSecondStatusWord obj)
inline

Definition at line 887 of file DTDDUWords.h.

References hgcalPlots::obj.

887 { *this = obj; }
DTDDUSecondStatusWord::DTDDUSecondStatusWord ( const uint32_t  index)
inline

Definition at line 889 of file DTDDUWords.h.

virtual DTDDUSecondStatusWord::~DTDDUSecondStatusWord ( )
inlinevirtual

Destructor.

Definition at line 893 of file DTDDUWords.h.

893 {}

Member Function Documentation

int DTDDUSecondStatusWord::busyROSPAF ( ) const
inline

Definition at line 905 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

905 {return (word_ & 0x20000000) >> 29; }
int DTDDUSecondStatusWord::bxIDError ( ) const
inline

Definition at line 896 of file DTDDUWords.h.

References DTROSWordType::word_, and globals_cff::x2.

Referenced by DTDataIntegrityTask::processFED().

896 { return (word_ & 0x2) >> 1; }
int DTDDUSecondStatusWord::fifoAlmostFull ( ) const
inline

Definition at line 899 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

899 { return (word_ & 0x700) >> 8; }
int DTDDUSecondStatusWord::fifoFull ( ) const
inline

Definition at line 897 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

897 { return (word_ & 0x1C ) >> 2; }
int DTDDUSecondStatusWord::inputFifoAlmostFull ( ) const
inline

Definition at line 900 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

900 { return (word_ & 0x3800) >> 11; }
int DTDDUSecondStatusWord::inputFifoFull ( ) const
inline

Definition at line 898 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

898 { return (word_ & 0xE0) >> 5; }
int DTDDUSecondStatusWord::l1AIDError ( ) const
inline

Definition at line 895 of file DTDDUWords.h.

References DTROSWordType::word_, and globals_cff::x1.

Referenced by DTDataIntegrityTask::processFED().

895 { return (word_ & 0x1); }
int DTDDUSecondStatusWord::outOfSynchROSError ( ) const
inline

Definition at line 906 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

906 {return (word_ & 0x40000000) >> 30; }
int DTDDUSecondStatusWord::outputFifoAlmostFull ( ) const
inline

Definition at line 902 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

902 { return (word_ & 0x8000) >> 15; }
int DTDDUSecondStatusWord::outputFifoFull ( ) const
inline

Definition at line 901 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

901 { return (word_ & 0x4000) >> 14; }
int DTDDUSecondStatusWord::rosList ( ) const
inline

Definition at line 903 of file DTDDUWords.h.

References DTROSWordType::word_.

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

903 {return (word_ & 0xFFF0000) >> 16; }
int DTDDUSecondStatusWord::warningROSPAF ( ) const
inline

Definition at line 904 of file DTDDUWords.h.

References DTROSWordType::word_.

Referenced by DTDataIntegrityTask::processFED().

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

Member Data Documentation

uint32_t DTDDUSecondStatusWord::word_
private

Definition at line 917 of file DTDDUWords.h.