c0d9932bdee9680696ea0f3008780a2008ae0dca
[u/mrichter/AliRoot.git] / test / QA / recqa.C
1 void recqa()
2 {
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/data/2008/LHC08d/OCDB/") ; 
8         man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
9   man.SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
10         TString detectors("ITS TPC TRD TOF PHOS HMPID EMCAL/*MUON*/ FMD ZDC PMD T0 VZERO");
11         
12         //AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
13         AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
14         //AliQA::SetQARefDataDirName(AliQA::kMONTECARLO) ; //RUN_TYPE
15    
16   AliQADataMakerSteer qas("rec") ; 
17   qas.Run(detectors.Data(), AliQA::kRECPOINTS);
18 }