CMS 3D CMS Logo

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

#include <DTDDUWords.h>

Public Member Functions

int channelEnabled () const
 
 DTDDUFirstStatusWord ()
 Constructor. More...
 
 DTDDUFirstStatusWord (const DTDDUFirstStatusWord &obj)
 
 DTDDUFirstStatusWord (const unsigned char index)
 
int errorFromROS () const
 
int eventTrailerLost () const
 
int opticalFiberSignalLost () const
 
int timeout () const
 
int tlkPatternError () const
 
int tlkPropagationError () const
 
int tlkSignalLost () const
 
virtual ~DTDDUFirstStatusWord ()
 Destructor. More...
 

Private Attributes

unsigned char word_
 

Detailed Description

DT DDU status 1 interpreter (8 bits word). It interprets the error messages from each DDU channel

Author
M. Zanetti - INFN Padova

Definition at line 638 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTDDUFirstStatusWord() [1/3]

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( )
inline

Constructor.

Definition at line 641 of file DTDDUWords.h.

641 {}

◆ DTDDUFirstStatusWord() [2/3]

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( const DTDDUFirstStatusWord obj)
inline

Definition at line 643 of file DTDDUWords.h.

643 { *this = obj; }

References getGTfromDQMFile::obj.

◆ DTDDUFirstStatusWord() [3/3]

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( const unsigned char  index)
inline

Definition at line 645 of file DTDDUWords.h.

645 : word_(index) {}

◆ ~DTDDUFirstStatusWord()

virtual DTDDUFirstStatusWord::~DTDDUFirstStatusWord ( )
inlinevirtual

Destructor.

Definition at line 648 of file DTDDUWords.h.

648 {}

Member Function Documentation

◆ channelEnabled()

int DTDDUFirstStatusWord::channelEnabled ( ) const
inline

Definition at line 650 of file DTDDUWords.h.

650 { return (word_ & 0x1); }

References word_, and testProducerWithPsetDescEmpty_cfi::x1.

◆ errorFromROS()

int DTDDUFirstStatusWord::errorFromROS ( ) const
inline

Definition at line 657 of file DTDDUWords.h.

657 { return (word_ & 0x80) >> 7; }

References word_.

Referenced by HLTDTROMonitorFilter::filter().

◆ eventTrailerLost()

int DTDDUFirstStatusWord::eventTrailerLost ( ) const
inline

Definition at line 652 of file DTDDUWords.h.

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

References word_.

Referenced by HLTDTROMonitorFilter::filter().

◆ opticalFiberSignalLost()

int DTDDUFirstStatusWord::opticalFiberSignalLost ( ) const
inline

Definition at line 653 of file DTDDUWords.h.

653 { return (word_ & 0x8) >> 3; }

References word_.

◆ timeout()

int DTDDUFirstStatusWord::timeout ( ) const
inline

Definition at line 651 of file DTDDUWords.h.

651 { return (word_ & 0x2) >> 1; }

References word_, and testProducerWithPsetDescEmpty_cfi::x2.

◆ tlkPatternError()

int DTDDUFirstStatusWord::tlkPatternError ( ) const
inline

Definition at line 655 of file DTDDUWords.h.

655 { return (word_ & 0x20) >> 5; }

References word_.

◆ tlkPropagationError()

int DTDDUFirstStatusWord::tlkPropagationError ( ) const
inline

Definition at line 654 of file DTDDUWords.h.

654 { return (word_ & 0x10) >> 4; }

References word_.

◆ tlkSignalLost()

int DTDDUFirstStatusWord::tlkSignalLost ( ) const
inline

Definition at line 656 of file DTDDUWords.h.

656 { return (word_ & 0x40) >> 6; }

References word_.

Member Data Documentation

◆ word_

unsigned char DTDDUFirstStatusWord::word_
private
testProducerWithPsetDescEmpty_cfi.x2
x2
Definition: testProducerWithPsetDescEmpty_cfi.py:28
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
DTDDUFirstStatusWord::word_
unsigned char word_
Definition: DTDDUWords.h:660
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46