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