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 */
8 //_________________________________________________________________________
9 // QA checker that compares a number with an average value plus or minus
12 //*-- Author: Yves Schutz (SUBATECH)
15 // --- ROOT system ---
17 // --- Standard library ---
19 // --- AliRoot header files ---
21 #include "AliPHOSQAChecker.h"
23 class AliPHOSQAMeanChecker : public AliPHOSQAChecker {
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() ;
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 ; }
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
44 ClassDef(AliPHOSQAMeanChecker,1) // description
48 #endif // ALIPHOSQAMeanChecker_H