Skip to content

Conversation

@VCLanNguyen
Copy link
Contributor

@VCLanNguyen VCLanNguyen commented Jan 9, 2026

  1. Fix a bug in MeVPrtl: BNBKaonGen incorrectly label boone ntuple as dk2nu format. Updated to it simple flux format. This would prevent Flux Weight tools to to crash when inputting MeVPrtl files.
  2. Add a feature in Flux Weight tools: to pick up neutrino energy from MCTruth instead if flux.nenergyn == -1.
    In MeVPrtl, by default, MCFlux neutrino energy is filled as -1 since not every meson in flux file would result in a neutrino. It instead computes an equivalent neutrino energy and saves it as MCTruth.
    This change should not impact the neutrino workflow since every meson results in a neutrino, and MCFlux flux.nenergyn should always be filled.

Description

Please provide a detailed description of the changes this pull request introduces. If available, also link to a docdb link where the issue/change have been presented on/discussed.

  • 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.
  • Does this PR require merging another PR in a different repository (such as sbnanobj/sbnobj etc.)? If so, please link it in the description.
  • Are you submitting this PR on behalf of someone else who made the code changes? If so, please mention them in the description.

… fix flux weight calculator to pick neutrino energy from MCTruth if MCFlux energy is -1
@VCLanNguyen VCLanNguyen self-assigned this Jan 9, 2026
@VCLanNguyen VCLanNguyen added the bugfix Addresses one or more bugs label Jan 9, 2026
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants