Geant4-based simulation tool designed to simulate the passage of charged particles through a hydrocarbon block. It supports various particle sources and provides configurable options for event generation, tracking, and visualization.
- Supports multiple particle sources: D, T, alpha, proton, He3
- Customizable number of events and kinetic energy
- Configurable material density and tracking levels
- Optional continuation of previous simulations
- Visualization and session control support
To compile the project, simply run:
./build.shSimulation setup is controlled through the MuModel.conf file. Below is a breakdown of the available parameters:
# Particle source types:
# 1 - D
# 2 - T
# 3 - alpha
# 4 - proton
# 5 - He3
source=1
# Number of events to simulate
events=100
# Continue from a previous run? (0 = no, 1 = yes)
continue=0
# Kinetic energy of source particles (in GeV)
energy=1
# Density of the CH block:
# 1.06 - sFGD
# 1.03 - pvt
density=1.06
# Tracking output levels:
# 0 - none
# 1 to 5 - increasing levels of detail
tracking=0
# Visualization toggle:
# 0 - none
# 1 - enabled
visual=0
# Visualization interface options:
# OGL, OGLIX, OGLSX, OGLIXm, OGLSXm, RayTracerX
interface=OGL
# User session mode:
# 0 - none
# 1 - standard session
session=0
Built using:
- Geant4 toolkit for the simulation of the passage of particles through matter.
- ROOT CERN – Data analysis framework developed at CERN, used for data processing and visualization
For any questions or contributions, feel free to open an issue or pull request.