ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaMonitoring
src
AthenaMon.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHENAMON_H
6
#define ATHENAMON_H
7
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
10
#include "
AthenaMonitoring/IMonitorToolBase.h
"
11
12
class
AthenaMon
:
public
AthAlgorithm
{
13
public
:
14
15
AthenaMon
(
const
std::string& name, ISvcLocator* pSvcLocator);
16
17
virtual
~AthenaMon
();
18
19
virtual
StatusCode
initialize
();
20
virtual
StatusCode
execute
(
const
EventContext& ctx);
21
virtual
StatusCode
finalize
();
22
23
virtual
StatusCode
start
();
24
virtual
StatusCode
stop
();
25
26
protected
:
27
28
std::vector<IMonitorToolBase*>
m_monTools
;
29
30
private
:
31
32
std::vector<std::string>
m_monToolNames
;
33
34
std::vector<std::string>
m_THistSvc_streamnameMapping
;
35
36
long
m_everyNevents
;
37
long
m_eventCounter
= 0;
38
39
bool
m_bookHistsinInitialize
;
40
41
};
42
43
#endif
AthAlgorithm.h
IMonitorToolBase.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
AthenaMon::m_eventCounter
long m_eventCounter
Definition
AthenaMon.h:37
AthenaMon::m_everyNevents
long m_everyNevents
Definition
AthenaMon.h:36
AthenaMon::finalize
virtual StatusCode finalize()
Definition
AthenaMon.cxx:132
AthenaMon::AthenaMon
AthenaMon(const std::string &name, ISvcLocator *pSvcLocator)
Definition
AthenaMon.cxx:26
AthenaMon::m_monTools
std::vector< IMonitorToolBase * > m_monTools
Definition
AthenaMon.h:28
AthenaMon::initialize
virtual StatusCode initialize()
Definition
AthenaMon.cxx:44
AthenaMon::m_THistSvc_streamnameMapping
std::vector< std::string > m_THistSvc_streamnameMapping
Definition
AthenaMon.h:34
AthenaMon::stop
virtual StatusCode stop()
Definition
AthenaMon.cxx:183
AthenaMon::~AthenaMon
virtual ~AthenaMon()
Definition
AthenaMon.cxx:39
AthenaMon::m_monToolNames
std::vector< std::string > m_monToolNames
Definition
AthenaMon.h:32
AthenaMon::m_bookHistsinInitialize
bool m_bookHistsinInitialize
Definition
AthenaMon.h:39
AthenaMon::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
AthenaMon.cxx:96
AthenaMon::start
virtual StatusCode start()
Definition
AthenaMon.cxx:165
Generated on
for ATLAS Offline Software by
1.17.0