From 4d2a824fe022585fdd72fd8def4d1f17bdbe1ca2 Mon Sep 17 00:00:00 2001
From: Valentin Pestel <vpestel@km3net.de>
Date: Tue, 2 Nov 2021 10:23:30 +0000
Subject: [PATCH] Typo mapping a to mc_hits.a instead of hits.a

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

diff --git a/km3io/offline.py b/km3io/offline.py
index 1ff2218..a811ae4 100644
--- a/km3io/offline.py
+++ b/km3io/offline.py
@@ -41,7 +41,7 @@ class OfflineReader(EventReader):
             "dir_y": "hits.dir.y",
             "dir_z": "hits.dir.z",
             "tot": "hits.tot",
-            "a": "mc_hits.a",  # hit amplitude (in p.e.)
+            "a": "hits.a",  # hit amplitude (in p.e.)
             "trig": "hits.trig",  # non-zero if the hit is a triggered hit
         },
         "mc_hits": {
-- 
GitLab