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