The Gaudi Framework  master (d98a2936)
ICounterSummarySvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
13 #include <GaudiKernel/IService.h>
14 #include <string>
15 
16 class StatEntity;
17 class Stat;
18 
19 namespace Gaudi {
20  namespace CounterSummary {
22  enum SaveType {
27  };
28  } // namespace CounterSummary
29 } // namespace Gaudi
30 
41 class GAUDI_API ICounterSummarySvc : virtual public IService {
42 
43 public:
46 
55  virtual void
56  addCounter( const std::string, const std::string name, const StatEntity&,
58 
67  virtual void
68  addCounter( const std::string, const std::string name, const Stat&,
70 };
IService
Definition: IService.h:26
ICounterSummarySvc::addCounter
virtual void addCounter(const std::string, const std::string name, const StatEntity &, const Gaudi::CounterSummary::SaveType saveType=Gaudi::CounterSummary::SaveSimpleCounter)=0
declare a counter, StatEntity, to be filled in the Counter summary
IService.h
StatEntity
backward compatible StatEntity class.
Definition: StatEntity.h:23
Gaudi::CounterSummary::SaveType
SaveType
How is the counter to be saved?
Definition: ICounterSummarySvc.h:22
ICounterSummarySvc
Definition: ICounterSummarySvc.h:41
ICounterSummarySvc::DeclareInterfaceID
DeclareInterfaceID(ICounterSummarySvc, 1, 0)
InterfaceID.
Gaudi::CounterSummary::SaveAlwaysSimpleCounter
@ SaveAlwaysSimpleCounter
store all information
Definition: ICounterSummarySvc.h:25
Gaudi::CounterSummary::SaveSimpleCounter
@ SaveSimpleCounter
Definition: ICounterSummarySvc.h:23
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
ICounterSummarySvc::addCounter
virtual void addCounter(const std::string, const std::string name, const Stat &, const Gaudi::CounterSummary::SaveType saveType=Gaudi::CounterSummary::SaveSimpleCounter)=0
declare a counter, Stat, to be filled in the Counter summary
Stat
Definition: Stat.h:48
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
Gaudi::CounterSummary::SaveStatEntity
@ SaveStatEntity
store only the flag()
Definition: ICounterSummarySvc.h:24
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49
Gaudi::CounterSummary::SaveAlwaysStatEntity
@ SaveAlwaysStatEntity
store always, store only the flag()
Definition: ICounterSummarySvc.h:26