multithreaded stand alone geant 4 application to calculate various hadronic cross sections
Prerequisites: Geant4 and ROOT installed and the runtime properly initialized.
cmake
Checking the code out from github: git clone https://hanswenzel@github.com/hanswenzel/XsStudies.git
Build Instructions: For an out of source build do:
mkdir XsStudies-build
cd XsStudies-build
cmake ../XsStudies/ -GNinja -DCMAKE_INSTALL_PREFIX=../XsStudies-install
ninja install
To run it :
First use the provided python script to generate the geant4 input:
cd ../XsStudies-install/bin
python ../../XsStudies/scripts/makePi+Inputs.py
chmod +x run.sh
./run.sh
if you want to run more eventsfor better statistics change the line print >> out, "/run/beamOn 100000" in makePi+Inputs.py accordingly.

