Skip to content
Snippets Groups Projects
Commit b402f95d authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Merge branch '91-hit-amplitude-not-available-when-reading-offline-data-2' into 'master'

Resolve "Hit amplitude not available when reading offline data"

Closes #91

See merge request !65
parents e08cbe1b 57fc1bc1
No related branches found
No related tags found
1 merge request!65Resolve "Hit amplitude not available when reading offline data"
Pipeline #23145 passed with warnings
......@@ -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