allow to set the number of events throub an env variable
[u/mrichter/AliRoot.git] / test / PbPbbench / sim.C
index b1453349ea3bd83bc53f4a0792de91241546bcf5..55f41df07a4b910e38776991f813b34b5bdfdea6 100644 (file)
@@ -1,6 +1,10 @@
 void sim(Int_t nev=1) {
   AliSimulation simulator;
   simulator.SetWriteRawData("ALL","raw.root",kTRUE);
+
+  simulator.SetDefaultStorage("local://$ALICE_ROOT");
+  simulator.SetSpecificStorage("GRP/GRP/Data",
+                              Form("local://%s",gSystem->pwd()));
  
   TStopwatch timer;
   timer.Start();