Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
v31r0 (aeb156f0)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
ICounterSummarySvc.h
Go to the documentation of this file.
1
#ifndef GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
2
#define GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
3
4
// Include files
5
#include "
GaudiKernel/IService.h
"
6
#include <string>
7
8
// forward declarations
9
class
StatEntity
;
10
class
Stat
;
11
12
namespace
Gaudi
{
13
namespace
CounterSummary {
15
enum
SaveType
{
16
SaveSimpleCounter
= 0,
17
SaveStatEntity
,
18
SaveAlwaysSimpleCounter
,
19
SaveAlwaysStatEntity
20
};
21
}
// namespace CounterSummary
22
}
// namespace Gaudi
23
34
class
GAUDI_API
ICounterSummarySvc
:
virtual
public
IService
{
35
36
public
:
38
DeclareInterfaceID
(
ICounterSummarySvc
, 1, 0 );
39
48
virtual
void
49
addCounter(
const
std::string
,
const
std::string
name
,
const
StatEntity
&,
50
const
Gaudi::CounterSummary::SaveType
saveType =
Gaudi::CounterSummary::SaveSimpleCounter
) = 0;
51
60
virtual
void
61
addCounter(
const
std::string
,
const
std::string
name,
const
Stat
&,
62
const
Gaudi::CounterSummary::SaveType
saveType =
Gaudi::CounterSummary::SaveSimpleCounter
) = 0;
63
};
64
65
#endif
gaudiComponentHelp.name
name
Definition:
gaudiComponentHelp.py:41
Stat
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition:
Stat.h:46
Gaudi::CounterSummary::SaveAlwaysStatEntity
store always, store only the flag()
Definition:
ICounterSummarySvc.h:19
std::string
STL class.
Gaudi::CounterSummary::SaveAlwaysSimpleCounter
store all information
Definition:
ICounterSummarySvc.h:18
Gaudi::CounterSummary::SaveStatEntity
store only the flag()
Definition:
ICounterSummarySvc.h:17
IService
General service interface definition.
Definition:
IService.h:18
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition:
IInterface.h:13
IService.h
Gaudi::CounterSummary::SaveType
SaveType
How is the counter to be saved?
Definition:
ICounterSummarySvc.h:15
Gaudi::CounterSummary::SaveSimpleCounter
Definition:
ICounterSummarySvc.h:16
StatEntity
backward compatible StatEntity class.
Definition:
Counters.h:837
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:71
ICounterSummarySvc
Simple service interface to collect counters to persist in a summary file.
Definition:
ICounterSummarySvc.h:34
Gaudi
Helper functions to set/get the application return code.
Definition:
__init__.py:1
GaudiKernel
GaudiKernel
ICounterSummarySvc.h
Generated on Mon Feb 11 2019 17:48:15 for The Gaudi Framework by
1.8.11