Use unique_ptr for tracks in MuonTrackSteeringTools
This MR switches to using unique_ptr for Track and MuPatTrack objects. In particular, MuPatTrack now stores a unique_ptr to the Track, rather than an (unnecessarily) const bare pointer. This should simplify the memory management for tracks and eliminates the need for some const_casts. Also, the MuonTrackSelectorTool previously used the ITrackSelectorTool interface, which did not include a non-const method. Since only one of the interface methods was actually used, and the MuonTrackSelectorTool itself is only used in MuonTrackSteering, I removed the interface and moved the code for the tool to MuonTrackSteeringTools.
Merge request reports
Activity
This merge request affects 3 packages:
- MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonRecToolInterfaces
- MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerTools/MuonTrackFinderTools
- MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerTools/MuonTrackSteeringTools
added MuonSpectrometer master review-pending-level-1 labels
CI Result FAILURE (hash 198bba89)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 8, warnings 1
AthSimulation: number of compilation errors 3, warnings 0
AthGeneration: number of compilation errors 3, warnings 1
AnalysisBase: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 20265]This merge request affects 3 packages:
- MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonRecToolInterfaces
- MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerTools/MuonTrackFinderTools
- MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerTools/MuonTrackSteeringTools
CI Result FAILURE (hash 198bba89)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 20313]the failing
SimulationTier0Test_required-test
inAthSimulation
and the failingOverlayTier0Test_required-test
andRecoPHYSFormatTest_optional-test
inAthena
are part of the nightly (cf. ATLINFR-3722).added review-approved label
removed review-pending-level-1 label
mentioned in commit 4995f25a
added sweep:ignore label