Modified file access mode
[u/mrichter/AliRoot.git] / test / ppbench / rec.C
CommitLineData
27b7c1fb 1void rec() {
2 AliReconstruction reco;
3
27b7c1fb 4 reco.SetWriteESDfriend();
5 reco.SetWriteAlignmentData();
6 AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam();
7 AliTPCReconstructor::SetRecoParam(tpcRecoParam);
8 AliTPCReconstructor::SetStreamLevel(1);
9 // reco.SetInput("raw.root");
10
2ded75c3 11// **** The field map settings must be the same as in Config.C !
12 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
13 Bool_t uniform=kFALSE;
14 AliTracker::SetFieldMap(field,uniform);
15
27b7c1fb 16 TStopwatch timer;
17 timer.Start();
18 reco.Run();
19 timer.Stop();
20 timer.Print();
21}