Bug fixes
[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();
11 AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam();
12 AliTPCReconstructor::SetRecoParam(tpcRecoParam);
13 AliTPCReconstructor::SetStreamLevel(1);
14 // reco.SetInput("raw.root");
7fb59432 15 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON VZERO T0 FMD PMD ZDC");
2ded75c3 16// **** The field map settings must be the same as in Config.C !
17 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
18 Bool_t uniform=kFALSE;
19 AliTracker::SetFieldMap(field,uniform);
20
3928b038 21 TStopwatch timer;
22 timer.Start();
23 reco.Run();
24 timer.Stop();
25 timer.Print();
26}