new macros to test QA
[u/mrichter/AliRoot.git] / test / QA / simqa.C
CommitLineData
478d5b53 1void simqa()
2{
3 const char * kYear = "08" ;
4 gEnv->SetValue("Root.Stacktrace","no");
5 gEnv->SetValue("Root.Stacktrace","no");
6 AliGeomManager::LoadGeometry("geometry.root");
7 AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
8 AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
9
10 TString detectors("ITS TPC TRD TOF PHOS HMPID EMCAL MUON FMD PMD ZDC T0 VZERO");
11
12 AliQADataMakerSteer qas ;
13 qas.Run(detectors.Data(), AliQA::kHITS);
14 qas.Run(detectors.Data(), AliQA::kSDIGITS);
15 qas.Run(detectors.Data(), AliQA::kDIGITS);
16}