From ba441bc7c541e625799b73182cc2e947f23d1c55 Mon Sep 17 00:00:00 2001 From: snelling Date: Wed, 11 Nov 2009 18:23:05 +0000 Subject: [PATCH] document a few settings --- PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C b/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C index 5e67a0d2058..977573b3b83 100644 --- a/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C +++ b/PWG2/FLOW/Tools/glauberMC/runGlauberMCexample.C @@ -2,7 +2,16 @@ //load libraries gROOT->Macro("initGlauberMC.C"); - //run the example code: - //AliGlauberMC::runAndSaveNucleons(10000,"Pb","Pb",72); - AliGlauberMC::runAndSaveNtuple(10000,"Pb","Pb",72); + Int_t nevents = 10000; // number of events to simulate + // supported systems are e.g. "p", "d", "Si", "Au", "Pb", "U" + Option_t *sysA="Pb"; + Option_t *sysB="Pb"; + Double_t signn=72; // inelastic nucleon nucleon cross section + const char *fname="GlauberMC_PbPb_ntuple.root"; // name output file + + // run the code to produce an ntuple: + // AliGlauberMC::runAndSaveNucleons(10000,"Pb","Pb",72); + Double_t mind=0.4; + AliGlauberMC::runAndSaveNtuple(nevents,sysA,sysB,signn,mind,fname); + } -- 2.43.0