]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEER/AliQAManager.h
DA: Put back the DA rpm description removed by the Doxygen documentation
[u/mrichter/AliRoot.git] / STEER / STEER / AliQAManager.h
index b65d346eff1007aa156224f608d7a32e24772ecc..93c5be8435c6ef5b2980b717588b72d2240397ec 100644 (file)
@@ -24,6 +24,7 @@
 #include "AliLoader.h"
 #include "AliCDBManager.h"
 #include "AliRecoParam.h"
+#include "AliEventInfo.h"
  
 class TCanvas ; 
 class AliESDEvent ; 
@@ -35,19 +36,13 @@ class AliRunLoader ;
 class AliCorrQADataMakerRec ;
 
 class AliQAManager : public AliCDBManager {
-private:
-  AliQAManager() ; 
-       AliQAManager(AliQAv1::MODE_t mode, const Char_t * gAliceFilename = "galice.root") ; 
-       AliQAManager(const AliQAManager & qas) ; 
-       AliQAManager & operator = (const AliQAManager & qas) ; 
-  ~AliQAManager() ; 
-
 public:
   static void      Destroy() ;
   void             EndOfCycle(TObjArray * detArray=0x0) ; 
   void             EndOfCycle(TString detectors) ; 
        UInt_t           GetCurrentEvent() const { return fCurrentEvent ; }
        TObjArray *      GetFromOCDB(AliQAv1::DETECTORINDEX_t det, AliQAv1::TASKINDEX_t task, const Char_t * year) const ; 
+  const AliEventInfo *   GetEventInfo() const { return fEventInfo ; }
   AliRecoParam::EventSpecie_t GetEventSpecieFromESD() ;
   TCanvas **       GetImage(Char_t * detName) ;
   const Char_t *   GetMode(){ return fMode.Data() ; }
@@ -72,9 +67,11 @@ public:
        void             RunOneEvent(AliESDEvent *& esd, AliESDEvent *& hltesd)  ;
        Bool_t           Save2OCDB(const Int_t runNumber, AliRecoParam::EventSpecie_t es, const Char_t * year = "08", const Char_t * detectors = "ALL") const ; 
        void             SetActiveDetectors(TString aDet) { fDetectors = aDet ;  }
-  void             SetCheckerExternParam(AliQAv1::DETECTORINDEX_t det, TList * parameterList) ;  
+       void             SetActiveOnlineDetectors(TString aDet) { fActiveOnlineDetectors = aDet ;  }
+  void             SetCheckerExternParam(AliQAv1::DETECTORINDEX_t det, TList * parameterList) ;
        void             SetCycleLength(const AliQAv1::DETECTORINDEX_t det, const Int_t cycle) { fQACycles[det] = cycle ; }
        void             SetWriteExpert(const AliQAv1::DETECTORINDEX_t det) { fQAWriteExpert[det] = kTRUE ; }
+  void             SetEventInfo(AliEventInfo *info) { fEventInfo = info ;} 
        void             SetEventRange(UInt_t first, UInt_t last) { fFirstEvent = first ; fMaxEvents = last - first + 1 ; }    
   void             SetEventSpecie(AliRecoParam::EventSpecie_t es) ; 
        void             SetFirsEvent(UInt_t first) { fFirstEvent = first ; }      
@@ -89,6 +86,12 @@ public:
   void             ShowQA() ; 
   
 private: 
+  AliQAManager() ; 
+       AliQAManager(AliQAv1::MODE_t mode, const Char_t * gAliceFilename = "galice.root") ; 
+       AliQAManager(const AliQAManager & qas) ; 
+       AliQAManager & operator = (const AliQAManager & qas) ; 
+  ~AliQAManager() ; 
+  
        Bool_t                  DoIt(const AliQAv1::TASKINDEX_t taskIndex) ;
        AliLoader * GetLoader(Int_t iDet) ; 
        Int_t       GetQACycles(const Int_t iDet) const { return fQACycles[iDet] ; }
@@ -106,6 +109,7 @@ private:
        TString                     fDetectorsW ;                   //! list of active detectors with QA implemented 
        AliESDEvent *               fESD ;                          //! current ESD
        TTree *                     fESDTree ;                      //! current ESD Tree
+  AliEventInfo *              fEventInfo ;                    //! info on the current event  
        TString                     fGAliceFileName ;               //! name of the galice file
        UInt_t                      fFirstEvent ;                   //! first event to process
        Long64_t                    fMaxEvents ;                    //! number of events to process
@@ -125,8 +129,8 @@ private:
   AliRecoParam::EventSpecie_t fEventSpecie ;                  //! type of event 
   Bool_t                      fPrintImage ;                   //! flag to print the images or not
   Bool_t                      fSaveData ;                     //! flag to sve the QA data or not   
-    
-  ClassDef(AliQAManager, 2)      // class for running the QA makers
+  TString                     fActiveOnlineDetectors;          //! list of active detectors in the DAQ world (i.e. SPD, SDD, SSD and not simply ITS, MUONTRK, MUONTRG and not simply MUON, etc...
+  ClassDef(AliQAManager, 3)      // class for running the QA makers
 };
 
 #endif