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 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 610 of file DTDDUWords.h.

Constructor & Destructor Documentation

◆ DTDDUFirstStatusWord() [1/2]

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( )
inline

Constructor.

Definition at line 613 of file DTDDUWords.h.

613 {}

◆ DTDDUFirstStatusWord() [2/2]

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( const unsigned char  index)
inline

Definition at line 615 of file DTDDUWords.h.

◆ ~DTDDUFirstStatusWord()

virtual DTDDUFirstStatusWord::~DTDDUFirstStatusWord ( )
inlinevirtual

Destructor.

Definition at line 618 of file DTDDUWords.h.

618 {}

Member Function Documentation

◆ channelEnabled()

int DTDDUFirstStatusWord::channelEnabled ( ) const
inline

◆ errorFromROS()

int DTDDUFirstStatusWord::errorFromROS ( ) const
inline

Definition at line 627 of file DTDDUWords.h.

References word_.

Referenced by HLTDTROMonitorFilter::filter().

627 { return (word_ & 0x80) >> 7; }
unsigned char word_
Definition: DTDDUWords.h:630

◆ eventTrailerLost()

int DTDDUFirstStatusWord::eventTrailerLost ( ) const
inline

Definition at line 622 of file DTDDUWords.h.

References word_.

Referenced by HLTDTROMonitorFilter::filter().

622 { return (word_ & 0x4) >> 2; }
unsigned char word_
Definition: DTDDUWords.h:630

◆ opticalFiberSignalLost()

int DTDDUFirstStatusWord::opticalFiberSignalLost ( ) const
inline

Definition at line 623 of file DTDDUWords.h.

References word_.

623 { return (word_ & 0x8) >> 3; }
unsigned char word_
Definition: DTDDUWords.h:630

◆ timeout()

int DTDDUFirstStatusWord::timeout ( ) const
inline

Definition at line 621 of file DTDDUWords.h.

References word_, and testProducerWithPsetDescEmpty_cfi::x2.

◆ tlkPatternError()

int DTDDUFirstStatusWord::tlkPatternError ( ) const
inline

Definition at line 625 of file DTDDUWords.h.

References word_.

625 { return (word_ & 0x20) >> 5; }
unsigned char word_
Definition: DTDDUWords.h:630

◆ tlkPropagationError()

int DTDDUFirstStatusWord::tlkPropagationError ( ) const
inline

Definition at line 624 of file DTDDUWords.h.

References word_.

624 { return (word_ & 0x10) >> 4; }
unsigned char word_
Definition: DTDDUWords.h:630

◆ tlkSignalLost()

int DTDDUFirstStatusWord::tlkSignalLost ( ) const
inline

Definition at line 626 of file DTDDUWords.h.

References word_.

626 { return (word_ & 0x40) >> 6; }
unsigned char word_
Definition: DTDDUWords.h:630

Member Data Documentation

◆ word_

unsigned char DTDDUFirstStatusWord::word_
private