PyREx

pyrex.particle.GQRSInteraction

class pyrex.particle.GQRSInteraction(particle, kind=None)

Class for describing neutrino interaction attributes.

Calculates values related to the interaction(s) of a given particle. Values based on GQRS 1998.

Parameters
particleParticle

Particle object for which the interaction is defined.

kindoptional

Value of the interaction type. Values should be from the Interaction.Type enum, but integer or string values may work if carefully chosen. By default will be chosen by the choose_interaction method.

See also

Interaction

Base class for describing neutrino interaction attributes.

Particle

Class for storing particle attributes.

Notes

Neutrino intractions based on the GQRS Ultrahigh-Energy Neutrino Interactions paper [1].

References

1

R. Gandhi et al, “Ultrahigh-Energy Neutrino Interactions.” Physical Review D 58, 093009 (1998). DOI:10.1103/PhysRevD.58.093009

Attributes
particleParticle

Particle object for which the interaction is defined.

kindInteraction.Type

Value of the interaction type.

inelasticityfloat

Inelasticity value from choose_inelasticity distribution for the interaction.

em_fracfloat

Fraction of particle energy deposited into an electromagnetic shower.

had_fracfloat

Fraction of particle energy deposited into a hadronic shower.

include_secondariesbool

If true, secondary interactions will be considered when calculating the shower fractions.

total_cross_section

The total neutrino cross section (cm^2) of the particle type.

total_interaction_length

The neutrino interaction length (cmwe) of the particle type.

cross_section

The neutrino cross section (cm^2) of the particle interaction.

interaction_length

The neutrino interaction length (cmwe) of the particle interaction.

Methods

Type(value)

Enum containing possible interaction types.

choose_inelasticity()

Choose an inelasticity for the particle attribute’s shower.

choose_interaction()

Choose an interaction type for the particle attribute.

choose_shower_fractions()

Choose the electromagnetic and hadronic shower fractions.

PyREx

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

Navigation