QA ref defaut storage setter in sim and rec
[u/mrichter/AliRoot.git] / test / ppbench / rec.C
CommitLineData
27b7c1fb 1void rec() {
2 AliReconstruction reco;
3
27b7c1fb 4 reco.SetWriteESDfriend();
5 reco.SetWriteAlignmentData();
27b7c1fb 6
162637e4 7 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
50258ad8 8 reco.SetSpecificStorage("GRP/GRP/Data",
9 Form("local://%s",gSystem->pwd()));
2ded75c3 10
e98db466 11 reco.SetRunQA("ALL:ALL") ;
12
f1c1204d 13 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
e98db466 14
15 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
16 reco.SetQACycles(det, 999) ;
17 reco.SetQAWriteExpert(det) ;
18 }
19
27b7c1fb 20 TStopwatch timer;
21 timer.Start();
22 reco.Run();
23 timer.Stop();
24 timer.Print();
25}