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