1#ifndef __JAANET__JGENIETYPES__
2#define __JAANET__JGENIETYPES__
153 return MASS_PROTON * 2;
156 return MASS_NEUTRON * 2;
159 return MASS_NEUTRON + MASS_PROTON;
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Definition of particle types.
Exception for accessing a value in a collection that is outside of its range.
Extensions to Evt data format.
JGENIEScatteringType_t getScatteringType(const int scatType)
Auxiliary function to convert scattering types.
JGENIEPDGCodes_t
PDG codes for GENIE special particles.
@ DARK_MATTER_MEDIATOR
Mediator particle for GENIE Boosted Dark Matter mode.
@ CLUSTER_NP
A np cluster within a nucleus.
@ CLUSTER_PP
A pp cluster within a nucleus.
@ DARK_NEUTRINO_MEDIATOR
Mediator particle for GENIE Dark Neutrino mode.
@ BINDINO
Binding energy subtracted from f/s nucleons.
@ COULOBTRON
Coulomb energy subtracted from f/s leptons.
@ ANTI_DARK_NEUTRINO
Dark matter particle for GENIE Dark Neutrino mode.
@ CLUSTER_NN
A nn cluster within a nucleus.
@ DARK_NEUTRINO
Dark matter particle for GENIE Dark Neutrino mode.
@ COMPOSITE_NUCLEON_CLUSTER
Nucleon cluster before phase decay.
@ ANTI_DARK_MATTER
Dark matter particle for GENIE Boosted Dark Matter mode.
@ HADRONIC_BLOB
Unmodelled fraction of the hadronic system.
@ HADRONIC_SYSTEM
DIS hadronic system before hadronization.
double get_target_nucleon_mass(const Evt &evt)
Get target nucleon mass.
JGENIEInteractionType_t
Enumeration of GENIE interaction types.
@ UNDEFINED
Unknown interaction type.
@ ELECTROMAGNETIC
Electromagnetic interaction.
@ DARK_NEUTRAL_CURRENT
Dark neutral current.
@ DARK_MATTER
Dark matter interaction.
@ INTERACTION_TYPES_END
End of interaction types.
@ NEUTRAL_HEAVY_LEPTON
Heavy neutral lepton.
@ NEUTRON_OSCILLATION
Neutron oscillation.
@ WEAK_MIX
CC + NC + interference.
@ WEAK_NEUTRAL_CURRENT
Weak neutral current interaction.
@ WEAK_CHARGED_CURRENT
Weak charged current interaction.
@ NUCLEON_DECAY
Nucleon decay.
@ INTERACTION_TYPES_START
Start of interaction types.
JGENIEInteractionType_t getInteractionType(const int intType)
Auxiliary function to convert interaction types.
JGENIEScatteringType_t
Enumeration of GENIE scattering types.
@ UNDEFINED
Undefined scattering type.
@ DARK_MATTER_SCATTERING_TYPES_END
End of dark matter scattering types.
@ SINGLE_KAON
Single kaon scattering.
@ DARK_MATTER_ELASTIC
Dark matter elastic scattering.
@ INVERSE_BETA_DECAY
Inverse beta-decay.
@ ELECTRON_NEUTRINO_ELASTIC
Electron-neutrino elastic scattering.
@ DIFFRACTIVE
Diffractive scattering.
@ QUASI_ELASTIC
Quasi-elastic scattering.
@ GLASHOW_RESONANCE
Glashow-resonance.
@ NEUTRINO_SCATTERING_TYPES_END
End of standard scattering types.
@ INVERSE_MUON_DECAY_ANNIHILATION
Inverse muon decay annihilation.
@ RESONANT
Resonant scattering.
@ UNKNOWN
Unknown scattering type.
@ DARK_MATTER_DEEP_INELASTIC
Dark matter deep inelastic scattering.
@ MESON_EXCHANGE_CURRENT
Meson exchange current.
@ DARK_MATTER_ELECTRON
Dark matter electron scattering.
@ DEEP_INELASTIC
Deep Inelastic Scattering.
@ ANOMALY_MEDIATED_NEUTRINO_GAMMA
Anomaly mediated neutrino-gamma scattering.
@ COHERENT_PRODUCTION
Coherent production.
@ INVERSE_MUON_DECAY
Inverse muon decay.
@ DARK_MATTER_SCATTERING_TYPES_START
Start of dark matter scattering types.
@ NEUTRINO_SCATTERING_TYPES_START
Start of standard scattering types.
@ COHERENT_ELASTIC
Coherent elastic scattering.
static const double MASS_NEUTRON
neutron mass [GeV]
static const double MASS_PROTON
proton mass [GeV]
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).