diff --git a/src/proto_nd_flow/reco/charge/calib_hit_merger.py b/src/proto_nd_flow/reco/charge/calib_hit_merger.py index 5f39302f..29a5b49e 100644 --- a/src/proto_nd_flow/reco/charge/calib_hit_merger.py +++ b/src/proto_nd_flow/reco/charge/calib_hit_merger.py @@ -152,6 +152,7 @@ def merge_hits(self,hits, weights, seg_fracs, dt_cut, sum_fields=None, weighted_ same_channel = ( (new_hits['z'][..., :-1] == new_hits['z'][..., 1:]) & (new_hits['y'][..., :-1] == new_hits['y'][..., 1:]) + & (new_hits['io_group'][..., :-1] == new_hits['io_group'][..., 1:]) ) # flag valid hits if they are on the same channel and are close in time