CMS 3D CMS Logo

DTDDUFirstStatusWord Class Reference

DT DDU status 1 interpreter (8 bits word). More...

#include <EventFilter/DTRawToDigi/interface/DTDDUWords.h>

List of all members.

Public Member Functions

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

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
2007/04/02 15:53:18
Revision
1.10
Author:
M. Zanetti - INFN Padova

Definition at line 857 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTDDUFirstStatusWord::DTDDUFirstStatusWord (  )  [inline]

Constructor.

Definition at line 862 of file DTDDUWords.h.

00862 {}

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( const DTDDUFirstStatusWord obj  )  [inline]

Definition at line 864 of file DTDDUWords.h.

00864 { *this = obj; }

DTDDUFirstStatusWord::DTDDUFirstStatusWord ( const unsigned char  index  )  [inline]

Definition at line 866 of file DTDDUWords.h.

00866                                                   : 
00867     word_(index) {}

virtual DTDDUFirstStatusWord::~DTDDUFirstStatusWord (  )  [inline, virtual]

Destructor.

Definition at line 870 of file DTDDUWords.h.

00870 {}


Member Function Documentation

int DTDDUFirstStatusWord::channelEnabled (  )  const [inline]

Definition at line 872 of file DTDDUWords.h.

References word_.

00872 { return (word_ & 0x1);}

int DTDDUFirstStatusWord::errorFromROS (  )  const [inline]

Definition at line 879 of file DTDDUWords.h.

References word_.

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

int DTDDUFirstStatusWord::eventTrailerLost (  )  const [inline]

Definition at line 874 of file DTDDUWords.h.

References word_.

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

int DTDDUFirstStatusWord::opticalFiberSignalLost (  )  const [inline]

Definition at line 875 of file DTDDUWords.h.

References word_.

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

int DTDDUFirstStatusWord::timeout (  )  const [inline]

Definition at line 873 of file DTDDUWords.h.

References word_.

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

int DTDDUFirstStatusWord::tlkPatternError (  )  const [inline]

Definition at line 877 of file DTDDUWords.h.

References word_.

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

int DTDDUFirstStatusWord::tlkPropagationError (  )  const [inline]

Definition at line 876 of file DTDDUWords.h.

References word_.

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

int DTDDUFirstStatusWord::tlkSignalLost (  )  const [inline]

Definition at line 878 of file DTDDUWords.h.

References word_.

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


Member Data Documentation

unsigned char DTDDUFirstStatusWord::word_ [private]

Definition at line 884 of file DTDDUWords.h.

Referenced by channelEnabled(), errorFromROS(), eventTrailerLost(), opticalFiberSignalLost(), timeout(), tlkPatternError(), tlkPropagationError(), and tlkSignalLost().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:50 2009 for CMSSW by  doxygen 1.5.4