g4ppyy: automated Python bindings for GEANT4
Abstract
GEANT4 is a particle physics simulation tool used to develop and optimize radiation detectors. While C++ based examples exist, Python's growing popularity necessitates the development of a more accessible Python bindings interface. This work demonstrates the use of cppyy, the automated C++-Python binding package, to provide an accessible interface for developing applications with GEANT4. Coupled with newly developed Python visualization tools and a Python-specific helper layer, we demonstrate the suitability of the interface for use in constructing simplistic simulation scenarios showing some initial benchmarking studies when compared to a pure C++ equivalent simulation example.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2024
- DOI:
- arXiv:
- arXiv:2412.05593
- Bibcode:
- 2024arXiv241205593S
- Keywords:
-
- High Energy Physics - Experiment
- E-Print:
- 14 pages, 4 figures