ACORDEv1 is now the default
[u/mrichter/AliRoot.git] / test / ppbench / rec.C
1 void rec() {
2   AliReconstruction reco;
3
4   reco.SetWriteESDfriend();
5   reco.SetWriteAlignmentData();
6   reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
7   reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
8   reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
9   reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
10   //   reco.SetInput("raw.root");
11
12 // **** The field map settings must be the same as in Config.C !
13   AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
14   Bool_t uniform=kFALSE;
15   AliTracker::SetFieldMap(field,uniform);
16
17   TStopwatch timer;
18   timer.Start();
19   reco.Run();
20   timer.Stop();
21   timer.Print();
22 }