From: snelling Date: Thu, 12 Nov 2009 13:51:10 +0000 (+0000) Subject: fix to run also in root under windows X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=5b118db2060baf92d340214eac8dda7883160e96 fix to run also in root under windows --- diff --git a/PWG2/FLOW/Tools/glauberMC/initGlauberMC.C b/PWG2/FLOW/Tools/glauberMC/initGlauberMC.C deleted file mode 100644 index 693825ab50a..00000000000 --- a/PWG2/FLOW/Tools/glauberMC/initGlauberMC.C +++ /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++"); -} diff --git a/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C b/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C index 977573b3b83..6233a55f984 100644 --- a/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C +++ b/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C @@ -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"