Skip to content
Snippets Groups Projects
Commit 08cf1d3a authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'tstreble-master-patch-16171' into 'master'

Add missing truth link validity check in InDetTrackTruthOriginTool [fix ATR-26337]

Closes ATR-26337

See merge request atlas/athena!56913
parents 15bcc632 6d51ce56
No related merge requests found
......@@ -169,7 +169,7 @@ namespace InDet {
bool isFromHSProdVtx = false;
for (const auto& link : links){
if(truth == *link){
if(link.isValid() && truth == *link){
isFromHSProdVtx = true;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment