void EndOfCycle(TString detectors) ;
UInt_t GetCurrentEvent() const { return fCurrentEvent ; }
TObjArray * GetFromOCDB(AliQA::DETECTORINDEX_t det, AliQA::TASKINDEX_t task, const char * year) const ;
+ AliQA * GetQA(UInt_t run, UInt_t evt) ;
AliQADataMaker * GetQADataMaker(const Int_t iDet) ;
void Increment() ;
- void InitQADataMaker(UInt_t run, const AliRecoParam & par, TObjArray * detArray=0x0) ;
+ void InitQADataMaker(UInt_t run, TObjArray * detArray=0x0) ;
Bool_t Merge(const Int_t runNumber = -1 ) const ;
void Reset(const Bool_t sameCycle = kFALSE) ;
TString Run(const char * detectors, const AliQA::TASKINDEX_t taskIndex=AliQA::kNULLTASKINDEX, Bool_t const sameCycle = kFALSE, const char * fileName = NULL) ;
void RunOneEvent(AliRawReader * rawReader) ;
void RunOneEventInOneDetector(Int_t det, TTree * tree) ;
void RunOneEvent(AliESDEvent *& esd) ;
- Bool_t Save2OCDB(const Int_t runNumber, const char * year = "08", const char * detectors = "ALL") const ;
+ Bool_t Save2OCDB(const Int_t runNumber, AliRecoParam::EventSpecie_t es, const char * year = "08", const char * detectors = "ALL") const ;
void SetActiveDetectors(TString aDet) { fDetectors = aDet ; }
void SetCycleLength(const AliQA::DETECTORINDEX_t det, const Int_t cycle) { fQACycles[det] = cycle ; }
void SetWriteExpert(const AliQA::DETECTORINDEX_t det) { fQAWriteExpert[det] = kTRUE ; }
- void SetEventRange(UInt_t first, UInt_t last) { fFirstEvent = first ; fMaxEvents = last - first + 1 ; }
+ 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 ; }
void SetMaxEvents(UInt_t max) { fMaxEvents = max ; }
void SetNewCycle() { fCycleSame = kTRUE ; }
- void SetRecoParam(const char* detector, AliDetectorRecoParam *par) ;
+ void SetRecoParam(const Int_t det, const AliDetectorRecoParam *par) ;
void SetRunLoader(AliRunLoader * rl) { fRunLoader = rl ; }
void SetTasks(TString tasks) { fTasks = tasks ; }
private:
Bool_t DoIt(const AliQA::TASKINDEX_t taskIndex) ;
AliLoader * GetLoader(Int_t iDet) ;
- Int_t GetQACycles(const Int_t iDet) const { return fQACycles[iDet] ; }
+ Int_t GetQACycles(const Int_t iDet) const { return fQACycles[iDet] ; }
Bool_t Init(const AliQA::TASKINDEX_t taskIndex, const char * fileName = NULL) ;
Bool_t InitRunLoader() ;
Bool_t IsSelected(const char * detName) ;
Bool_t Finish(const AliQA::TASKINDEX_t taskIndex) ;
Bool_t MergeData(const Int_t runNumber) const ;
Bool_t MergeResults(const Int_t runNumber) const ;
- Bool_t SaveIt2OCDB(const Int_t runNumber, TFile * inputFile, const char * year) const ;
+ Bool_t SaveIt2OCDB(const Int_t runNumber, TFile * inputFile, const char * year, AliRecoParam::EventSpecie_t es) const ;
UInt_t fCurrentEvent ; //! event counter
AliQADataMaker * fQADataMaker[fgkNDetectors]; //! array of QA data maker objects
Int_t fQACycles[fgkNDetectors]; //! array of QA cycle length
Bool_t fQAWriteExpert[fgkNDetectors]; //! array of QA cycle length
-
+ AliRecoParam::EventSpecie_t fEventSpecie ; //! event specie, see AliRecoParam::EventSpecie_t
ClassDef(AliQADataMakerSteer, 0) // class for running the QA makers
};