ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigSteerMonitor
src
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
7
#include "
TrigSteerMonitor/ITrigErrorMonTool.h
"
8
#include "
TrigCostMonitor/ITrigCostSvc.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
AthenaMonitoringKernel/Monitored.h
"
11
#include "GaudiKernel/EventContext.h"
12
#include "
TrigCompositeUtils/AlgToChainTool.h
"
13
14
19
class
TrigErrorMonTool
:
public
extends<AthAlgTool, ITrigErrorMonTool> {
20
public
:
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
31
private
:
32
ServiceHandle<ITrigCostSvc>
m_trigCostSvcHandle
{
this
,
"TrigCostSvc"
,
""
};
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
AlgToChainTool.h
AthAlgTool.h
ITrigCostSvc.h
ITrigErrorMonTool.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ServiceHandle
Definition
ClusterMakerTool.h:36
TrigErrorMonTool::TrigErrorMonTool
TrigErrorMonTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TrigErrorMonTool.cxx:12
TrigErrorMonTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
TrigErrorMonTool.h:33
TrigErrorMonTool::m_algToChainTool
ToolHandle< TrigCompositeUtils::AlgToChainTool > m_algToChainTool
Definition
TrigErrorMonTool.h:34
TrigErrorMonTool::algExecErrors
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...
Definition
TrigErrorMonTool.cxx:39
TrigErrorMonTool::m_trigCostSvcHandle
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle
Definition
TrigErrorMonTool.h:32
TrigErrorMonTool::initialize
virtual StatusCode initialize() override
Definition
TrigErrorMonTool.cxx:18
TrigErrorMonTool::finalize
virtual StatusCode finalize() override
Definition
TrigErrorMonTool.cxx:30
type
Generated on
for ATLAS Offline Software by
1.17.0