]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/pploadlibs/sim.C
Root6-enabled version
[u/mrichter/AliRoot.git] / test / pploadlibs / sim.C
index 297cd78aa375b75c8dae676c18bce47a84427298..cdc076a36bc1602a29a97bda06514e0708fc4480 100644 (file)
@@ -1,17 +1,15 @@
 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.SetQA(kFALSE);
+    simulator.SetMakeDigitsFromHits("ITS TPC");
  
+  simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  simulator.SetSpecificStorage("GRP/GRP/Data",
+                              Form("local://%s",gSystem->pwd()));
+  simulator.SetRunQA(":");
+
   TStopwatch timer;
   timer.Start();
   simulator.Run(nev);