pyrex.particle.CTWInteraction.choose_shower_fractions¶
-
CTWInteraction.
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.