CMS 3D CMS Logo

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

#include <DTTDCErrorNotifier.h>

Public Member Functions

 DTTDCErrorNotifier (DTTDCErrorWord error)
 Constructor. More...
 
void print ()
 Print out the error information >>> FIXME: to be implemented. More...
 
virtual ~DTTDCErrorNotifier ()
 Destructor. More...
 

Private Attributes

DTTDCErrorWord error_
 

Detailed Description

Author
M. Zanetti - INFN Padova

Definition at line 12 of file DTTDCErrorNotifier.h.

Constructor & Destructor Documentation

DTTDCErrorNotifier::DTTDCErrorNotifier ( DTTDCErrorWord  error)

Constructor.

Definition at line 13 of file DTTDCErrorNotifier.cc.

13 : error_(error) {}
DTTDCErrorWord error_
DTTDCErrorNotifier::~DTTDCErrorNotifier ( )
virtual

Destructor.

Definition at line 15 of file DTTDCErrorNotifier.cc.

15 {}

Member Function Documentation

void DTTDCErrorNotifier::print ( void  )

Print out the error information >>> FIXME: to be implemented.

Definition at line 17 of file DTTDCErrorNotifier.cc.

References gather_cfg::cout, error_, DTTDCErrorWord::tdcError(), and DTTDCErrorWord::tdcID().

Referenced by DTROS25Unpacker::interpretRawData().

17  {
18  cout << "[DTUnpackingModule]: WARNING!! TDC Error of type " << error_.tdcError() << ", from TDC " << error_.tdcID()
19  << endl;
20 }
int tdcError() const
Definition: DTDDUWords.h:526
DTTDCErrorWord error_
int tdcID() const
<== OBSOLETE!!
Definition: DTDDUWords.h:525

Member Data Documentation

DTTDCErrorWord DTTDCErrorNotifier::error_
private

Definition at line 26 of file DTTDCErrorNotifier.h.

Referenced by print().