Fix valgrind#4323
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR reorders includes in two modules, adds deletion of a calibration mapping tree in one destructor, and updates another module’s ROOT declarations plus destructor to reset ROOT’s cached fitter before member deletion. ChangesCaloTowerBuilder changes
MbdSig ROOT declarations and fitter reset
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Build & test reportReport for commit dcde38478d4bf977cd43cea963b961e5dcb28396:
Automatically generated by sPHENIX Jenkins continuous integration |



Types of changes
What kind of change does this PR introduce? (Bug fix, feature, ...)
This should fix the valgrind errors from the CaloFitting test
TODOs (if applicable)
Links to other PRs in macros and calibration repositories (if applicable)
This PR addresses valgrind failures in the CaloFitting test by tightening memory cleanup in a couple of reconstruction components. Please use best judgment when reviewing this summary, as AI-generated summaries can make mistakes.
Motivation / context
Key changes
CaloTowerBuilder:cdbttree_sepd_mapin the destructor to release the SEPD-specific CDB tree allocated duringInitRun.MbdSig:TVirtualFitter::SetFitter(nullptr, 0)in the destructor before deleting member objects.MbdSig.h:Potential risk areas
Possible future improvements