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