const Int_t GetQACycles(const char * detector) { return fQACycles[GetDetIndex(detector)] ; }
void SetQACycles(const char * detector, const Int_t cycles) { fQACycles[GetDetIndex(detector)] = cycles ; }
Bool_t RunQA(const char* detectors, AliQA::TASKINDEX task) ;
-
+ void SetQA(const Bool_t val) { fRunQA = val ; }
+
private:
AliRunLoader* LoadRun(const char* mode = "UPDATE") const;
Int_t GetNSignalPerBkgrd(Int_t nEvents = 0) const;
static const Int_t fgkNDetectors = 15 ; // number of detectors
static const char * fgkDetectorName[fgkNDetectors] ; // names of detectors
Int_t fQACycles[fgkNDetectors] ; // cycle length (# events) over which QA data are accumulated
+ Bool_t fRunQA ; // Runs the QA at the end of simulation
//HLT
TString fRunHLT; // HLT options, HLT is disabled if empty, default='default'
- ClassDef(AliSimulation, 6) // class for running generation, simulation and digitization
+ ClassDef(AliSimulation, 7) // class for running generation, simulation and digitization
};
#endif