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"
22 // --- Standard library ---
24 // --- AliRoot header files ---
26 class AliQualAssCheckerBase: public TNamed {
29 AliQualAssCheckerBase(const char * name = "", const char * title = "") ; // ctor
30 AliQualAssCheckerBase(const AliQualAssCheckerBase& qac) ;
31 AliQualAssCheckerBase& operator = (const AliQualAssCheckerBase& qac) ;
32 virtual ~AliQualAssCheckerBase() {;} // dtor
34 void Run(AliQualAss::ALITASK tsk);
35 void Init(const AliQualAss::DETECTORINDEX det) ;
36 void SetRefandData(TDirectory * ref, TDirectory * data) { fRefSubDir = ref ; fDataSubDir = data ; }
39 virtual const Double_t Check() ;
40 const Double_t DiffC(const TH1 * href, const TH1 * hin) const ;
41 const Double_t DiffK(const TH1 * href, const TH1 * hin) const ;
44 TDirectory * fDataSubDir ; //! directory for the current task directory in the current detector directory in the data file
45 TDirectory * fRefSubDir ; //! directory for the current task directory in the current detector directory in the reference file
47 ClassDef(AliQualAssCheckerBase,1) // description
51 #endif // AliQUALASSCHECKERBASE_H