The Gaudi Framework  master (fb0007c6)
Loading...
Searching...
No Matches
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
14#include <string>
15
16class StatEntity;
17class Stat;
18
19namespace Gaudi {
29} // namespace Gaudi
30
41class GAUDI_API ICounterSummarySvc : virtual public IService {
42
43public:
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};
#define GAUDI_API
Definition Kernel.h:49
Simple service interface to collect counters to persist in a summary file.
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
DeclareInterfaceID(ICounterSummarySvc, 1, 0)
InterfaceID.
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
General service interface definition.
Definition IService.h:26
backward compatible StatEntity class.
Definition StatEntity.h:23
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition Stat.h:48
SaveType
How is the counter to be saved?
@ SaveAlwaysStatEntity
store always, store only the flag()
@ SaveStatEntity
store only the flag()
@ SaveAlwaysSimpleCounter
store all information
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition __init__.py:1