PyREx

pyrex.particle.GQRSInteraction.choose_interaction

GQRSInteraction.choose_interaction()

Choose an interaction type for the particle attribute.

Randomly generates the interaction type (charged-current or neutral-current) according to the cross-section ratio.

Returns
Interaction.Type

Enum value for the interaction type for the particle.

Notes

The interaction type choice is based on the ratio used in AraSim and ANITA’s icemc. It claims to be based on “[the] Ghandi etal paper, updated for the CTEQ6-DIS parton distribution functions (M.H. Reno, personal communication)”.

PyREx

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

Navigation