Skip to content

Conversation

@lynnt20
Copy link
Contributor

@lynnt20 lynnt20 commented Oct 27, 2025

Description

Identical to #597 (this PR is for 2025A spring production release)

When the input artroot file(s) have 0 art events, subrun-level information (such as POT) is not properly saved in rec.hdr.* branches since they are only filled during call to art event. In order to fully persist the POT information, the POT histogram TotalPOT needs to be saved even if there are no art events in the file. Also documented in docb44065.

Note: recTree still seems to be created in the output caf files, but the genie tree is not.

  • Have you added a label? (bug/enhancement/physics etc.)
  • Have you assigned at least 1 reviewer?
  • [N/A] 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.
  • [N/A] Does this PR require merging another PR in a different repository (such as sbnanobj/sbnobj etc.)? If so, please link it in the description.
  • [N/A] Are you submitting this PR on behalf of someone else who made the code changes? If so, please mention them in the description.

@lynnt20 lynnt20 self-assigned this Oct 27, 2025
@lynnt20 lynnt20 added the bugfix Addresses one or more bugs label Oct 27, 2025
@lynnt20 lynnt20 mentioned this pull request Oct 27, 2025
3 tasks
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.

3 participants