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

Fix typo

parent 442338e8
No related branches found
No related tags found
No related merge requests found
......@@ -119,15 +119,15 @@ class ZTPlot(kp.Module):
self.index += 1
hits = blob['Hits']
hits = self.calib.apply(hits)
event_info = blob['EventInfo']
run_id = event_info.run_id[0]
if run_id != self.run_id:
self.run_id = run_id
self._update_calibration()
hits = blob['Hits']
hits = self.calib.apply(hits)
event_info = blob['EventInfo']
n_triggered_dus = len(np.unique(hits[hits.triggered == True].du))
n_triggered_doms = len(np.unique(hits[hits.triggered == True].dom_id))
if n_triggered_dus < self.min_dus or n_triggered_doms < self.min_doms:
......
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