removed geometry.root for raw rec
[u/mrichter/AliRoot.git] / test / QA / rec.C
CommitLineData
930e6e3e 1 void rec() {
478d5b53 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);
f479d4aa 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
f48d94ce 22 // AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
51757634 23 AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
478d5b53 24
930e6e3e 25 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
26 reco.SetQACycles(det, 2) ;
27 }
28
2ded75c3 29// **** The field map settings must be the same as in Config.C !
30 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
31 Bool_t uniform=kFALSE;
32 AliTracker::SetFieldMap(field,uniform);
33
478d5b53 34 TStopwatch timer;
35 timer.Start();
1bc82d3e 36 reco.Run();
478d5b53 37 timer.Stop();
38 timer.Print();
39}
40