aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/plot-energy3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/plot-energy b/utils/plot-energy
index 9f5b53d..6d2da9d 100755
--- a/utils/plot-energy
+++ b/utils/plot-energy
@@ -252,6 +252,9 @@ if __name__ == '__main__':
# First, do basic data cleaning which is done for all events.
ev = ev[ev.dc & (DC_JUNK | DC_CRATE_ISOTROPY | DC_QVNHIT | DC_FLASHER | DC_NECK | DC_ITC | DC_BREAKDOWN) == 0]
+ # 00-orphan cut
+ ev = ev[~(ev.gtid & 0xff) == 0]
+
print("number of events after data cleaning = %i" % len(ev))
# Now, we select events tagged by the muon tag which should tag only