The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
ICounterSummarySvc Class Referenceabstract

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

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/ICounterSummarySvc.h>

Inheritance diagram for ICounterSummarySvc:
Collaboration diagram for ICounterSummarySvc:

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
 
- Public Member Functions inherited from IService
 DeclareInterfaceID (IService, 4, 0)
 InterfaceID.
 
virtual StatusCode sysInitialize ()=0
 Initialize Service.
 
virtual StatusCode sysStart ()=0
 Start Service.
 
virtual StatusCode sysStop ()=0
 Stop Service.
 
virtual StatusCode sysFinalize ()=0
 Finalize Service.
 
virtual StatusCode sysReinitialize ()=0
 Re-initialize the Service.
 
virtual StatusCode sysRestart ()=0
 Re-start the Service.
 

Additional Inherited Members

- Public Types inherited from extend_interfaces< INamedInterface, IStateful >
using ext_iids
 take union of the ext_iids of all Interfaces...
 
- Protected Member Functions inherited from IService
virtual void setServiceManager (ISvcManager *)=0
 

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 41 of file ICounterSummarySvc.h.

Member Function Documentation

◆ addCounter() [1/2]

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::stringname [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

◆ addCounter() [2/2]

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::stringname [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

◆ DeclareInterfaceID()

ICounterSummarySvc::DeclareInterfaceID ( ICounterSummarySvc ,
1 ,
0  )

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