]> git.uio.no Git - u/mrichter/AliRoot.git/blob - test/ppbench/rec.C
Fixing bug #59470
[u/mrichter/AliRoot.git] / test / ppbench / rec.C
1 void rec() {
2   AliReconstruction reco;
3
4   reco.SetWriteESDfriend();
5   reco.SetWriteAlignmentData();
6
7   reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8   reco.SetSpecificStorage("GRP/GRP/Data",
9                           Form("local://%s",gSystem->pwd()));
10   reco.SetRunPlaneEff(kTRUE);
11
12   reco.SetRunQA("ALL:ALL") ;
13   
14   reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
15   
16   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
17     reco.SetQACycles(det, 999) ;
18     reco.SetQAWriteExpert(det) ; 
19   }
20   
21   TStopwatch timer;
22   timer.Start();
23   reco.Run();
24   timer.Stop();
25   timer.Print();
26 }