From 213a184162e444a50f328c1106ba5fe47103d280 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 23 Sep 2019 08:48:00 -0500 Subject: add the 00-orphan cut to plot-energy --- utils/plot-energy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils') 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 -- cgit