Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / test / PbPbbench / recraw / rec.C
CommitLineData
313d5d68 1void rec() {
2
313d5d68 3 AliReconstruction reco;
4
5 reco.SetUniformFieldTracking(kFALSE);
6 reco.SetWriteESDfriend();
7 reco.SetWriteAlignmentData();
313d5d68 8
162637e4 9 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8bd4ae25 10 reco.SetSpecificStorage("GRP/GRP/Data",
11 Form("local://%s/..",gSystem->pwd()));
8bd4ae25 12
313d5d68 13 reco.SetInput("raw.root");
14
15 reco.SetNumberOfEventsPerFile(-1); // all events in one single file
16
17 TStopwatch timer;
18 timer.Start();
19 reco.Run();
20 timer.Stop();
21 timer.Print();
22}