diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 30f7377014dbe5dd11b5aaacc4cf21bfa2eb3492..bea2d37d703687d2924f02c4f76c7a4813759dd4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,11 @@ Unreleased changes Version 0 --------- +0.20.0 / 2021-02-18 +~~~~~~~~~~~~~~~~~~~ +* The fields ``.tdc``, ``.pos_{xyz}`` and ``.dir_{xyz}`` in ``.hits`` are + now read by default. + 0.19.6 / 2021-02-01 ~~~~~~~~~~~~~~~~~~~ * Improved header readout diff --git a/km3io/offline.py b/km3io/offline.py index 62d543390beaddbef238c71e734d89bcf24f35d9..f1d2bd9dc1ecc7f5edb80994a343e94a843034d9 100644 --- a/km3io/offline.py +++ b/km3io/offline.py @@ -32,6 +32,13 @@ class OfflineReader(EventReader): "channel_id": "hits.channel_id", "dom_id": "hits.dom_id", "t": "hits.t", + "tdc": "hits.tdc", + "pos_x": "hits.pos.x", + "pos_y": "hits.pos.y", + "pos_z": "hits.pos.z", + "dir_x": "hits.dir.x", + "dir_y": "hits.dir.y", + "dir_z": "hits.dir.z", "tot": "hits.tot", "trig": "hits.trig", # non-zero if the hit is a triggered hit },