diff --git a/scripts/ztplot.py b/scripts/ztplot.py index 32c756c4d45d3c2035fcdd303cda5a11ee44b4b3..ab8b6d09053ddd94eeaeba2c85508c45a2874b29 100755 --- a/scripts/ztplot.py +++ b/scripts/ztplot.py @@ -139,9 +139,14 @@ class ZTPlot(Module): if idx >= len(axes) - n_cols: ax.set_xlabel('time [ns]', fontsize=fontsize) + print plt.suptitle( - "FrameIndex {0}, TriggerCounter {1}\n{2} UTC".format( - event_info.frame_index, event_info.trigger_counter, + "Det ID {0}, Run {1}, FrameIndex {2}, TriggerCounter {3}, " + "Overlays {4}\n" + "{5} UTC".format( + event_info.det_id[0], event_info.run_id[0], + event_info.frame_index[0], event_info.trigger_counter[0], + event_info.overlays[0], datetime.utcfromtimestamp(event_info.utc_seconds)), fontsize=fontsize, y=1.05)