PyREx

pyrex.NeutrinoInteraction.choose_shower_fractions

NeutrinoInteraction.choose_shower_fractions()

Choose the electromagnetic and hadronic shower fractions.

Calculates the maximal electromagnetic and hadronic shower fractions based on the primary particle and randomly generated secondary interactions. Method pulled from AraSim, which is unchanged from icemc.

Returns
em_fracfloat

Electromagnetic shower fraction.

had_fracfloat

Hadronic shower fraction.

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation