物理学 > 高能物理 - 实验
[提交于 2026年1月13日]
标题:MinGLE: A Minimalist, Configurable, and Pedagogical Geant4 Application Template
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要: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.
提交历史
来自:Jing Liu[v1] 2026年1月13日 星期二 11:53:21 UTC