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

TL;DR
MinGLE is a minimalist, configurable, and educational Geant4 application template that simplifies learning by providing a small, step-by-step, fully functional simulation framework using modern features and versioned development stages.
Contribution
It introduces a minimal, pedagogical Geant4 template with under 70 lines of code, utilizing modern features and versioned development for educational purposes.
Findings
Achieves a complete simulation kernel with fewer than 70 lines of code
Uses Git tags to document incremental development of core components
Provides a fully functional, testable, and educational Geant4 example
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScientific Computing and Data Management · Distributed and Parallel Computing Systems · Nuclear physics research studies
