Final TOF version: 18 modules with holes for PHOS (Annalisa)
[u/mrichter/AliRoot.git] / test / PbPbbench / recraw / rec.C
CommitLineData
313d5d68 1void rec() {
2
3 AliCDBManager::Instance()->SetRun(0);
4
5 AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., AliMagFMaps::k5kG);
6 AliTracker::SetFieldMap(field,kTRUE);
7
8 AliReconstruction reco;
9
10 reco.SetUniformFieldTracking(kFALSE);
11 reco.SetWriteESDfriend();
12 reco.SetWriteAlignmentData();
13 AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetHighFluxParam();
14 AliTPCReconstructor::SetRecoParam(tpcRecoParam);
15 // AliTPCReconstructor::SetStreamLevel(1);
16
58b59ff1 17 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON FMD PMD ZDC T0 VZERO");
313d5d68 18 reco.SetInput("raw.root");
19
20 reco.SetNumberOfEventsPerFile(-1); // all events in one single file
3b90f080 21 reco.SetRunVertexFinderTracks(kFALSE);
313d5d68 22
23 TStopwatch timer;
24 timer.Start();
25 reco.Run();
26 timer.Stop();
27 timer.Print();
28}