Geant4-Muon energy and angular histogram generation

Generate muon energy and angular user defined histograms for use with Geant4 macro files.

You are now following this Submission

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 (2026). Geant4-Muon energy and angular histogram generation (https://au.mathworks.com/matlabcentral/fileexchange/51257-geant4-muon-energy-and-angular-histogram-generation), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: MUFFSgenMC

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

Instructions and citation update. This version provides samples from two muon angular distributions: the first one contains samples from the actual distribution, the second one contains samples corrected for the solid angle effect.

1.0.0.0