| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# ICounterSummarySvc Class Reference

Simple service interface to collect counters to persist in a summary file. More...

`#include <ICounterSummarySvc.h>`

Inheritance diagram for ICounterSummarySvc:
[legend]
Collaboration diagram for ICounterSummarySvc:
[legend]

List of all members.

## Public Member Functions
| DeclareInterfaceID (ICounterSummarySvc, 1, 0)
| InterfaceID.
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
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

## Detailed Description

Simple service interface to collect counters to persist in a summary file.

In LHCb this is used to write an XML summary of the job.

See also:
  XMLSummarySvc

Author:
  Rob Lambert

Date:
  2009-07-29

Definition at line 37 of file ICounterSummarySvc.h.

## Member Function Documentation

ICounterSummarySvc::DeclareInterfaceID | ( | ICounterSummarySvc | ,
|  | 1 | ,
|  | 0 |  |
| ) |  |  |

InterfaceID.

virtual void ICounterSummarySvc::addCounter | ( | const std::string | ,
|  | const std::string | name,
|  | const StatEntity & | ,
|  | const Gaudi::CounterSummary::SaveType | saveType = `Gaudi::CounterSummary::SaveSimpleCounter` |
| ) |  |  | `[pure virtual]`

declare a counter, StatEntity, to be filled in the Counter summary

Parameters:

  | std::string | [IN]: Name of the tool/alg/mother filling this counter
  | std::string | name [IN]: Name of the counter
  | StatEntity | [IN]: The counter to store/save
  | saveType | [IN]: How to save it, from an enum

See also:
  Gaudi::CounterSummary::SaveType

virtual void ICounterSummarySvc::addCounter | ( | const std::string | ,
|  | const std::string | name,
|  | const Stat & | ,
|  | const Gaudi::CounterSummary::SaveType | saveType = `Gaudi::CounterSummary::SaveSimpleCounter` |
| ) |  |  | `[pure virtual]`

declare a counter, Stat, to be filled in the Counter summary

Parameters:

  | std::string | [IN]: Name of the tool/alg/mother filling this counter
  | std::string | name [IN]: Name of the counter
  | Stat | [IN]: The counter to store/save
  | saveType | [IN]: How to save it, from an enum

See also:
  Gaudi::CounterSummary::SaveType

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r11/GaudiKernel/GaudiKernel/ICounterSummarySvc.h