Geant4
About Geant4
Geant4 is a software toolkit for the simulation of the passage of particles through matter. It is used by a large number of experiments and projects in a variety of application domains, including high energy physics, astrophysics and space science, medical physics and radiation protection. It is free to install and run, and does not require RSICC approval.
Using Geant4
Geant4 is a simulation toolkit in which the user implements various classes in order to run their simulation; it is not like MCNP or other programs in which there is an input deck. The user needs to compile and link their code before running a simulation. This tutorial will describe using Geant4 on an implemented example from the toolkit.
Geant4 is installed in /opt/geant4.9.5
. The data files are located in /opt/geant4.9.5/share/Geant4-9.5.1/data
, and the examples in
/opt/geant4.9.5/share/Geant4-9.5.1/examples
.
Please compile your Geant4 code on the head node - necluster
. Compute nodes do not have all the needed development libraries.