| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Public Member Functions

# 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

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

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

InterfaceID.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines