#include "AliLoader.h"
#include "AliCDBManager.h"
#include "AliRecoParam.h"
+#include "AliEventInfo.h"
class TCanvas ;
class AliESDEvent ;
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() ; }
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 ; }
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] ; }
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
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