| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces
GaudiTool.h File Reference

Header file for class GaudiAlgorithm. More...

`#include "GaudiKernel/AlgTool.h"`
`#include "GaudiKernel/DataObject.h"`
`#include "GaudiAlg/GaudiAlg.h"`
`#include "GaudiAlg/GaudiCommon.h"`
`#include "GaudiKernel/DataObjectHandle.h"`
Include dependency graph for GaudiTool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | GaudiTool
| The useful base class for tools. More...

## Namespaces
| std
| STL namespace.

## Detailed Description

Header file for class GaudiAlgorithm.

The actual code is mainly imported from

- LHCb Calorimeter software and
- LHCb C++ toolkit for smart and friendly physics analysis "LoKi"

This base class allows "easy"(=="1 line") access to tools and services. This access is safe in the sense that there is no need to worry about the reference counts for tools and services.

The base class allows "easy" (=="1 line") access to data in Gaudi Transient Stores. The functionality includes the checking of the presence of the data at the given location, checking the validity of the data, retrieval of valid data and "forced" retrieve of valid data (create if there is no data).

The base class allows to perform an easy error, warning and exception treatments, including the accumulated statistics of exceptions, errors and warnings.

The base class included also utilities for general statistical counters.

It has been reported that usage of this base class results in significant reduction of existing code lines.

Attention
  See also the class GaudiCommon, which implements some of the common functionality between GaudiTool and GaudiAlgorithm.

Author
  Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru
  Chris Jones Chris.nosp@m.toph.nosp@m.er.Ro.nosp@m.b.Jo.nosp@m.nes@c.nosp@m.ern..nosp@m.ch

Date
  01/11/2001

Definition in file GaudiTool.h.