]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSQAAlarm.h
Coding convention
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAAlarm.h
1 #ifndef ALIPHOSQAALARM_H
2 #define ALIPHOSQAALARM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 // An alarm object that is instanciated by a AliPHOSQACheckable in response to
10 // a AliPHOSQAAlarm
11 //                  
12 //*-- Author: Yves Schutz (SUBATECH)
13
14
15 // --- ROOT system --- 
16
17 #include "TObject.h"  
18 #include "TString.h"  
19
20 // --- Standard library ---
21
22 // --- AliRoot header files ---
23
24 class AliPHOSQAAlarm : public TObject {
25
26 public:
27
28   AliPHOSQAAlarm(){} ;          // default ctor (not to be used)
29   AliPHOSQAAlarm(TString time, TString checked, TString checker, TString  message) ; // ctor
30   virtual ~AliPHOSQAAlarm() ; // dtor
31   virtual void Print() ; 
32
33  private:
34
35   TString fCable ;   // checkable name that raised the alarm
36   TString fCer ;     // checker name that raised the alarm    
37   Int_t fEvent ;     // event number where alarms occured 
38   TString fMessage ; // the whole error message 
39   TString fTime ;    // time when the alarm was raised 
40
41   ClassDef(AliPHOSQAAlarm,1)  // description 
42
43 };
44
45 #endif // ALIPHOSQAAlarm_H