diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-09-23 08:48:00 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-09-23 08:48:00 -0500 |
commit | 213a184162e444a50f328c1106ba5fe47103d280 (patch) | |
tree | e94e6060fda6df629f194e4006db7598187bb89a /utils/plot-energy | |
parent | c4d49db461b4481d04982d936c0ecdbc647ecb1b (diff) | |
download | sddm-213a184162e444a50f328c1106ba5fe47103d280.tar.gz sddm-213a184162e444a50f328c1106ba5fe47103d280.tar.bz2 sddm-213a184162e444a50f328c1106ba5fe47103d280.zip |
add the 00-orphan cut to plot-energy
Diffstat (limited to 'utils/plot-energy')
-rwxr-xr-x | utils/plot-energy | 3 |
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 |