GeantPy

A Python orchestration layer for Geant4 simulation workflows.

Archived
Motivation

GeantPy is a Python orchestration layer built around the Geant4 simulation toolkit. Rather than replacing Geant4's simulation engine, it automates experiment configuration, execution, parameter exploration, and result collection through a unified Python interface.

Designed for reproducible computational physics workflows, GeantPy enables researchers to build scalable simulation pipelines while preserving the flexibility and performance of the underlying Geant4 framework.

Why GeantPy?

Large simulation studies in Geant4 often require repetitive C++ configuration, manual execution, and fragmented data processing.

GeantPy streamlines these workflows through a Python-first orchestration layer, enabling reproducible experiment configuration, automated parameter sweeps, and structured analysis without modifying the underlying Geant4 simulation engine.

Workflow
Experiment ConfigurationSimulation ExecutionData ExtractionAnalysis
Core Features
Experiment ConfigurationConfigure simulations through Python rather than manually editing C++ applications.
Reproducible ExecutionLaunch batches of simulations with reproducible configurations.
Parameter ExplorationGenerate datasets across multiple beam energies, target materials, or geometries.
Structured Data PipelineCollect simulation outputs into analysis-ready formats for downstream scientific tasks.
Ecosystem
Geant4 SolverGeantPy (Orchestration)Janus Platform

GeantPy serves as the orchestration layer powering Janus while remaining fully modular and independently usable for automated Geant4-based computational physics workflows.

Technology
PythonGeant4NumPyPandasMatplotlib

Explore GeantPy.

The repository is preserved as an archived orchestration layer for Geant4 simulation workflows.