Skip to content

Develop PR: Add new fields to SRTruth/SRTrueInteractions to save meson production time + Assign generator type in CAFMaker - #676

Open
VCLanNguyen wants to merge 2 commits into
developfrom
new_srtrueinteraction_variables
Open

VCLanNguyen wants to merge 2 commits into
developfrom
new_srtrueinteraction_variables

Conversation

@VCLanNguyen

@VCLanNguyen VCLanNguyen commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

  1. Adds SRTrueInteraction.prod_time/.dk2gen field
  2. Adds SRMeVPrtl.prod_time
  3. Assigns rec.mc.nu.generator in CAFMaker_module.cc — previously unset

Dependency:

sbncode: #676
sbnanaobj: SBNSoftware/sbnanaobj#200

Validation:

See slide 1-4 on docdb#49588

  • 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. @Gianluca Petrillo and @thomas Jones
  • 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.

…n CAFMaker

Retrieves the event's Dk2Nu product to fill the new prod_time/dk2gen fields
in FillTrueNeutrino, and tags each rec.mc.nu entry's generator as kGENIE,
kMeVPrtl, or kUnknownGenerator so downstream code (e.g. a dk2nu vertex-time
correction) can scope itself to GENIE-only interactions.
Companion to the sbnanaobj SRMeVPrtl::prod_time field: sources it from
MeVPrtlTruth::meson_dpos_beamcoord.T(), the clean pre-beam-offset meson
decay time (already threaded from the BNB flux ntuple's ini_t[0]).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@VCLanNguyen VCLanNguyen changed the title Fill SRTrueInteraction.prod_time/dk2gen and tag rec.mc.nu.generator i… Develop PR: Sep 30, 2026
@VCLanNguyen VCLanNguyen changed the title Develop PR: Develop PR: Add new fields to SRTruth/SRTrueInteractions to save meson production time Sep 30, 2026
@VCLanNguyen VCLanNguyen changed the title Develop PR: Add new fields to SRTruth/SRTrueInteractions to save meson production time Develop PR: Add new fields to SRTruth/SRTrueInteractions to save meson production time + Assign generator type in CAFMaker Sep 30, 2026
@VCLanNguyen
VCLanNguyen marked this pull request as ready for review October 1, 2026 18:51
@VCLanNguyen VCLanNguyen self-assigned this Oct 1, 2026
@VCLanNguyen VCLanNguyen added the enhancement New feature or request label Oct 1, 2026
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.

1 participant