3 gSystem->SetBuildDir("/tmp");
4 gROOT->LoadMacro("$ALICE_ROOT/PWG2/FLOW/AliFlowTools/glauberMC/AliGlauberNucleon.cxx+");
5 gROOT->LoadMacro("$ALICE_ROOT/PWG2/FLOW/AliFlowTools/glauberMC/AliGlauberNucleus.cxx+");
6 gROOT->LoadMacro("$ALICE_ROOT/PWG2/FLOW/AliFlowTools/glauberMC/AliGlauberMC.cxx+");
9 Int_t nevents = 10000; // number of events to simulate
10 // supported systems are e.g. "p", "d", "Si", "Au", "Pb", "U"
13 Double_t signn=72; // inelastic nucleon nucleon cross section
14 const char *fname="GlauberMC_PbPb_ntuple.root"; // name output file
16 // run the code to produce an ntuple:
17 // AliGlauberMC::runAndSaveNucleons(10000,"Pb","Pb",72);
19 AliGlauberMC::runAndSaveNtuple(nevents,sysA,sysB,signn,mind,fname);