Skip to content

multithreaded stand alone geant 4 application to calculate various hadronic cross sections

Notifications You must be signed in to change notification settings

hanswenzel/XsStudies

Repository files navigation

XsStudies

multithreaded stand alone geant 4 application to calculate various hadronic cross sections

Prerequisites: Geant4 and ROOT installed and the runtime properly initialized.
cmake

example: differential cross section pi- on Ar

differential cross section

example: differential cross section pi- on Ar

differential cross section

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.

About

multithreaded stand alone geant 4 application to calculate various hadronic cross sections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published