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