diff --git a/Trigger/TrigSteer/DecisionHandling/src/ComboHypo.cxx b/Trigger/TrigSteer/DecisionHandling/src/ComboHypo.cxx index 88ec47e71facfeb236f9278ac8b955c42c79e54d..a2c9f9264f2286bc1d9078e2f969017aae404f12 100644 --- a/Trigger/TrigSteer/DecisionHandling/src/ComboHypo.cxx +++ b/Trigger/TrigSteer/DecisionHandling/src/ComboHypo.cxx @@ -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; }