Skip to content

Geant4 simulation toolkit to model particle propagation through carbon

Notifications You must be signed in to change notification settings

AnnaErsh/ClusterdEdX

Repository files navigation

ClusterdEdX

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.

Features

  • 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

Build Instructions

To compile the project, simply run:

./build.sh

Configuration

Simulation setup is controlled through the MuModel.conf file. Below is a breakdown of the available parameters:

Sources

# Particle source types:
# 1 - D
# 2 - T
# 3 - alpha
# 4 - proton
# 5 - He3
source=1

Simulation Parameters

# 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

Material Properties

# Density of the CH block:
# 1.06 - sFGD
# 1.03 - pvt
density=1.06

Tracking Options

# Tracking output levels:
# 0 - none
# 1 to 5 - increasing levels of detail
tracking=0

Visualization

# Visualization toggle:
# 0 - none
# 1 - enabled
visual=0

# Visualization interface options:
# OGL, OGLIX, OGLSX, OGLIXm, OGLSXm, RayTracerX
interface=OGL

User Session Mode

# User session mode:
# 0 - none
# 1 - standard session
session=0

Acknowledgments

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.

About

Geant4 simulation toolkit to model particle propagation through carbon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published