From d50fdb52e0bc953d4685bdb63c76341a1c936463 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Thu, 10 Dec 2020 11:18:15 +0100
Subject: [PATCH] Update MC track fields

---
 km3io/offline.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/km3io/offline.py b/km3io/offline.py
index a1eb2ed..5a548df 100644
--- a/km3io/offline.py
+++ b/km3io/offline.py
@@ -69,9 +69,10 @@ class OfflineReader(EventReader):
             "dir_z": "mc_trks.dir.z",
             "E": "mc_trks.E",
             "t": "mc_trks.t",
+            "len": "mc_trks.len",
             # "status": "mc_trks.status",  # TODO: check this
             # "mother_id": "mc_trks.mother_id",  # TODO: check this
-            "type": "mc_trks.type",
+            "pdgid": "mc_trks.type",
             "hit_ids": "mc_trks.hit_ids",
             "usr": "mc_trks.usr",  # TODO: trouble with uproot4
             "usr_names": "mc_trks.usr_names",  # TODO: trouble with uproot4
-- 
GitLab