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 ---
19 // --- Standard library ---
23 // --- AliRoot header files ---
25 #include "AliPHOSQAChecker.h"
27 class AliPHOSQAMeanChecker : public AliPHOSQAChecker {
31 AliPHOSQAMeanChecker(){} ; // default ctor (not to be used)
32 AliPHOSQAMeanChecker(const char * name) ; // ctor
33 AliPHOSQAMeanChecker(const char * name, Float_t mean, Float_t rms) ; //ctor
34 virtual ~AliPHOSQAMeanChecker() ; // dtor
35 virtual TString CheckingOperation() ; // where the checking operation is implemented
36 // virtual void Exec(Option_t *option);
37 virtual void Print() ;
39 void SetMean(Float_t value) { fMean = value ; }
40 void SetRms(Float_t value) { fRms = value ; }
41 void Set(Float_t mean, Float_t rms) { fMean = mean ; fRms = rms ; }
45 Float_t fMean ; // the value that the checkable will be compared to
46 Float_t fRms ; // the range around the mean in which the test is OK
48 ClassDef(AliPHOSQAMeanChecker,1) // description
52 #endif // ALIPHOSQAMeanChecker_H