From 5fe971c9b8c86e48bd7c5525dfd2c6f1720311f6 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Tue, 30 Mar 2021 14:25:00 +0200
Subject: [PATCH] Add particle states lookup

---
 km3buu/output.py | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/km3buu/output.py b/km3buu/output.py
index 7c98a07..1614f96 100644
--- a/km3buu/output.py
+++ b/km3buu/output.py
@@ -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):
     """
-- 
GitLab