Cosmic-ray air shower simulator
A cosmic ray strikes the upper atmosphere and starts a cascade. Charged pions decay to muons, which pass through the rest of the atmosphere and reach the detector row at ground level. Change the parameters and the shower regenerates.
lateral scale ×12
Primary particle
- Event
- —
- First interaction
- —
- Front time
- —
- Muons at ground (model)
- —
- Heitler–Matthews estimate
- —
- Tracks drawn
- —
- Primary
- Charged pions and nucleons
- Muons
- Photons and electrons
- Detector hit
A toy model for illustration, not a full simulation. Altitude is to scale; lateral spread is stretched so the cascade is visible. Each drawn track can stand for many particles.
What the model does
Atmosphere
Isothermal: vertical depth X = 1030·e^(−h / 8.4 km) g/cm². Slant depth divides by cos θ.Hadronic interactions
Interaction lengths of 80 g/cm² for protons, 120 g/cm² for pions and 13 g/cm² for iron. Multiplicity grows slowly with energy, and a transverse momentum of about 0.35 GeV/c sets the opening angle.Iron primaries
Superposition model: after the first interaction, 56 nucleons each carry E/56. Iron showers start higher and produce more muons.Pions
π⁰ decays at once to two photons. π± either interact again or decay to a muon, with decay length γcτ = (E / mπ) × 7.8 m, so lower-energy pions decay first.Electromagnetic component
Heitler splitting every 37·ln 2 g/cm² until the critical energy of 85 MeV, then absorbed. Most of it is gone before ground level.Muons
Lose about 2.2 MeV per g/cm². Those with enough energy reach the ground within a few degrees of the shower axis, at close to the same moment.Thinning
Hillas thinning keeps low-energy particles with probability E / E_th and weight E_th / E, so counts stay unbiased while a few thousand tracks are drawn.Check figure
Heitler–Matthews: N_μ ≈ A^0.15 (E / 20 GeV)^0.85, shown beside the model's weighted count. Expect agreement within a factor of about two.
Why muons
Muons live for about 2.2 microseconds, yet they cross 15 kilometres of atmosphere to reach the ground. Time dilation is why. It is also where Muon Group's name comes from.
