fix to run also in root under windows
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Nov 2009 13:51:10 +0000 (13:51 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Nov 2009 13:51:10 +0000 (13:51 +0000)
PWG2/FLOW/Tools/glauberMC/initGlauberMC.C [deleted file]
PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C

diff --git a/PWG2/FLOW/Tools/glauberMC/initGlauberMC.C b/PWG2/FLOW/Tools/glauberMC/initGlauberMC.C
deleted file mode 100644 (file)
index 693825a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  gSystem->AddIncludePath("-I$ALICE_ROOT/include");
-  gSystem->AddIncludePath("-I$PWD");
-  gROOT->LoadMacro("AliGlauberNucleon.cxx++");
-  gROOT->LoadMacro("AliGlauberNucleus.cxx++");
-  gROOT->LoadMacro("AliGlauberMC.cxx++");
-}
index 977573b..6233a55 100644 (file)
@@ -1,6 +1,9 @@
 {
   //load libraries
-  gROOT->Macro("initGlauberMC.C");
+  gROOT->LoadMacro("AliGlauberNucleon.cxx+");
+  gROOT->LoadMacro("AliGlauberNucleus.cxx+");
+  gROOT->LoadMacro("AliGlauberMC.cxx+");
+
 
   Int_t nevents = 10000; // number of events to simulate 
   // supported systems are e.g. "p", "d", "Si", "Au", "Pb", "U"