From 5470767856605a39f955108ed412bc11d48ed0d9 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Sat, 15 Jan 2022 21:22:31 +0100
Subject: [PATCH] Fix wrong particle final state lookup key

---
 km3buu/output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/km3buu/output.py b/km3buu/output.py
index 06140a0..4d741b1 100644
--- a/km3buu/output.py
+++ b/km3buu/output.py
@@ -707,7 +707,7 @@ def write_detector_file(gibuu_output,
         if tau_secondaries is not None:
             event_tau_sec = tau_secondaries[mc_event_id]
             add_particles(event_tau_sec, vtx_pos, R, mc_trk_id, timestamp,
-                          PARTICLE_MC_STATUS["StableFinalState"])
+                          PARTICLE_MC_STATUS["TRK_ST_FINALSTATE"])
             mc_trk_id += len(event_tau_sec.E)
         else:
             lep_out_trk = ROOT.Trk()
-- 
GitLab