Muon generator

Generate random samples of cosmic ray muons at sea level
258 Downloads
Aktualisiert 7. Okt 2015

Lizenz anzeigen

This file provides a cosmic ray muon sampling capability for use in Monte Carlo simulations. The muon energy distribution is described by the Smith & Duller (1959) phenomenological model that captures the main characteristics of the experimentally measured spectrum. Statistical algorithms are then employed for generating random samples.
The inverse transform provides a means to generate samples from the muon angular distribution corrected for solid angle effect. The Acceptance-Rejection method is used to generate samples for the actual angular distribution, simulated as cosine squared. The Acceptance-Rejection method is also used to provide the energy component. Final output is a look-up table that contains the sampled angles and energies.

Zitieren als

Stylianos Chatzidakis (2024). Muon generator (https://www.mathworks.com/matlabcentral/fileexchange/51203-muon-generator), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2012a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Particle & Nuclear Physics finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: MUFFSgenMC

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
3.0.0.0

The file was updated to provide actual angular muon distribution samples, simulated as cosine squared. Previous versions were sampling angles corrected for the solid angle effect. This possibility was maintained in the updated version.

2.0.0.0

Instructions and citation update

1.0.0.0

N/A