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 ---
18 #include "AliQualAss.h"
23 // --- Standard library ---
25 // --- AliRoot header files ---
27 class AliQualAssCheckerBase: public TNamed {
30 AliQualAssCheckerBase(const char * name = "", const char * title = "") ; // ctor
31 AliQualAssCheckerBase(const AliQualAssCheckerBase& qac) ;
32 AliQualAssCheckerBase& operator = (const AliQualAssCheckerBase& qac) ;
33 virtual ~AliQualAssCheckerBase() {;} // dtor
35 void Init(const AliQualAss::DETECTORINDEX det) ;
36 void Run(AliQualAss::ALITASK tsk);
37 void Run(AliQualAss::ALITASK tsk, TList * list);
38 void SetRefandData(TDirectory * ref, TDirectory * data=NULL) { fRefSubDir = ref ; fDataSubDir = data ; }
41 virtual const Double_t Check() ;
42 virtual const Double_t Check(TList * list) ;
43 const Double_t DiffC(const TH1 * href, const TH1 * hin) const ;
44 const Double_t DiffK(const TH1 * href, const TH1 * hin) const ;
47 TDirectory * fDataSubDir ; //! directory for the current task directory in the current detector directory in the data file
48 TDirectory * fRefSubDir ; //! directory for the current task directory in the current detector directory in the reference file
50 ClassDef(AliQualAssCheckerBase,1) // description
54 #endif // AliQUALASSCHECKERBASE_H