cleaning
[u/mrichter/AliRoot.git] / test / QA / simqa.C
CommitLineData
478d5b53 1void simqa()
2{
0b8c22db 3 const char * kYear = "08" ;
4 gEnv->SetValue("Root.Stacktrace","no");
5 gEnv->SetValue("Root.Stacktrace","no");
6 AliCDBManager * man = AliCDBManager::Instance();
7 //man->SetDefaultStorage("alien://Folder=/alice/simulation/2007/PDC07_v4-09-Rev-00/Ideal/CDB/");
8 man->SetDefaultStorage("local://$ALICE_ROOT");
9 TString detectors("ITS TPC TRD TOF PHOS HMPID EMCAL MUON FMD PMD ZDC T0 VZERO");
10
11 AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
12 AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
478d5b53 13
478d5b53 14
0b8c22db 15 AliQADataMakerSteer qas ;
16 qas.Run(detectors.Data(), AliQA::kHITS);
17 qas.Run(detectors.Data(), AliQA::kSDIGITS);
18 qas.Run(detectors.Data(), AliQA::kDIGITS);
478d5b53 19}