ATLAS Offline Software
Loading...
Searching...
No Matches
TrigErrorMonTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGSTEERMONITOR_TRIGERRORMONTOOL_H
5#define TRIGSTEERMONITOR_TRIGERRORMONTOOL_H
6
11#include "GaudiKernel/EventContext.h"
13
14
19class TrigErrorMonTool : public extends<AthAlgTool, ITrigErrorMonTool> {
20public:
21 TrigErrorMonTool(const std::string& type, const std::string& name, const IInterface* parent);
22
23 // ------------------------- IStateful methods -------------------------------
24 virtual StatusCode initialize() override;
25 virtual StatusCode finalize() override;
26
27 // ------------------------- ITrigErrorMonTool methods -----------------------
29 virtual std::unordered_map<std::string_view, StatusCode> algExecErrors(const EventContext& eventContext) const override;
30
31private:
33 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring tool"};
34 ToolHandle<TrigCompositeUtils::AlgToChainTool> m_algToChainTool {this, "AlgToChainTool", "", "Tool to retrieve chains for algorithm"};
35};
36
37
38#endif // TRIGSTEERMONITOR_TRIGERRORMONTOOL_H
Header file to be included by clients of the Monitored infrastructure.
TrigErrorMonTool(const std::string &type, const std::string &name, const IInterface *parent)
ToolHandle< GenericMonitoringTool > m_monTool
ToolHandle< TrigCompositeUtils::AlgToChainTool > m_algToChainTool
virtual std::unordered_map< std::string_view, StatusCode > algExecErrors(const EventContext &eventContext) const override
Produce a subset of IAlgExecStateSvc::algExecStates with only non-success StatusCodes and fill releva...
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle
virtual StatusCode initialize() override
virtual StatusCode finalize() override