Advanced Examples

Geant4 advanced examples illustrate realistic applications of Geant4 in typical experimental environments. Most of them also show the usage of analysis tools (such as histograms, ntuples and plotting), various visualization features and advanced user interface facilities, together with the simulation core.

Note

Maintenance and updates of the code is under the responsibility of the authors. These applications are therefore not subject to regular system testing and no guarantee can be provided.

The advanced examples include:

  • air_shower, Simulation of a Fresnel lens focusing direct or reflected UV light onto a photomultiplier. Object parameterisation and replication capabilities of Geant4 are used to describe the lens geometry. The example is inspired in the configuration of the ULTRA experiment (NIM A 570 (2007) 22).

  • amsEcal, illustrating simulation in the AMS electro-magnetic calorimeter.

  • brachytherapy, illustrating a typical medical physics application simulating energy deposit in a Phantom filled with soft tissue.

  • ChargeExchangeMC, The program was used to simulate real experiments in Petersburg Nuclear Physics Institute (PNPI, Russia).

  • composite_calorimeter, test-beam simulation of the CMS Hadron calorimeter at LHC.

  • dna_physics, this example explains how to use Geant4-DNA physics for the very low energy transport of particles in liquid water. See more information at http://geant4-dna.org.

  • eRosita, simplified version of the simulation of the shielding of the eROSITA X-ray mission; it demonstrates the simulation of PIXE (Particle Induced X-ray Emission) as described in M.G. Pia et al., PIXE simulation with Geant4, IEEE Trans. Nucl. Sci., vol. 56, no. 6, pp. 3614-3649, 2009.

  • gammaknife, reproducing in details a gammaknife device for stereotactic radiosurgery. In particular, the gammaknife model C is simulated, which is characterized by a symmetrical displacement of the Co60 sources. Dose distributions are acquired in a water spherical phantom using voxelized geometries. The possibility to change the source pattern in order to simulate different gammaknife models is in development and new versions with these additional features will be released.

  • gammaray_telescope, illustrating an application to typical gamma ray telescopes with a flexible configuration.

  • hadrontherapy, is an example for people interested in Monte Carlo studies related to proton/ion therapy. Hadrontherapy permits the simulation of a typical hadron therapy beam line (with all its elements) and the calculation of fundamentals quantities of interest: 3D dose distributions, fluences, and average LET for both primary and secondary particles, etc.. A typical beamline for laser-driven ion beams is also included in this last version.

  • human_phantom, implementing an Anthropomorphic Phantom body built importing the description from a GDML representation.

  • iort_therapy, specifically developed to address typical needs related to the IntraOperative Radio-Therapy (IORT) technique. This technique delivers a single dose of radiation directly to the tumor bed, or to the exposed tumor, during surgery. The idea of iort_therapy is to provide a useful tool for Users interested to radiation dosimetry, dose planning and radio-protection studies in IORT. In fact, the application allows to reconstruct dose distribution curves in water or other materials, to plan dose distribution in the tumor treatment region with different clinical set-up, and to optimize radio-protection of normal patient tissues simulating a composite metallic shielding disc. iort_therapy simulates the collimator beam line system of a typical medical mobile linac, the phantom, the detector and the composite metallic shielding disc. Via external macro commands it is possible to change the physic models, the collimator beam line, the phantom, the detector and shielding disc geometries, the visualization, the beam particle characteristics, and to activate the Graphical Users Interface (QT libraries are requested)

  • lAr_calorimeter, simulating the Forward Liquid Argon Calorimeter (FCAL) of the ATLAS Detector at LHC.

  • medical_linac, illustrating a typical medical physics application simulating energy deposit in a Phantom filled with water for a typical linac used for intensity modulated radiation therapy. The experimental set-up is very similar to one used in clinical practice.

  • microbeam, simulates the cellular irradiation beam line installed on the AIFIRA electrostatic accelerator facility located at CENBG, Bordeaux-Gradignan, France.

  • microelectronics, simulates the track of a 5 MeV proton in silicon using very low energy electromagnetic Geant4 MicroElec processes. It illustrates how to combine these discrete processes with usual Geant4 condensed history ones, using different processes for different regions of the geometry and different energy ranges.

  • nanobeam, simulates the beam optics of the “nanobeam line” installed on the AIFIRA electrostatic accelerator facility located at CENBG, Bordeaux-Gradignan, France.

  • purging_magnet, illustrating an application that simulates electrons traveling through a 3D magnetic field; used in a medical environment for simulating a strong purging magnet in a treatment head.

  • radioprotection, illustrating the response characterization of a novel diamond microdosimeter for radiation protection in human space missions and aviation.

  • underground_physics, illustrating an underground detector for dark matter searches.

  • xray_fluorescence, illustrating the emission of X-ray fluorescence and PIXE.

  • xray_telescope, illustrating an application for the study of the radiation background in a typical X-ray telescope.