]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSQAMeanChecker.h
Coding rule corrections
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAMeanChecker.h
1 #ifndef ALIPHOSQAMEANCHECKER_H
2 #define ALIPHOSQAMEANCHECKER_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 // QA checker that compares a number with an average value plus or minus
10 // a width     
11 //                  
12 //*-- Author: Yves Schutz (SUBATECH)
13
14
15 // --- ROOT system ---
16
17 // --- Standard library ---
18
19 // --- AliRoot header files ---
20
21 #include "AliPHOSQAChecker.h"  
22
23 class AliPHOSQAMeanChecker : public AliPHOSQAChecker {
24
25  public:
26
27   AliPHOSQAMeanChecker(){} ;          // default ctor (not to be used)
28   AliPHOSQAMeanChecker(const char * name) ; // ctor
29   AliPHOSQAMeanChecker(const char * name, Float_t mean, Float_t rms) ; //ctor
30   virtual ~AliPHOSQAMeanChecker() ; // dtor
31   virtual TString CheckingOperation() ; // where the checking operation is implemented
32   //  virtual void  Exec(Option_t *option);  
33   virtual void Print() ; 
34
35   void SetMean(Float_t value) { fMean = value ; } 
36   void SetRms(Float_t value) { fRms = value ; } 
37   void Set(Float_t mean, Float_t rms) { fMean = mean ; fRms = rms ; } 
38
39  private:
40
41   Float_t fMean ; // the value that the checkable will be compared to
42   Float_t fRms ;  // the range around the mean in which the test is OK
43   
44   ClassDef(AliPHOSQAMeanChecker,1)  // description 
45
46 };
47
48 #endif // ALIPHOSQAMeanChecker_H