Using GRP instead of local setters
[u/mrichter/AliRoot.git] / test / pploadlibs / sim.C
index d3d38c7b3d7712309beaec7a40bffb19f772bb50..a5e0415ced1bf42c46370ef598461997f0af39a1 100644 (file)
@@ -1,17 +1,14 @@
 void sim(Int_t nev=20) {
-  gSystem->Load("libProof");
-  gSystem->Load("libGui");
-  if (!strcmp(gSystem->GetBuildArch(),"macosx")) gSystem->Load("libf95");
   gROOT->Macro("loadlibssim.C");
   new AliRun("gAlice","The ALICE Off-line Simulation Framework");
 
   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.SetRunHLT("");
-  simulator.SetRunQA(":");
  
+  simulator.SetDefaultStorage("local://$ALICE_ROOT");
+  simulator.SetSpecificStorage("GRP/GRP/Data",
+                              Form("local://%s",gSystem->pwd()));
   TStopwatch timer;
   timer.Start();
   simulator.Run(nev);