Update master to aliroot
[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()));
b5688f53 10 reco.SetRunPlaneEff(kTRUE);
2ded75c3 11
e98db466 12 reco.SetRunQA("ALL:ALL") ;
13
f1c1204d 14 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
e98db466 15
16 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
2b919384 17 reco.SetQACycles((AliQAv1::DETECTORINDEX_t)det, 999) ;
18 reco.SetQAWriteExpert((AliQAv1::DETECTORINDEX_t)det) ;
e98db466 19 }
20
27b7c1fb 21 TStopwatch timer;
22 timer.Start();
23 reco.Run();
24 timer.Stop();
25 timer.Print();
26}