aboutsummaryrefslogtreecommitdiff
path: root/utils/plot-energy
diff options
context:
space:
mode:
Diffstat (limited to 'utils/plot-energy')
-rwxr-xr-xutils/plot-energy2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/plot-energy b/utils/plot-energy
index ce4fb89..66691e0 100755
--- a/utils/plot-energy
+++ b/utils/plot-energy
@@ -259,7 +259,7 @@ def gtid_sort(ev, first_gtid):
if run not in first_gtid:
print_warning("No RHDR bank for run %i! Assuming first event is the first GTID." % run)
- first_gtid[run] = ev_run.gtid[0]
+ first_gtid[run] = ev.gtid[0]
ev.loc[ev.gtid < first_gtid[run],'gtid_sort'] += 0x1000000