Search arXivSearch

arXiv · 2512.09246

GEARS -- A Fully Run-Time Configurable Geant4 Application

Abstract

The Geant4 toolkit is the standard for simulating the passage of particles through matter, but its conventional architecture often requires users to modify and recompile C++ code to alter fundamental simulation parameters such as geometry, physics list, and primary particle source. This architectural constraint introduces significant friction for new users and slows down the experimental iteration cycle. This paper introduces GEARS (Geant4 Example Application with Rich features yet Small footprint), a universally applicable Geant4 application that fundamentally addresses this issue. GEARS achieves complete simulation configurability without C++ recompilation by strictly utilizing external configuration methods: Geometry is defined via simple text-based configuration, the Physics List is selected via the standard PHYSLIST environment variable, and the Primary Source is defined through the General Particle Source (GPS) macro commands. Furthermore, regarding GEARS as an application instead of a framework, key features include a flat ntuple structure with short variable names for highly efficient analysis and a solution for capturing vital initial step data. Output creation is also fully managed via run-time macro commands and volume properties. The project is distributed as a ready-to-use Docker container to eliminate compilation barriers. Through these design considerations, GEARS transforms Geant4 into a practical, ready-to-use tool, enabling users to rapidly prototype and execute simulations for diverse experiments solely through simple text configuration files, without ever needing to modify or compile the underlying C++ source code.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jing Liu. 2025-12-11. GEARS -- A Fully Run-Time Configurable Geant4 Application. https://arxiv.org/abs/2512.09246

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Charge-dependent atmospheric muon flux at 17 GV geomagnetic cutoff with the mini-ICAL detector

The Iron CALorimeter (ICAL) detector at the India-Based Neutrino Observatory (INO) was conceived as an underground experiment designed to measure atmospheric neutrino oscillation parameters. As part of the R\&D programme, a scaled prototype (mini-ICAL), 85\,ton, approximately 1/600$^{\mathrm{th}}$ the mass of the full detector, was constructed at the IICHEP Transit Campus, Madurai (altitude 150\,m; latitude 9.9372$^\circ$\,N; longitude 78.013$^\circ$\,E; geomagnetic latitude 1.44$^\circ$\,N; vertical cutoff rigidity 17\,GV) and operated between 2018 and 2022. The prototype enabled measurements of charge-dependent cosmic muon spectra in the vicinity of the geomagnetic equator and provided an important validation of detector performance, reconstruction algorithms, and simulation frameworks for the ICAL experiment. Differential fluxes of $μ^{-}$ and $μ^{+}$ were measured over the momentum range $\sim$\,1--5\,GeV/c. The obtained momentum spectra are systematically lower than those reported at sites with smaller geomagnetic cutoff rigidities, consistent with the suppression of low- and intermediate-rigidity primary cosmic rays at the 17\,GV cutoff. The measurements are compared with predictions from different hadronic interaction models available in CORSIKA simulations.

hep-ex

Laboratory constraints on peV-scale mass splitting between ordinary and sterile neutron states

Sterile states of matter, represented by a parallel ``mirror'' sector, may contribute to the observed dark matter in the Universe. We investigated the parameter space of neutron $(n)$ to mirror-neutron $(n')$ oscillations, in the case where the two states are not necessarily mass-degenerate, taking into account interactions in the mirror sector. By tuning the magnitude of an applied magnetic-field in the range $5~μ\mathrm{T} < B < 360~μ\mathrm{T}$ to corresponding resonance conditions for finite mass splitting, we derive exclusion limits for the $n-n'$ oscillation time constant reaching about $20~\text{s}$ over the mass-difference range $0.3 - 22~\text{peV}$. In parts of this parameter range, our limits exceed the model-dependent neutron-star-cooling bound, providing the first experimental constraints in this scenario that are more stringent than this astrophysical estimate.

hep-ex

Search for the $^{16}\text{O}(ppp) \rightarrow ^{13}\text{C} π^+ π^+ e^+$ Decay Mode in Super-Kamiokande Using Machine Learning Techniques

We report a new partial lifetime limit of $4.2 \times 10^{32}$ years for the trinucleon decay mode $^{16}\text{O}(ppp) \rightarrow ^{13}\text{C} π^+ π^+ e^+$, obtained from a search conducted using the Super-Kamiokande detector with 0.401 megaton-years of exposure across five operational periods (SK-I: 1996--2001, SK-II: 2002--2005, SK-III: 2006--2008, SK-IV: 2008--2018, SK-V: 2019--2020). This represents an improvement of six orders of magnitude over previous experimental constraints. The analysis utilizes a convolutional neural network (CNN) incorporating an attention mechanism---a computational technique that enables the model to focus on the most relevant regions of Cherenkov ring patterns---to enhance event classification, thereby improving the sensitivity of the search. This is the first application of a CNN to a nucleon decay search in Super-Kamiokande. Furthermore, the large dataset available in Super-Kamiokande (hereafter "SK") strengthens the statistical power of the study, enabling a more stringent constraint than those set by prior experiments.

hep-ex