Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / test / PbPbbench / recraw / rec.C
1 void rec() {
2
3   AliReconstruction reco;
4
5   reco.SetUniformFieldTracking(kFALSE);
6   reco.SetWriteESDfriend();
7   reco.SetWriteAlignmentData();
8
9   reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
10   reco.SetSpecificStorage("GRP/GRP/Data",
11                           Form("local://%s/..",gSystem->pwd()));
12
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 }