View on GitHub

Geant4 Zero to Hero

The Definitive Guide for End Users

Home Analysis

Python for Geant4 Data Analysis

The Python package uproot can be used to read Geant4 output file saved in ROOT format. It can be easily installed using python -m pip install uproot.

If you are familiar with ROOT and would like to migrate to Python for analyzing Geant4 output in ROOT format (for example, an output file from GEARS), you can find here a brief list of Python equivalence of ROOT commands: