more on dir creation
[u/mrichter/AliRoot.git] / test / fpprod / rec.C
CommitLineData
28b75255 1void rec() {
7fb59432 2 if (!strcmp(gSystem->GetBuildArch(),"win32gcc")) {
3 gSystem->Load("libProof");
4 gSystem->Load("libGui");
5 gROOT->Macro("loadlibsrec.C");
6 new AliRun("gAlice","The ALICE Off-line Simulation Framework");
7 }
28b75255 8 AliReconstruction reco;
2ded75c3 9
28b75255 10 reco.SetWriteESDfriend();
11 reco.SetWriteAlignmentData();
09244196 12 reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
13 reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
14 reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
15 reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
28b75255 16 // reco.SetInput("raw.root");
17 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON VZERO T0 FMD PMD ZDC");
09244196 18 reco.SetRunQA(":");
19 reco.SetRunGlobalQA(kTRUE);
277bafdc 20 reco.SetMeanVertexConstraint(kFALSE);
8d735b33 21
2ded75c3 22// **** The field map settings must be the same as in Config.C !
23 AliMagWrapCheb* field = 0x0;
2ded75c3 24 field = new AliMagWrapCheb("Maps","Maps", 2, 1., 10., AliMagWrapCheb::k5kG);
25 Bool_t uniform=kFALSE;
26 AliTracker::SetFieldMap(field,uniform); // tracking with the real map
27
28b75255 28 TStopwatch timer;
29 timer.Start();
30 reco.Run();
31 timer.Stop();
32 timer.Print();
33}