Skip to content

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

Merged
nathanielerowe merged 18 commits intoproduction/sbnd-gen2from
feature/twester_generic_filter_prod
May 7, 2026
Merged

Rare event filter for SBND Production (Production PR)#927
nathanielerowe merged 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!

@nathanielerowe
Copy link
Copy Markdown
Contributor

trigger build ci_ref=v10_14_02_05 LArSoft/lar*@LARSOFT_SUITE_v10_14_02_02 SBNSoftware/sbn*@SBN_SUITE_v10_14_02_05

@FNALbuild
Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

Copy link
Copy Markdown
Contributor

@aantonakis aantonakis left a comment

Choose a reason for hiding this comment

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

This looks good to me, thanks Thomas!

@FNALbuild
Copy link
Copy Markdown
Collaborator

❌ CI build for SBND Failed at phase build SBND on slf7 for e26:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@nathanielerowe
Copy link
Copy Markdown
Contributor

trigger build ci_ref=v10_14_02_04 LArSoft/lar*@LARSOFT_SUITE_v10_14_02_02 SBNSoftware/sbndaq-artdaq-core@v1_10_06 SBNSoftware/sbn*@SBN_SUITE_v10_14_02_05

@FNALbuild
Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

❌ CI build for SBND Failed at phase ci_tests SBND on slf7 for e26:prof - ignored warnings for build -- details available through the CI dashboard

🚨 For more details about the failed phase, check the ci_tests SBND phase logs

parent CI build details are available through the CI dashboard

@nathanielerowe
Copy link
Copy Markdown
Contributor

trigger build ci_ref=v10_14_02_02 LArSoft/lar*@LARSOFT_SUITE_v10_14_02_02 SBNSoftware/sbndaq-artdaq-core@v1_10_06 SBNSoftware/sbn*@SBN_SUITE_v10_14_02_05

@FNALbuild
Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard

🚨 For more details about the failed phase, check the build SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link
Copy Markdown
Collaborator

❌ CI build for SBND Failed at phase ci_tests SBND on slf7 for e26:prof - ignored warnings for build -- details available through the CI dashboard

🚨 For more details about the failed phase, check the ci_tests SBND phase logs

parent CI build details are available through the CI dashboard

@nathanielerowe
Copy link
Copy Markdown
Contributor

Failure expected and caused by some changes to product data types since the last references were made. LGTM.

@nathanielerowe nathanielerowe merged commit a3f4924 into production/sbnd-gen2 May 7, 2026
2 of 4 checks passed
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.

7 participants