Some corrections for caller == 40.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAMeanChecker.h
CommitLineData
66f72ab4 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
88cb7938 17#include "TTask.h"
18
66f72ab4 19// --- Standard library ---
20
88cb7938 21#include <assert.h>
22
66f72ab4 23// --- AliRoot header files ---
24
25#include "AliPHOSQAChecker.h"
26
27class AliPHOSQAMeanChecker : public AliPHOSQAChecker {
28
29 public:
30
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() ;
38
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 ; }
42
43 private:
44
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
47
48 ClassDef(AliPHOSQAMeanChecker,1) // description
49
50};
51
52#endif // ALIPHOSQAMeanChecker_H