set proper OCD location
[u/mrichter/AliRoot.git] / test / QA / rec.C
CommitLineData
478d5b53 1void rec() {
2 const char * kYear = "08" ;
3 AliCDBManager * man = AliCDBManager::Instance();
31073f98 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
13 reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
14 reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
15 reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
16 reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
17
18 AliTPCReconstructor::SetStreamLevel(1);
44abb585 19 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC ACORDE");
cfe7293f 20 reco.SetRunQA("ALL:ALL") ;
ce43afbe 21 reco.SetInLoopQA() ;
22
f48d94ce 23 // AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
51757634 24 AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
478d5b53 25
2ded75c3 26// **** The field map settings must be the same as in Config.C !
27 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
28 Bool_t uniform=kFALSE;
29 AliTracker::SetFieldMap(field,uniform);
30
478d5b53 31 TStopwatch timer;
32 timer.Start();
1bc82d3e 33 reco.Run();
478d5b53 34 timer.Stop();
35 timer.Print();
36}
37