dorsal/arxiv
View SchemaMinGLE: A Minimalist, Configurable, and Pedagogical Geant4 Application Template
| Authors | Jing Liu |
|---|---|
| Categories | |
| ArXiv ID | 2601.08469vv1 |
| URL | https://arxiv.org/abs/2601.08469 |
| License | http://creativecommons.org/licenses/by/4.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.
{
"annotation_id": "924c839f-608c-48d8-bfad-e05afdbb8bf2",
"date_created": "2026-02-17T05:53:16.006000Z",
"date_modified": "2026-02-17T05:53:16.006000Z",
"file_hash": "7bf1bf3159311579f6bf8cfa083be502e37dd70141ec92d208ac9e68dcb87fa3",
"private": false,
"record": {
"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.",
"arxiv_id": "2601.08469",
"authors": [
"Jing Liu"
],
"categories": [
"hep-ex",
"physics.comp-ph"
],
"license": "http://creativecommons.org/licenses/by/4.0/",
"title": "MinGLE: A Minimalist, Configurable, and Pedagogical Geant4 Application Template",
"url": "https://arxiv.org/abs/2601.08469",
"version": "v1"
},
"schema_id": "dorsal/arxiv",
"source": {
"execution_id": "8e224580-19e0-4d8b-8218-64c1fe5f1301",
"id": "arXiv Dataset",
"type": "Model",
"variant": "snapshot-2026-01-17",
"version": "0.1.0"
},
"user_id": 1000002
}