Skip to content

Rare event filter for SBND Production (Production PR)#927

Open
tbwester wants to merge 18 commits intoproduction/sbnd-gen2from
feature/twester_generic_filter_prod
Open

Rare event filter for SBND Production (Production PR)#927
tbwester wants to merge 18 commits intoproduction/sbnd-gen2from
feature/twester_generic_filter_prod

Conversation

@tbwester
Copy link
Copy Markdown
Contributor

@tbwester tbwester commented May 5, 2026

Description

Adds a signal filter module that is configurable for specifying common requirements for cross section signal definitions, and a workflow fcl to separate signal events into different output streams.

The intended use of the workflow fcl is to select multiple types of rare events needed for different analyses from a single large generator stage production. Currently, it saves primary pi0s (CC and NC separately), eta mesons, CC electron neutrinos, kaons, and delta-radiative decays (CC and NC separately).

Filter Module Features:

  • Filter based on final state primary particles with optional KE thresholds
  • Filter based on neutrino interaction properties: Nu flavor, In TPC, CC/NC, target PDG codes, modes
  • Module checks a list of filters to accept events that pass one or more conditions (e.g., accept events containing particle A or particle B)

Some example signal definition configurations are added to fcls/signal_filters_sbnd.fcl.

Checklist

  • Added at least 1 label from available labels.
  • Assigned at least 1 reviewer under Reviewers,
  • Linked any relevant issues under Developement
  • Is this PR a patch for the ongoing production?

Relevant PR links

Requires sbncode PR#648 for the CC Delta radiative filter and NC Delta radiative exit fix.

Link(s) to docdb describing changes (optional)

DocDB 46087

@tbwester tbwester added the enhancement New feature or request label May 5, 2026
Copy link
Copy Markdown
Contributor

@linyan-w linyan-w left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you Thomas!

Copy link
Copy Markdown
Contributor

@lynnt20 lynnt20 left a comment

Choose a reason for hiding this comment

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

Thank you @tbwester!

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.

5 participants