ACORDEv1 is now the default
[u/mrichter/AliRoot.git] / test / QA / rec.C
CommitLineData
478d5b53 1void rec() {
2 const char * kYear = "08" ;
3 AliCDBManager * man = AliCDBManager::Instance();
59932366 4 //man->SetDefaultStorage("alien://Folder=/alice/data/2008/LHC08c/OCDB/");
5 man->SetDefaultStorage("local://$ALICE_ROOT");
478d5b53 6 man->SetSpecificStorage("EMCAL/*","local://DB");
7
8 AliReconstruction reco;
2ded75c3 9
478d5b53 10 reco.SetWriteESDfriend();
11 reco.SetWriteAlignmentData();
cfe7293f 12
59932366 13 reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
cfe7293f 14 reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
15 reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
16 reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
17
59932366 18 AliTPCReconstructor::SetStreamLevel(1);
a0e083a2 19// reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC ACORDE");
20 reco.SetRunReconstruction("ITS TPC TRD HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC ACORDE");
cfe7293f 21 reco.SetRunQA("ALL:ALL") ;
59932366 22 reco.SetInLoopQA() ;
ce43afbe 23
f48d94ce 24 // AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
51757634 25 AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
478d5b53 26
2ded75c3 27// **** The field map settings must be the same as in Config.C !
28 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
29 Bool_t uniform=kFALSE;
30 AliTracker::SetFieldMap(field,uniform);
31
478d5b53 32 TStopwatch timer;
33 timer.Start();
1bc82d3e 34 reco.Run();
478d5b53 35 timer.Stop();
36 timer.Print();
37}
38