- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Closed
Description
Induction wires with segment 1 are wrongly ordered in protodune-wires-larsoft-v3.json.bz2
The intention is that all wires are always ordered such that (wire)X(pitch) = (face normal) where normal points into the drift volume (ie, anti-parallel to drift direction).
The v3 sorting used the simple assumption that wire-center should increase in (local) Z. This works for MB but fails on segment-1 wires in DUNE SP as the segment-1 wires have degenerate Z values.
This bug will hit any code that relies on this ordering. In particular, fast spatial lookup of nearest wire in the sim and similar calculations in imaging.
Metadata
Metadata
Assignees
Labels
No labels