diff --git a/Trigger/TrigSteer/DecisionHandling/src/InputMakerBase.cxx b/Trigger/TrigSteer/DecisionHandling/src/InputMakerBase.cxx index 34e8daff94ef8b8512f7772a1db49870f88b440e..9b121848d24b869fdaa2590d3790890f12822916 100644 --- a/Trigger/TrigSteer/DecisionHandling/src/InputMakerBase.cxx +++ b/Trigger/TrigSteer/DecisionHandling/src/InputMakerBase.cxx @@ -122,7 +122,13 @@ StatusCode InputMakerBase::debugPrintOut(const EventContext& context, const std: for ( auto inputKey: decisionInputs() ) { auto inputHandle = SG::makeHandle( inputKey, context ); ATH_MSG_DEBUG(" " << inputKey.key() << " " << (inputHandle.isValid()? "valid": "not valid" ) ); - if (inputHandle.isValid()) validInput++; + if (inputHandle.isValid()) { + if (inputHandle->size() > 0) { + validInput++; + } else { + ATH_MSG_DEBUG(" " << inputKey.key() << " actually NOT valid due to size() == 0"); + } + } } size_t validOutput=0; ATH_MSG_DEBUG( "number of implicit ReadHandles for input decisions is " << decisionInputs().size() << ", " << validInput << " are valid" );