MinGLE: A Minimalist, Configurable, and Pedagogical Geant4 Application Template

Read full text
Authors: Jing Liu
Cited by: 0

Abstract

The Geant4 toolkit is the leading software for the simulation of particle transport through matter, widely used in nuclear physics, high-energy physics, and medical physics. However, the initial learning curve for new developers can be steep, often due to the complexity and experiment-specific nature of many introductory examples. This paper introduces MinGLE (Mini Geant4 Learning Example), a dedicated application template designed to be a universal, flexible, and educational starting point for Geant4 projects. MinGLE achieves a complete, functional simulation kernel using fewer than 70 lines of core C++ code. This minimalism is realized by leveraging contemporary Geant4 features, including factory classes for run management and physics, and the Text Geometry format for detector definition. Furthermore, MinGLE employs a unique pedagogical structure, using Git tags to document the incremental development of eleven core Geant4 components, with each tagged version being fully compilable, executable, and testable, providing a clear, step-by-step learning resource.

Fields of Study & Subjects

Computational Physics and Python Applications Particle Detector Development and Performance Radiation Detection and Scintillator Technologies

Publication details

Journal / source
arXiv (Cornell University)
Publication date
13 January 2026
Document type
Preprint