Skip to content

Don't use new for TFile where it's not necessary#877

Merged
tmadlener merged 2 commits intoAIDASoft:masterfrom
jmcarcell:dont-use-new
Nov 10, 2025
Merged

Don't use new for TFile where it's not necessary#877
tmadlener merged 2 commits intoAIDASoft:masterfrom
jmcarcell:dont-use-new

Conversation

@jmcarcell
Copy link
Member

BEGINRELEASENOTES

  • Do not allocate dynamically in the ROOTReader when it's not necessary, make the TFile be part of the ROOTReader instead of storing a smart pointer. Don't create a TTree with new that never gets destroyed.

ENDRELEASENOTES

@tmadlener tmadlener merged commit da4bf83 into AIDASoft:master Nov 10, 2025
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants