Skip to content

Terminate execute method if collection is empty

Johannes Junggeburth requested to merge (removed):ATLASRECTS-6001 into master

Hi,

the MuonTrackTruthTool throws a WARNING message

03:45:41 MuonSegmentTruthAssociationAlg.MuonTrackTruthTool WARNING TrackRecordCollection is empty

if the TrackCollection is empty. Howerver, it seems logical to have such cases in events with no MS activity. In this MR, the calling alg is modified to terminate the method if the collection is empty, effectively removing the WARNING message above.

Closes ATLASRECTS-6001

Merge request reports

Loading