Geant4-Muon energy and angular histogram generation

version (14.3 KB) by Stylianos Chatzidakis
Generate muon energy and angular user defined histograms for use with Geant4 macro files.


Updated Wed, 07 Oct 2015 03:26:00 +0000

View License

This MATLAB script generates muon energy and angular histograms for use with a Geant4 macro file for Monte-Carlo simulations. The script generates a look-up table that contains the sampled muon angles and energies as well as energy and angular histograms (actual and corrected for solid angle effect) that can be imported directly to a Geant4 macro file.

Cite As

Stylianos Chatzidakis (2022). Geant4-Muon energy and angular histogram generation (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: MUFFSgenMC

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!