Skip to content

Conversation

@marcodeltutto
Copy link
Member

Description

Makes the flux calculator for flux systematics compatible with G4BNB flux files in dk2nu format.

  • Have you added a label? (bug/enhancement/physics etc.)
  • Have you assigned at least 1 reviewer?
  • Is this PR related to an open issue / project?
  • Does this PR affect CAF data format? If so, please assign a CAF maintainer as additional reviewer. NO
  • Does this PR require merging another PR in a different repository (such as sbnanobj/sbnobj etc.)? If so, please link it in the description. NO
  • Are you submitting this PR on behalf of someone else who made the code changes? If so, please mention them in the description. NO

@marcodeltutto marcodeltutto self-assigned this Dec 9, 2025
@marcodeltutto marcodeltutto added the bugfix Addresses one or more bugs label Dec 9, 2025
@linyan-w linyan-w moved this to Waiting on Reviewer in SBND 2025 Fall Production Dec 9, 2025
@kjplows kjplows moved this to Partially reviewed in SBN software development Dec 9, 2025
Copy link
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.

Approved based on discussion.

@kjplows
Copy link
Contributor

kjplows commented Dec 9, 2025

trigger build LArSoft/lar*@LARSOFT_SUITE_v10_14_00

@FNALbuild
Copy link

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

@FNALbuild
Copy link

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

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

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ 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

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

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase ci_tests ICARUS 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 ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ 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

int firstInelastic = 0;
while (dk2nu_v->at(inu).ancestor[firstInelastic].proc.find("HadronInelastic")==std::string::npos||dk2nu_v->at(inu).ancestor[firstInelastic].proc.find("QEBooNE")!=std::string::npos) firstInelastic++;

// Get the parent/ancestor (this should be the secondary in the p+Be interaction)

Choose a reason for hiding this comment

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

If we're aiming exclusively for the pBe secondary, you might also be able to find the first ancestor whose creation process includes "BooNEHadronInelastic:BooNEpBeInteraction", rather than just looking for the first inelastic interaction. I don't know myself exactly how much this affects things, how many first inelastic aren't the pBe interaction that's constrained in the above interaction type. It would leave the possibility that some neutrinos may never have that interaction type, but that would be a rare case.

@kjplows
Copy link
Contributor

kjplows commented Dec 14, 2025

Trying CI again as the failure modes were unrelated to the PR.

@kjplows
Copy link
Contributor

kjplows commented Dec 14, 2025

trigger build LArSoft/lar*@LARSOFT_SUITE_v10_14_00 SBNSoftware/sbndcode@v10_14_00_01

@FNALbuild
Copy link

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

@FNALbuild
Copy link

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

@FNALbuild
Copy link

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

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

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ 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

❌ CI build for ICARUS Failed at phase ci_tests ICARUS 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 ICARUS phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

⚠️ CI build for SBND Warning 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 warning phase, check the ci_tests SBND phase logs

parent CI build details are available through the CI dashboard

@kjplows kjplows moved this from Partially reviewed to Urgent checks in SBN software development Dec 15, 2025
Co-authored-by: John Plows kom.plows@gmail.com
…tware/sbncode into feature/mdeltutt_fluxweight_g4bnb
@kjplows
Copy link
Contributor

kjplows commented Dec 16, 2025

trigger build LArSoft/lar*@LARSOFT_SUITE_v10_14_00 SBNSoftware/sbndcode@v10_14_00_01

@FNALbuild
Copy link

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

@FNALbuild
Copy link

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

@FNALbuild
Copy link

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

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

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ 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

⚠️ CI build for SBND Warning 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 warning phase, check the ci_tests SBND phase logs

parent CI build details are available through the CI dashboard

@FNALbuild
Copy link

❌ CI build for ICARUS Failed at phase ci_tests ICARUS 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 ICARUS phase logs

parent CI build details are available through the CI dashboard

@kjplows kjplows moved this from Urgent checks to To merge in SBN software development Dec 16, 2025
@kjplows kjplows merged commit 57e94ce into develop Dec 17, 2025
@github-project-automation github-project-automation bot moved this from To merge to Done in SBN software development Dec 17, 2025
@kjplows kjplows moved this from Done to Recently done in SBN software development Dec 17, 2025
@linyan-w linyan-w moved this from Waiting on Reviewer to In tagged release in SBND 2025 Fall Production Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Addresses one or more bugs

Projects

Status: Recently done
Status: In tagged release

Development

Successfully merging this pull request may close these issues.

6 participants