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

Cleanup

parent ca85e26d
No related branches found
No related tags found
No related merge requests found
...@@ -154,13 +154,12 @@ class ZTPlot(kp.Module): ...@@ -154,13 +154,12 @@ class ZTPlot(kp.Module):
if trig_check(int(trigger_mask)) if trig_check(int(trigger_mask))
]) ])
title = ( title = "z-t-Plot for DetID-{0} (t0set: {1}), Run {2}, " \
"z-t-Plot for DetID-{0} (t0set: {1}), Run {2}, FrameIndex {3}, " "FrameIndex {3}, TriggerCounter {4}, Overlays {5}, " \
"TriggerCounter {4}, Overlays {5}, Trigger: {6}" "Trigger: {6}\n{7} UTC".format(
"\n{7} UTC".format( det_id, self.t0set, run_id, frame_index, trigger_counter,
det_id, self.t0set, run_id, frame_index, trigger_counter, overlays, trigger_params,
overlays, trigger_params, datetime.utcfromtimestamp(event_info.utc_seconds))
datetime.utcfromtimestamp(event_info.utc_seconds)))[0]
fig = ztplot(hits, fig = ztplot(hits,
title, title,
......
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