ef026aa2 |
1 | void 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())); |
b5688f53 |
11 | reco.SetRunPlaneEff(kTRUE); |
d79ed896 |
12 | |
ef026aa2 |
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 | } |