From caf47f5d22a9dac20aaf94e7c1a647dc1990ca94 Mon Sep 17 00:00:00 2001 From: Lanqing Yuan Date: Sun, 17 Dec 2023 18:28:21 -0600 Subject: [PATCH] adding run info --- saltax/match/visual.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saltax/match/visual.py b/saltax/match/visual.py index 43c1570..734d203 100644 --- a/saltax/match/visual.py +++ b/saltax/match/visual.py @@ -125,7 +125,7 @@ def plot_wf(ind, st_salt, st_simu, st_data, runid, matched_simu, ax1.axvspan(matched_simu_s1_timerange_i[0],matched_simu_s1_timerange_i[1], color='tab:blue', alpha=0.1, label='Simu S1 Range') ax1.axvspan(matched_simu_s2_timerange_i[0],matched_simu_s2_timerange_i[1], color='tab:orange', alpha=0.1, label='Simu S2 Range') ax1.legend() - ax1.set_title("Event %s: Simu CS1=%sPE, Simu CS2=%sPE"%(ind, + ax1.set_title("Run %s Event %s: Simu CS1=%sPE, Simu CS2=%sPE"%(runid, ind, int(10*matched_simu['cs1'][ind])/10, int(10*matched_simu['cs2'][ind])/10))