avoid warnings in vertex truth match tool in case there are no vertices to match
The InDetVertexTruthMatchTool::match
method currently throws a WARNING
if after checking the vertices in the event it has not found at least one case of an attached track particle collection. Unfortunately, it also does so if there are no vertices to match in the first place (for example, on single particle MC), in which case this check fails by construction.
This MR makes the tool exit without complaining in case there are no vertices to match (either empty collection or just a dummy vertex), avoiding the warning as well as skipping execution of any downstream code.
@jojungge, thank you for the nice picture of Jürgen Habermas in !32488 (merged)!
Tagging @npetters for information
Merge request reports
Activity
added 1 commit
- 6990bd47 - add rejection of contains filled only with a dummy vertex
added InnerDetector master review-pending-level-1 labels
CI Result FAILURE (hash 6990bd47)Athena AthSimulation AnalysisBase AthGeneration 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
AnalysisBase: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 13311]added review-approved label and removed review-pending-level-1 label
mentioned in commit e6a2486f
added sweep:ignore label