]> git.uio.no Git - u/mrichter/AliRoot.git/blame - test/ppbench/recraw/rec.C
merger methods for QA files
[u/mrichter/AliRoot.git] / test / ppbench / recraw / rec.C
CommitLineData
27b7c1fb 1void rec() {
2
27b7c1fb 3 AliReconstruction reco;
4
5 reco.SetUniformFieldTracking(kFALSE);
6 reco.SetWriteESDfriend();
7 reco.SetWriteAlignmentData();
27b7c1fb 8
27b7c1fb 9 reco.SetInput("raw.root");
10
11 reco.SetNumberOfEventsPerFile(-1); // all events in one single file
12
162637e4 13 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
50258ad8 14 reco.SetSpecificStorage("GRP/GRP/Data",
15 Form("local://%s/..",gSystem->pwd()));
09244196 16
927ebea8 17 reco.SetRunQA("ALL:ALL") ;
18
f1c1204d 19 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
927ebea8 20
21 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
22 reco.SetQACycles(det, 999) ;
23 reco.SetQAWriteExpert(det) ;
24 }
25
27b7c1fb 26 TStopwatch timer;
27 timer.Start();
28 reco.Run();
fc07289e 29 reco.MergeQA() ;
27b7c1fb 30 timer.Stop();
31 timer.Print();
32}