Skip to content
Snippets Groups Projects
Commit 516f9fbe authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'patch-7' into 'master'

[ATR-21614] ComboHypo: only print WARNING if neither a feature or ROI are located

See merge request atlas/athena!34003
parents 37e854bc 9de4df9d
No related branches found
No related tags found
No related merge requests found
......@@ -276,15 +276,15 @@ StatusCode ComboHypo::extractFeatureAndRoI(const ElementLink<DecisionContainer>&
{
uint32_t featureClid = 0; // Note: Unused. We don't care what the type of the feature is here
const bool result = (*dEL)->typelessGetObjectLink(featureString(), featureKey, featureClid, featureIndex);
if (!result) {
ATH_MSG_WARNING("Did not find the feature for " << dEL.dataID() << " index " << dEL.index());
}
// Try and get seeding ROI data too. Don't need to be type-less here
LinkInfo<TrigRoiDescriptorCollection> roiSeedLI = findLink<TrigRoiDescriptorCollection>((*dEL), initialRoIString());
if (roiSeedLI.isValid()) {
roiKey = roiSeedLI.link.key();
roiIndex = roiSeedLI.link.index();
}
if (!result && !roiSeedLI.isValid()) {
ATH_MSG_WARNING("Did not find the feature or initialRoI for " << dEL.dataID() << " index " << dEL.index());
}
return StatusCode::SUCCESS;
}
......
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