]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliQAManager.h
Fixing in/out tags in documentation
[u/mrichter/AliRoot.git] / STEER / AliQAManager.h
index 52d942154427e5270edbe3aafc749ed40ea16334..b65d346eff1007aa156224f608d7a32e24772ecc 100644 (file)
@@ -8,7 +8,7 @@
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
 // class for running the QA makers                                           //
-//                                                                           //
+//                                                                           //1
 //   AliQAManager qas;                                                //
 //   qas.Run(AliQAv1::kRAWS, rawROOTFileName);                                 //
 //   qas.Run(AliQAv1::kHITS);                                                  //
@@ -48,12 +48,14 @@ public:
   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 ; 
+  AliRecoParam::EventSpecie_t GetEventSpecieFromESD() ;
   TCanvas **       GetImage(Char_t * detName) ;
   const Char_t *   GetMode(){ return fMode.Data() ; }
   AliQAv1     *    GetQA(UInt_t run, UInt_t evt) ; 
        AliQADataMaker * GetQADataMaker(const Int_t iDet) ; 
        void             Increment(const AliQAv1::TASKINDEX_t taskIndex = AliQAv1::kNULLTASKINDEX) ;
        void             InitQADataMaker(UInt_t run, TObjArray * detArray=0x0) ;
+  Bool_t           IsSaveData() { return fSaveData ; } 
        Bool_t           IsSelected(const Char_t * detName)  ;
        Bool_t           Merge(Int_t runNumber = -1, const char *fileName = NULL) const ;  
   void             MergeCustom() const ;
@@ -61,14 +63,16 @@ public:
   static           AliQAManager * QAManager(AliQAv1::MODE_t = AliQAv1::kNULLMODE, TMap *entryCache = NULL, Int_t run = -1) ;
   static           AliQAManager * QAManager(AliQAv1::TASKINDEX_t task) ;  
        void             Reset(const Bool_t sameCycle = kFALSE) ;  
+  void             ResetDetectors(AliQAv1::TASKINDEX_t task, AliQAv1::DETECTORINDEX_t det=AliQAv1::kNULLDET) ; 
        TString          Run(const Char_t * detectors, const AliQAv1::TASKINDEX_t taskIndex=AliQAv1::kNULLTASKINDEX, Bool_t const sameCycle = kFALSE, const Char_t * fileName = NULL) ; 
        TString          Run(const Char_t * detectors, AliRawReader * rawReader, Bool_t const sameCycle = kFALSE) ; 
        TString          Run(const Char_t * detectors, const Char_t * filename, Bool_t const sameCycle = kFALSE) ;
        void             RunOneEvent(AliRawReader * rawReader) ; 
        void             RunOneEventInOneDetector(Int_t det, TTree * tree) ; 
-       void             RunOneEvent(AliESDEvent *& esd)  ;
+       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             SetCycleLength(const AliQAv1::DETECTORINDEX_t det, const Int_t cycle) { fQACycles[det] = cycle ; }
        void             SetWriteExpert(const AliQAv1::DETECTORINDEX_t det) { fQAWriteExpert[det] = kTRUE ; }
        void             SetEventRange(UInt_t first, UInt_t last) { fFirstEvent = first ; fMaxEvents = last - first + 1 ; }    
@@ -79,6 +83,7 @@ public:
   void             SetPrintImage(Bool_t opt = kTRUE) { fPrintImage = opt ; }
        void             SetRecoParam(const Int_t det, const AliDetectorRecoParam *par) ;
        void             SetRunLoader(AliRunLoader * rl) { fRunLoader = rl ; }
+  void             SetSaveData(Bool_t opt = kTRUE ) { fSaveData = opt ; }
        void             SetTasks(TString tasks) { fTasks = tasks ; }
   void             SetWriteExpert() ; 
   void             ShowQA() ; 
@@ -118,9 +123,10 @@ private:
        Int_t                       fQACycles[fgkNDetectors];       //! array of QA cycle length
        Bool_t                      fQAWriteExpert[fgkNDetectors];  //! array of QA cycle length
   AliRecoParam::EventSpecie_t fEventSpecie ;                  //! type of event 
-  Bool_t                      fPrintImage ;                    //! flag to print the images or not
+  Bool_t                      fPrintImage ;                   //! flag to print the images or not
+  Bool_t                      fSaveData ;                     //! flag to sve the QA data or not   
     
-  ClassDef(AliQAManager, 1)      // class for running the QA makers
+  ClassDef(AliQAManager, 2)      // class for running the QA makers
 };
 
 #endif