Fix memory leaks in jet reconstruction
This fixes a few memory leaks in jet reconstruction:
-
ATLASRECTS-5790: A histogram in the JVT tool which is allocated by a call to
TDirectoryFile::Get(...)
but never deleted -
ATLASRECTS-5681: A subtle double-copy of an
IConstituentExtractor
inExtractorRange::bump(...)
whereclone()
was being called once in the function and again in the implicit copy-constructor used in the return statement. - Some histograms being grabbed from ROOT files and not deleted in jet calibration tools.
I've also cleaned up the destructor for JMSCorrection
for simplicity while I was checking these.
Merge request reports
Activity
This merge request affects 2 packages:
- Reconstruction/Jet/JetMomentTools
- Reconstruction/Jet/JetRec
Affected files list will not be printed in this case
Adding @goetz as watcher
added JetEtmiss Reconstruction master review-pending-level-1 labels
CI Result FAILURE (hash 89c9d457)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 1, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 23957]added 1 commit
- 1bcadc57 - JVT: Fix pointer initialization and destructor
CI Result FAILURE (hash e9ed165d)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 1, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 23964] CI Result SUCCESS (hash 1bcadc57)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 23977]added review-approved label and removed review-pending-level-1 label
mentioned in commit bb0b96f6
added sweep:ignore label