ATLAS Offline Software
Control
AthenaExamples
AthExMonitored
src
MonitoredAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHEXMONITORED_MONITOREDALG_H
6
#define ATHEXMONITORED_MONITOREDALG_H 1
7
8
#include "GaudiKernel/ToolHandle.h"
9
#include "Gaudi/Property.h"
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
12
13
#include <string>
14
15
class
MonitoredAlg
:
public
AthAlgorithm
{
16
public
:
17
MonitoredAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
18
StatusCode
initialize
();
19
StatusCode
execute
();
20
21
private
:
22
ToolHandle<GenericMonitoringTool>
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
23
};
24
25
26
#endif
MonitoredAlg::initialize
StatusCode initialize()
Definition:
MonitoredAlg.cxx:16
MonitoredAlg
Definition:
MonitoredAlg.h:15
MonitoredAlg::MonitoredAlg
MonitoredAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
MonitoredAlg.cxx:11
AthAlgorithm.h
GenericMonitoringTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
MonitoredAlg::execute
StatusCode execute()
Definition:
MonitoredAlg.cxx:36
MonitoredAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition:
MonitoredAlg.h:22
Generated on Thu Nov 7 2024 21:21:21 for ATLAS Offline Software by
1.8.18