MUFFSgenMC
MUFFSgenMC: An Open Source MUon Flexible Framework for Spectral GENeration for Monte Carlo Applications
This MATLAB suite has been developed to facilitate the generation of the muon energy and angular histograms in Geant4 macro file or MCNP notation. The script generates a look-up table that contains the sampled muon angles and energies as well as histograms for muon angular and energy distributions.
This muon generator allows the user to select from four different methodologies to create a histogram for use in Geant or MCNP. It features implementations of the Smith & Duller (1959) phenomenological model and the fit provided by Reyna in ‘A simple Parameterization of the Cosmic-Ray Muon Momentum Spectra at the Surface as a Function of Zenith Angle'.
Once the histograms are generated, the data is formatted into either MCNP or Geant4 notations, and saved to a file.
Additionally, 24 measurements from various sources from 1971 to 2005 are included in a mat file. This data was used to tune the fitting parameters and compare the accuracy of the various methods.
More information can be found in the following paper:
C. Greulich, J. Baciak, K. Banerjee, S. Chatzidakis (2018) "MUFFSgenMC: An Open Source MUon Flexible Framework for Spectral GENeration for Monte Carlo Applications", 2018 International Congress on Advances in Nuclear Power Plants (ICAPP 2018), Charlotte, NC, April 8-11, 2018, ANS Proceedings
Cite As
christopher greulich (2024). MUFFSgenMC (https://www.mathworks.com/matlabcentral/fileexchange/65585-muffsgenmc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Muon generator, Geant4-Muon energy and angular histogram generation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.