Skip to content

Conversation

@tbwester
Copy link
Contributor

@tbwester tbwester commented Feb 2, 2026

Description

Filter module that is configurable for specifying common requirements for cross section signal definitions. This PR is a draft since other options may need to be added.

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,
  • Assigned all contributers including yourself under Assignees
  • Linked any relevant issues under Developement
  • Does this PR affect CAF data format? If so, please assign a CAF maintainer (PetrilloAtWork or JosiePaton) as additional reviewer.
  • Does this affect the standard workflow?
  • Is this PR a patch for the ongoing production? If so, separate PR must also be made for production/v10_06_00 branch!

@tbwester tbwester self-assigned this Feb 2, 2026
@tbwester tbwester added the enhancement New feature or request label Feb 2, 2026
Copy link

@afropapp13 afropapp13 left a comment

Choose a reason for hiding this comment

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

Many thanks for all the work, happy with the filter!

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.

3 participants