Skip to content
Snippets Groups Projects
Commit 57fc1bc1 authored by Valentin Pestel's avatar Valentin Pestel Committed by Tamas Gal
Browse files

Resolve "Hit amplitude not available when reading offline data"

parent e08cbe1b
No related branches found
No related tags found
1 merge request!65Resolve "Hit amplitude not available when reading offline data"
......@@ -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": {
......
......@@ -406,6 +406,7 @@ class TestOfflineHits(unittest.TestCase):
assert "channel_id" in self.hits.fields
assert "t" in self.hits.fields
assert "tot" in self.hits.fields
assert "a" in self.hits.fields
assert "trig" in self.hits.fields
assert "id" in self.hits.fields
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment