CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

Date:
2009/04/28 12:46:49
Revision:
1.12
Author
M. Zanetti - INFN Padova

Definition at line 870 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( )
inline

Constructor.

Definition at line 875 of file DTDDUWords.h.

875 {}
DTDDUFirstStatusWord::DTDDUFirstStatusWord ( const DTDDUFirstStatusWord obj)
inline

Definition at line 877 of file DTDDUWords.h.

References VarParsing::obj.

877 { *this = obj; }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655
DTDDUFirstStatusWord::DTDDUFirstStatusWord ( const unsigned char  index)
inline

Definition at line 879 of file DTDDUWords.h.

879  :
880  word_(index) {}
unsigned char word_
Definition: DTDDUWords.h:897
virtual DTDDUFirstStatusWord::~DTDDUFirstStatusWord ( )
inlinevirtual

Destructor.

Definition at line 883 of file DTDDUWords.h.

883 {}

Member Function Documentation

int DTDDUFirstStatusWord::channelEnabled ( ) const
inline

Definition at line 885 of file DTDDUWords.h.

References word_.

885 { return (word_ & 0x1);}
unsigned char word_
Definition: DTDDUWords.h:897
int DTDDUFirstStatusWord::errorFromROS ( ) const
inline

Definition at line 892 of file DTDDUWords.h.

References word_.

Referenced by DTROMonitorFilter::filter(), and HLTDTROMonitorFilter::filter().

892 { return (word_ & 0x80) >> 7;}
unsigned char word_
Definition: DTDDUWords.h:897
int DTDDUFirstStatusWord::eventTrailerLost ( ) const
inline

Definition at line 887 of file DTDDUWords.h.

References word_.

Referenced by HLTDTROMonitorFilter::filter().

887 { return (word_ & 0x4) >> 2;}
unsigned char word_
Definition: DTDDUWords.h:897
int DTDDUFirstStatusWord::opticalFiberSignalLost ( ) const
inline

Definition at line 888 of file DTDDUWords.h.

References word_.

888 { return (word_ & 0x8) >> 3;}
unsigned char word_
Definition: DTDDUWords.h:897
int DTDDUFirstStatusWord::timeout ( ) const
inline

Definition at line 886 of file DTDDUWords.h.

References word_.

886 { return (word_ & 0x2) >> 1;}
unsigned char word_
Definition: DTDDUWords.h:897
int DTDDUFirstStatusWord::tlkPatternError ( ) const
inline

Definition at line 890 of file DTDDUWords.h.

References word_.

890 { return (word_ & 0x20) >> 5;}
unsigned char word_
Definition: DTDDUWords.h:897
int DTDDUFirstStatusWord::tlkPropagationError ( ) const
inline

Definition at line 889 of file DTDDUWords.h.

References word_.

889 { return (word_ & 0x10) >> 4;}
unsigned char word_
Definition: DTDDUWords.h:897
int DTDDUFirstStatusWord::tlkSignalLost ( ) const
inline

Definition at line 891 of file DTDDUWords.h.

References word_.

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

Member Data Documentation

unsigned char DTDDUFirstStatusWord::word_
private