]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSQAAlarm.h
added initialization in the default ctor
[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 AliPHOSQAChecker
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 #include <assert.h>
23
24 // --- AliRoot header files ---
25
26
27 class AliPHOSQAAlarm : public TObject {
28
29 public:
30
31   AliPHOSQAAlarm(){} ;          // default ctor (not to be used)
32   AliPHOSQAAlarm(TString time, TString checked, TString checker, TString  message) ; // ctor
33   virtual ~AliPHOSQAAlarm() ; // dtor
34   virtual void Print() ; 
35
36  private:
37
38   
39   TString fTime ;    // time when the alarm was raised 
40   TString fCable ;   // checkable name that raised the alarm
41   TString fCer ;     // checker name that raised the alarm    
42   TString fMessage ; // the whole error message 
43
44   ClassDef(AliPHOSQAAlarm,1)  // description 
45
46 };
47
48 #endif // ALIPHOSQAAlarm_H