Extacting the OCDB in a separate module. The detectors have write permission in the...
[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
9   TStopwatch timer;
10   timer.Start();
11   simulator.Run(nev);
12   timer.Stop();
13   timer.Print();
14 }