Skip to content
Snippets Groups Projects
Commit 5fe971c9 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Add particle states lookup

parent 3f51127a
No related branches found
No related tags found
1 merge request!5Introduce particle states
Pipeline #18949 passed with warnings
......@@ -117,6 +117,24 @@ EMPTY_KM3NET_HEADER_DICT = {
"simul": ""
}
PARTICLE_MC_STATUS = {
"kIStUndefined": -1,
"kIStInitialState": 0, # generator-level initial state
"kIStStableFinalState":
1, # generator-level final state: particles to be tracked by detector-level MC
"kIStIntermediateState": 2,
"kIStDecayedState": 3,
"kIStCorrelatedNucleon": 10,
"kIStNucleonTarget": 11,
"kIStDISPreFragmHadronicState": 12,
"kIStPreDecayResonantState": 13,
"kIStHadronInTheNucleus":
14, # hadrons inside the nucleus: marked for hadron transport modules to act on
"kIStFinalStateNuclearRemnant":
15, # low energy nuclear fragments entering the record collectively as a 'hadronic blob' pseudo-particle
"kIStNucleonClusterTarget": 16
}
def read_nu_abs_xsection(filepath):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment