MUFFSgenMC

Generates muon spectral histograms for use in Geant4 or MCNP

91 Downloads

Updated Thu, 04 Jan 2018 19:31:15 +0000

View License

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 (2023). MUFFSgenMC (https://www.mathworks.com/matlabcentral/fileexchange/65585-muffsgenmc), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

1.1 Corrected Typos in Description

1.0.0.0