Using specific VZERO OCDB entry for Pb-Pb simulation/reconstruction.
[u/mrichter/AliRoot.git] / test / PbPbbench / recraw / rec.C
... / ...
CommitLineData
1void rec() {
2
3 AliReconstruction reco;
4
5 reco.SetWriteESDfriend();
6 reco.SetWriteAlignmentData();
7
8 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
9 reco.SetSpecificStorage("GRP/GRP/Data",
10 Form("local://%s/..",gSystem->pwd()));
11 reco.SetSpecificStorage("VZERO/Calib/Data",
12 "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
13
14 reco.SetRunQA("ALL:ALL") ;
15
16 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
17 reco.SetRunPlaneEff(kTRUE);
18
19 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
20 reco.SetQACycles(det, 999) ;
21 reco.SetQAWriteExpert(det) ;
22 }
23
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}