pyrex.particle.CTWInteraction¶
-
class
pyrex.particle.CTWInteraction(particle, kind=None)¶ Class for describing neutrino interaction attributes.
Calculates values related to the interaction(s) of a given particle. Values based on CTW 2011.
- Parameters
- particleParticle
Particleobject for which the interaction is defined.- kindoptional
Value of the interaction type. Values should be from the
Interaction.Typeenum, but integer or string values may work if carefully chosen. By default will be chosen by thechoose_interactionmethod.
See also
InteractionBase class for describing neutrino interaction attributes.
ParticleClass for storing particle attributes.
Notes
Neutrino intractions based on the CTW High Energy Neutrino-Nucleon Cross Sections paper [1]. Secondary generation method to determine shower fractions was pulled from AraSim, which is unchanged from icemc.
References
- 1
A. Connolly et al, “Calculation of High Energy Neutrino-Nucleon Cross Sections and Uncertainties Using the MSTW Parton Distribution Functions and Implications for Future Experiments.” Physical Review D 83, 113009 (2011). arXiv:1102.0691 DOI:10.1103/PhysRevD.83.113009
- Attributes
- particleParticle
Particleobject for which the interaction is defined.kindInteraction.TypeValue of the interaction type.
- inelasticityfloat
Inelasticity value from
choose_inelasticitydistribution 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_sectionThe total neutrino cross section (cm^2) of the
particletype.total_interaction_lengthThe neutrino interaction length (cmwe) of the
particletype.cross_sectionThe neutrino cross section (cm^2) of the
particleinteraction.interaction_lengthThe neutrino interaction length (cmwe) of the
particleinteraction.
Methods
Type(value)Enum containing possible interaction types.
Choose an inelasticity for the
particleattribute’s shower.Choose an interaction type for the
particleattribute.Choose the electromagnetic and hadronic shower fractions.
