Using specific VZERO OCDB entry for Pb-Pb simulation/reconstruction.
[u/mrichter/AliRoot.git] / test / merge / backgr / sim.C
CommitLineData
3928b038 1void sim(Int_t nev=1) {
2 AliSimulation simulator;
3 simulator.SetWriteRawData("ALL","raw.root",kTRUE);
4
162637e4 5 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
29451c4c 6 simulator.SetSpecificStorage("GRP/GRP/Data",
7 Form("local://%s",gSystem->pwd()));
a143c29a 8 simulator.SetSpecificStorage("VZERO/Calib/Data",
9 "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
29451c4c 10
3928b038 11 TStopwatch timer;
12 timer.Start();
13 simulator.Run(nev);
14 timer.Stop();
15 timer.Print();
16}