]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliQAChecker.h
updated
[u/mrichter/AliRoot.git] / STEER / AliQAChecker.h
index 9ed3e545d75c4c3c648a33643d452d71f7580476..2d0f78f5b74d6594ad9f7c128a7e2c9913ca89e7 100644 (file)
@@ -18,6 +18,7 @@
 #include <TFile.h>  
 
 #include "AliQA.h"
+class AliCDBEntry ; 
 class AliQACheckerBase ; 
 
 class AliQAChecker: public TNamed {
@@ -30,25 +31,20 @@ public:
 
   static  AliQAChecker * Instance() ;
   AliQACheckerBase *     GetDetQAChecker(Int_t det) ; 
-  TDirectory *           GetRefSubDir(const char * det, const char * task) ;
-  static TFile *         GetQAResultFile() ;
+  void                   GetRefSubDir(const char * det, const char * task, TDirectory *& dirFile, TObjArray *& dirOCDB) ;
+//  static TFile *         GetQAResultFile() ;
 //  static const char *    GetQAResultFileName() { return fgQAResultFileName.Data() ; }
 //  void                   SetQAResultDirName(const char * name) ; 
-  void                   SetRefDirName(const char * name) ; 
+//  void                   SetRefDirName(const char * name) ; 
 
   virtual Bool_t Run(const char * fileName = NULL) ;
-  virtual Bool_t Run(AliQA::DETECTORINDEX det, AliQA::TASKINDEX task, TList * list);
+  virtual Bool_t Run(AliQA::DETECTORINDEX_t det, AliQA::TASKINDEX_t task, TObjArray * list);
 
 private:
-  TFile *      GetDataFile(const char * fileName) ; 
 
   static AliQAChecker *fgQAChecker ; // pointer to the instance of the singleton
   TFile * fDataFile ;                     //! Data file to check
-  static TFile * fgQAResultFile ;         //! File where to find the QA result
-//  static TString fgQAResultDirName ;      //! directory where to find the QA result
-//  static TString fgQAResultFileName ;     //! file name where to find the QA result
-//  TString fRefDirName ;                   //! name of directory where to find the reference data file
-//  TString fRefName ;                      //! file name where to find the reference data
+  TFile * fRefFile ;                      //! Reference Data file 
   TString fFoundDetectors ;               //! detectors for which the Quality assurance could be done
   AliQACheckerBase * fCheckers[AliQA::kNDET] ; //! list of detectors checkers
   ClassDef(AliQAChecker, 1)  // class for running generation, simulation and digitization