Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / test / merge / signal / sim.C
CommitLineData
3928b038 1void sim(Int_t nev=1) {
2 AliSimulation simulator;
3 simulator.MergeWith("../backgr/galice.root",3);
4 simulator.SetWriteRawData("ALL","raw.root",kTRUE);
5
162637e4 6 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
29451c4c 7 simulator.SetSpecificStorage("GRP/GRP/Data",
8 Form("local://%s",gSystem->pwd()));
9
3928b038 10 TStopwatch timer;
11 timer.Start();
12 simulator.Run(nev);
13 timer.Stop();
14 timer.Print();
15}