]>
Commit | Line | Data |
---|---|---|
1 | void rec() { | |
2 | ||
3 | AliReconstruction reco; | |
4 | ||
5 | reco.SetWriteESDfriend(); | |
6 | reco.SetWriteAlignmentData(); | |
7 | ||
8 | reco.SetInput("raw.root"); | |
9 | ||
10 | reco.SetNumberOfEventsPerFile(-1); // all events in one single file | |
11 | ||
12 | reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); | |
13 | reco.SetSpecificStorage("GRP/GRP/Data", | |
14 | Form("local://%s/..",gSystem->pwd())); | |
15 | reco.SetRunPlaneEff(kTRUE); | |
16 | ||
17 | reco.SetRunReconstruction("ALL") ; | |
18 | reco.SetRunQA("ALL:ALL") ; | |
19 | ||
20 | reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ; | |
21 | ||
22 | for (Int_t det = 0 ; det < AliQA::kNDET ; det++) { | |
23 | reco.SetQACycles((AliQAv1::DETECTORINDEX_t)det, 999) ; | |
24 | reco.SetQAWriteExpert((AliQAv1::DETECTORINDEX_t)det) ; | |
25 | } | |
26 | ||
27 | TStopwatch timer; | |
28 | timer.Start(); | |
29 | reco.Run(); | |
30 | timer.Stop(); | |
31 | timer.Print(); | |
32 | } |