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::DTTDCErrorNotifier ( DTTDCErrorWord  error)

Constructor.

Definition at line 13 of file DTTDCErrorNotifier.cc.

◆ ~DTTDCErrorNotifier()

DTTDCErrorNotifier::~DTTDCErrorNotifier ( )
virtual

Destructor.

Definition at line 15 of file DTTDCErrorNotifier.cc.

15 {}

Member Function Documentation

◆ print()

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 }
DTTDCErrorWord error_
int tdcID() const
<== OBSOLETE!!
Definition: DTDDUWords.h:503
int tdcError() const
Definition: DTDDUWords.h:504

Member Data Documentation

◆ error_

DTTDCErrorWord DTTDCErrorNotifier::error_
private

Definition at line 26 of file DTTDCErrorNotifier.h.

Referenced by print().