]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliQAChecker.h
Major commit related to steering of the reco parameters: AliDAQ and trigger classes...
[u/mrichter/AliRoot.git] / STEER / AliQAChecker.h
index 2d0f78f5b74d6594ad9f7c128a7e2c9913ca89e7..dfa9351bb8daefb593ffa50d15ef6da5587a89fd 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "AliQA.h"
 class AliCDBEntry ; 
+class AliRunInfo ;
 class AliQACheckerBase ; 
 
 class AliQAChecker: public TNamed {
@@ -39,14 +40,19 @@ public:
 
   virtual Bool_t Run(const char * fileName = NULL) ;
   virtual Bool_t Run(AliQA::DETECTORINDEX_t det, AliQA::TASKINDEX_t task, TObjArray * list);
+  void SetRunInfo(AliRunInfo * ei) {fRunInfo = ei;}
 
 private:
 
-  static AliQAChecker *fgQAChecker ; // pointer to the instance of the singleton
-  TFile * fDataFile ;                     //! Data file to check
-  TFile * fRefFile ;                      //! Reference Data file 
-  TString fFoundDetectors ;               //! detectors for which the Quality assurance could be done
-  AliQACheckerBase * fCheckers[AliQA::kNDET] ; //! list of detectors checkers
+  void LoadRunInfoFromGRP() ; 
+
+  static AliQAChecker *fgQAChecker ;             // pointer to the instance of the singleton
+  TFile *              fDataFile ;               //! Data file to check
+  AliRunInfo *       fRunInfo ;              //! Event info object 
+  Bool_t               fRunInfoOwner;          //! owns fRunInfo or not
+  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
 };
 #endif