Skip to content

Conversation

@lynnt20
Copy link
Contributor

@lynnt20 lynnt20 commented Dec 10, 2025

Quick checklist

  • Have you run git fetch and pulled the latest changes from the branch you're basing your PR against?
  • If you're adding new classes, have you added them to classes_def.xml in the relevant directory?
  • Have you added a checksum in classes_def.xml to any and all new classes you're implementing, and rebuilt?
  • If you're updating classes, have you incremented the ClassVersion by one compared to develop in classes_def.xml?

Description

SRTRueDeposit

SBND is currently keeping SimEnergyDeposits throughout the workflow. We can take better advantage of this information (truth level number of electrons, photons, and true energy deposits for true neutrino interactions) by adding it to the cafs. Default will be empty if no SimEnergyDeposits are available in the input files. Only adds 3 floats per neutrino interaction (obtained from length of MCTruth).

SRLightCalo

Class to fill reconstructed number of electrons, photons, and energy deposits.

Accompanying PRs: SBNSoftware/sbndcode#878, SBNSoftware/sbncode#619, SBNSoftware/sbnobj#158

@kjplows
Copy link
Contributor

kjplows commented Dec 14, 2025

@lynnt20 could you nominate reviewers please?

@linyan-w linyan-w moved this to Expected for Later in SBND 2025 Fall Production Dec 15, 2025
Copy link
Member

@PetrilloAtWork PetrilloAtWork left a comment

Choose a reason for hiding this comment

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

Overall good, but ROOT I/O schema evolution needs to be enabled with the classVersion keyword in the new classes.
Also, a fix in comment format.

@lynnt20
Copy link
Contributor Author

lynnt20 commented Jan 14, 2026

Added version/checksum (also for OpT0Finder, didn't break) and fixed comments!

@kjplows kjplows moved this from Open pull requests to Partially reviewed in SBN software development Jan 15, 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

Status: Partially reviewed
Status: Expected for Later

Development

Successfully merging this pull request may close these issues.

4 participants