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 | |
6dc54f2c |
13 | reco.SetRunQA("ALL:ALL") ; |
14 | |
15 | AliQA::SetQARefStorage("local://$ALICE_ROOT/QAref") ; |
16 | |
17 | for (Int_t det = 0 ; det < AliQA::kNDET ; det++) { |
18 | reco.SetQACycles(det, 999) ; |
19 | reco.SetQAWriteExpert(det) ; |
20 | } |
21 | |
313d5d68 |
22 | reco.SetInput("raw.root"); |
23 | |
24 | reco.SetNumberOfEventsPerFile(-1); // all events in one single file |
25 | |
26 | TStopwatch timer; |
27 | timer.Start(); |
28 | reco.Run(); |
29 | timer.Stop(); |
30 | timer.Print(); |
31 | } |