Skip to content

Commit

Permalink
Merge pull request #90 from DUNE/feature/ehinkle_require_same_iogroup…
Browse files Browse the repository at this point in the history
…_hit_merging

Feature/ehinkle require same iogroup hit merging
  • Loading branch information
edhinkle authored Dec 16, 2023
2 parents 3a03882 + 6a07366 commit 6aeec4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proto_nd_flow/reco/charge/calib_hit_merger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6aeec4f

Please sign in to comment.