1 #ifndef ALIQUALASSCHECKERBASE_H
2 #define ALIQUALASSCHECKERBASE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 Base class for detectors quality assurance checkers
11 Compares Data made by QualAssDataMakers with reference data
12 Y. Schutz CERN August 2007
16 // --- ROOT system ---
20 // --- Standard library ---
22 // --- AliRoot header files ---
24 class AliQualAssCheckerBase: public TNamed {
27 AliQualAssCheckerBase(const char * name = "", const char * title = "") ; // ctor
28 AliQualAssCheckerBase(const AliQualAssCheckerBase& qac) ;
29 AliQualAssCheckerBase& operator = (const AliQualAssCheckerBase& qac) ;
30 virtual ~AliQualAssCheckerBase() {;} // dtor
32 void Exec(const Option_t * = "");
36 virtual const Double_t Check(const Option_t *) {AliInfo("To be implemented by detectors") ; }
37 const Double_t DiffC(const TH1 * href, const TH1 * hin) const ;
38 const Double_t DiffK(const TH1 * href, const TH1 * hin) const ;
41 TFile * fData ; //! data root file produced by the QualAssDataMaker
42 TDirectory * fDetectorDir ; //! directory for the given detector in the data file
43 TFile * fRef ; //! reference root file
45 ClassDef(AliQualAssCheckerBase,1) // description
49 #endif // AliQUALASSCHECKERBASE_H