Using AliMagWrapCheb
[u/mrichter/AliRoot.git] / test / gun / sim.C
index ef1e7d20279a44715f223eb6e42ff99188cd5178..92f57fad3d1a33062ade8cddca5c270fe90ed392 100644 (file)
@@ -1,9 +1,14 @@
 void sim(Int_t nev=4) {
+
   AliSimulation simulator;
   simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
   simulator.SetMakeDigitsFromHits("ITS TPC");
   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();
   simulator.Run(nev);