#include <TROOT.h>
#include <TString.h>
#include <TSystem.h>
+#include <TStopwatch.h>
#include "AliCDBManager.h"
#include "AliCDBEntry.h"
}
TCanvas fakeCanvas ;
if (fPrintImage)
- fakeCanvas.Print(Form("%s%s%d.%s]", AliQAv1::GetImageFileName(), GetMode(), fRunNumber, AliQAv1::GetImageFileFormat()));
+ fakeCanvas.Print(Form("%s%s%d.%s]", AliQAv1::GetImageFileName(), GetMode(), fRunNumber, AliQAv1::GetImageFileFormat()), "ps");
}
//_____________________________________________________________________________
InitQADataMaker(fRunNumber, detArray) ; //, fCycleSame, kTRUE, detArray) ;
if (fPrintImage) {
TCanvas fakeCanvas ;
+ TStopwatch timer ;
+ timer.Start() ;
+ while (timer.CpuTime()<5) {
+ timer.Continue();
+ gSystem->ProcessEvents();
+ }
fakeCanvas.Print(Form("%s%s%d.%s[", AliQAv1::GetImageFileName(), GetMode(), fRunNumber, AliQAv1::GetImageFileFormat())) ;
}
return kTRUE ;
return rv ;
}
+//_____________________________________________________________________________
+
+void AliQAManager::SetCheckerExternParam(AliQAv1::DETECTORINDEX_t detIndex, TList * parameterList)
+{
+ // set the external parameters list for the detector checkers
+ AliQACheckerBase * qac = AliQAChecker::Instance()->GetDetQAChecker(detIndex) ;
+ qac->SetExternParamlist(parameterList) ;
+ qac->PrintExternParam() ;
+}
+
//_____________________________________________________________________________
void AliQAManager::SetEventSpecie(AliRecoParam::EventSpecie_t es)
{
void RunOneEvent(AliESDEvent *& esd) ;
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 ; }