added comment on specious initialization, which is in fact correct
[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();
09244196 13 reco.SetRecoParam("TPC",AliTPCRecoParam::GetHighFluxParam());
14 reco.SetRecoParam("TRD",AliTRDrecoParam::GetHighFluxParam());
15 reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
16 reco.SetRecoParam("MUON",AliMUONRecoParam::GetHighFluxParam());
313d5d68 17
58b59ff1 18 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON FMD PMD ZDC T0 VZERO");
313d5d68 19 reco.SetInput("raw.root");
20
21 reco.SetNumberOfEventsPerFile(-1); // all events in one single file
3b90f080 22 reco.SetRunVertexFinderTracks(kFALSE);
313d5d68 23
24 TStopwatch timer;
25 timer.Start();
26 reco.Run();
27 timer.Stop();
28 timer.Print();
29}