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

Fix plot height

parent 2639d88f
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ class DOMHits(Module): ...@@ -74,7 +74,7 @@ class DOMHits(Module):
event_hits = blob['Hits'] event_hits = blob['Hits']
with lock: with lock:
hits = np.zeros(self.det.n_doms * self.det.n_dus) hits = np.zeros(self.det.n_doms)
for dom_id in event_hits.dom_id: for dom_id in event_hits.dom_id:
du, floor, _ = self.det.doms[dom_id] du, floor, _ = self.det.doms[dom_id]
hits[(du - 1) * self.det.n_doms + floor - 1] += 1 hits[(du - 1) * self.det.n_doms + floor - 1] += 1
......
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