Oct 20 – 23, 2019
Europe/Athens timezone

Geant4Py for X-ray Detector Background Simulations

Oct 22, 2019, 11:30 AM


Christian Pommranz (IAAT - University of Tübingen)


Geant4Py is a Geant4 Python interface distributed with the Geant4 source code that allows to develop Geant4 applications in the Python programming language. In order to simulate the photon and particle background of X-ray detectors in space, bindings for needed features such as the General Particle Source (GPS) were added to the Geant4Py environment along with general improvements and support for the most current Python versions. A Geant4Py application simulating the background of the XMM-Newton EPIC-pn detector is presented, which is written purely in Python and introduces only a small runtime overhead of roughly 25% for the investigated use case, compared to a Geant4 application written in C++.

Primary author

Christian Pommranz (IAAT - University of Tübingen)


Sebastian Diebold (Kepler Center for Astro and Particle Physics, University of Tübingen) Christoph Tenzer (IAAT - University of Tuebingen) Prof. Andrea Santangelo (IAAT - University of Tuebingen)

Presentation materials