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