6 #include "GaudiKernel/IAlgExecStateSvc.h"
24 return StatusCode::SUCCESS;
34 return StatusCode::SUCCESS;
41 std::unordered_map<std::string_view, StatusCode> algErrors;
42 bool wasTimeout =
false;
43 for (
const auto& [
key, state] :
m_aess->algExecStates(eventContext)) {
46 ATH_MSG_DEBUG(
"Algorithm " <<
key <<
" returned StatusCode " << state.execStatus().message()
47 <<
" in event " << eventContext.eventID());
48 algErrors[
key.str()] = state.execStatus();
54 std::set<std::string> chainNames =
m_algToChainTool->getActiveChainsForAlg(
key.str(), eventContext);
56 std::vector<std::string> chainNamesVec(chainNames.begin(), chainNames.end());
58 auto monErrorChainNames= Monitored::Collection<std::vector<std::string>>(
"ErrorChainName", chainNamesVec);
70 std::string timeoutReport;
71 if (
m_trigCostSvcHandle->generateTimeoutReport(eventContext, timeoutReport) == StatusCode::FAILURE){
74 else if (timeoutReport.empty()){
75 ATH_MSG_INFO(
"CostMonitoring not active in this event. A list of slow algorithms is not available.");