diff options
Diffstat (limited to 'utils/plot-dc')
-rwxr-xr-x | utils/plot-dc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/plot-dc b/utils/plot-dc index acd7e7b..bd520d6 100755 --- a/utils/plot-dc +++ b/utils/plot-dc @@ -127,6 +127,9 @@ if __name__ == '__main__': evs.append(get_events([filename], merge_fits=True, mc=True)) ev = pd.concat([ev for ev in evs if len(ev) > 0]) + # Hack to get rid of flasher and muon events in the breakdown sample. + ev.breakdown &= ev.r_psup < 0.9 + ev = ev[ev.prompt & ~np.isnan(ev.fmin)] ev = ev[ev.ke > 20] |