Using specific VZERO OCDB entry for Pb-Pb simulation/reconstruction.
[u/mrichter/AliRoot.git] / test / PbPbbench / rec.C
CommitLineData
313d5d68 1void rec() {
2 AliReconstruction reco;
3
313d5d68 4 reco.SetWriteESDfriend();
5 reco.SetWriteAlignmentData();
313d5d68 6
162637e4 7 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8bd4ae25 8 reco.SetSpecificStorage("GRP/GRP/Data",
9 Form("local://%s",gSystem->pwd()));
a143c29a 10 reco.SetSpecificStorage("VZERO/Calib/Data",
11 "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
421fc2ac 12 reco.SetRunQA("ALL:ALL") ;
13
2a4d8376 14 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
b5688f53 15 reco.SetRunPlaneEff(kTRUE);
421fc2ac 16
17 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
18 reco.SetQACycles(det, 999) ;
19 reco.SetQAWriteExpert(det) ;
20 }
2ded75c3 21
313d5d68 22 TStopwatch timer;
23 timer.Start();
24 reco.Run();
25 timer.Stop();
26 timer.Print();
27}