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

Fix typo

parent aa59719a
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class DOMHits(Module):
hits = np.zeros(self.det.n_doms * self.det.n_dus)
for dom_id in event_hits.dom_id:
du, floor, _ = self.det.doms[dom_id]
hits[(du - 1) * self.detecotor.n_doms + floor - 1] += 1
hits[(du - 1) * self.det.n_doms + floor - 1] += 1
self.hits.append(hits)
triggered_hits = np.zeros(self.det.n_doms * self.det.n_dus)
for dom_id in event_hits.dom_id[event_hits.triggered.astype(
......
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