Skip to content

WireMod for SBND Gen 2 Production#649

Open
tbwester wants to merge 10 commits intoproduction/sbnd-gen2from
feature/twester_wiremod-gen2
Open

WireMod for SBND Gen 2 Production#649
tbwester wants to merge 10 commits intoproduction/sbnd-gen2from
feature/twester_wiremod-gen2

Conversation

@tbwester
Copy link
Copy Markdown
Contributor

@tbwester tbwester commented May 7, 2026

Description

Add WireMod utility functions for SBND Gen 2. This also brings in refactor of RecoUtils. The WireMod utility should be identical to the SBND Gen 1 production based on v10_06_00_10. Develop PR to follow.

  • Have you added a label? (bug/enhancement/physics etc.)
  • Have you assigned at least 1 reviewer?
  • Does this PR require merging another PR in a different repository (such as sbnanobj/sbnobj etc.)? If so, please link it in the description.

@tbwester tbwester requested review from gputnam, hausnerh and kjplows May 7, 2026 20:46
@tbwester tbwester added the enhancement New feature or request label May 7, 2026
@tbwester tbwester mentioned this pull request May 7, 2026
3 tasks
raw::ChannelID_t channel = sc->Channel();
std::vector<geo::WireID> maybewire = wireReadout.ChannelToWire(channel);
geo::WireID thisWire; // Default constructor makes invalid wire
if (maybewire.size()) thisWire = maybewire[0];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this handle when ChannelToWire returns multiple WireIDs? This can happen near the middle of ICARUS where the wire geometry is split into two "logical" TPC for North and South and the wires crossing there get split into two WireIDs despite reading out from the same channel. See chapter 5 here for some details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants