diff options
Diffstat (limited to 'utils/plot-muons')
-rwxr-xr-x | utils/plot-muons | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/plot-muons b/utils/plot-muons index a37f223..532400a 100755 --- a/utils/plot-muons +++ b/utils/plot-muons @@ -81,7 +81,6 @@ if __name__ == '__main__': parser.add_argument("filenames", nargs='+', help="input files") parser.add_argument("--save", action='store_true', default=False, help="save corner plots for backgrounds") parser.add_argument("--mc", nargs='+', required=True, help="atmospheric MC files") - parser.add_argument("--nhit-thresh", type=int, default=None, help="nhit threshold to apply to events before processing (should only be used for testing to speed things up)") args = parser.parse_args() setup_matplotlib(args.save) @@ -92,7 +91,7 @@ if __name__ == '__main__': evs = [] rhdr = pd.concat([read_hdf(filename, "rhdr").assign(filename=filename) for filename in args.filenames],ignore_index=True) for run, df in rhdr.groupby('run'): - evs.append(get_events(df.filename.values, merge_fits=True, nhit_thresh=args.nhit_thresh)) + evs.append(get_events(df.filename.values, merge_fits=True)) ev = pd.concat(evs) ev = correct_energy_bias(ev) ev_mc = get_events(args.mc, merge_fits=True, mc=True) |