diff --git a/HLT/Trigger/TrigControl/TrigServices/src/HltROBDataProviderSvc.cxx b/HLT/Trigger/TrigControl/TrigServices/src/HltROBDataProviderSvc.cxx index d042e5141605cee81513742306f95f4bb5de19c7..5745a8fe3e1092f6f25762232e7e3b61603a44e3 100644 --- a/HLT/Trigger/TrigControl/TrigServices/src/HltROBDataProviderSvc.cxx +++ b/HLT/Trigger/TrigControl/TrigServices/src/HltROBDataProviderSvc.cxx @@ -109,7 +109,8 @@ StatusCode HltROBDataProviderSvc::initialize() if ((jobOptionsSvc.retrieve()).isFailure()) { ATH_MSG_ERROR("Could not find JobOptionsSvc"); } else { - if (m_enabledROBs.fromString(jobOptionsSvc->get("DataFlowConfig.DF_Enabled_ROB_IDs","[]")).isSuccess()) { + if (jobOptionsSvc->has("DataFlowConfig.DF_Enabled_ROB_IDs") && + m_enabledROBs.fromString(jobOptionsSvc->get("DataFlowConfig.DF_Enabled_ROB_IDs")).isSuccess()) { robOKSconfigFound = true; ATH_MSG_INFO(" ---> Read from OKS = " << MSG::dec << m_enabledROBs.value().size() << " enabled ROB IDs.");