313d5d68 |
1 | void 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 | } |