Separate syswatch for sim. and rec.
[u/mrichter/AliRoot.git] / test / gun / sim.C
index 176009327705ddd7c52183a7898412c16e216e28..184b721475ab27ebd488d848ee2f56d1bf04c109 100644 (file)
@@ -1,8 +1,13 @@
 void sim(Int_t nev=4) {
+
   AliSimulation simulator;
-  simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
+  simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO ACORDE");
   simulator.SetMakeDigitsFromHits("ITS TPC");
-  //  simulator.SetWriteRawData("ALL","raw.root",kTRUE);
+  simulator.SetWriteRawData("ALL","raw.root",kTRUE);
+
+  simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  simulator.SetSpecificStorage("GRP/GRP/Data",
+                              Form("local://%s",gSystem->pwd()));
 
   TStopwatch timer;
   timer.Start();