From b73b84a53cbf4509eab0f1a067b6dc2e3b635fdd Mon Sep 17 00:00:00 2001
From: Daniel Guderian <dguderian@km3net.de>
Date: Wed, 17 Mar 2021 18:45:28 +0100
Subject: [PATCH] pdgid is the new type

---
 orcasong/extractors.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orcasong/extractors.py b/orcasong/extractors.py
index f9d2497..c96b78b 100644
--- a/orcasong/extractors.py
+++ b/orcasong/extractors.py
@@ -393,7 +393,7 @@ def get_muon_mc_info_extr(input_file,prod_identifier=2,inactive_du=None):
 
         mc_track = blob["McTracks"][p]
 
-        particle_type = mc_track.type	 # assumed that this is the same for all muons in a bundle
+        particle_type = mc_track.pdgid # assumed that this is the same for all muons in a bundle, new: pdgid, old: type
         is_cc = 0 #set to 0
         bjorkeny = 0 #set to zero
         
-- 
GitLab