| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# GaudiTool.h File Reference

## 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" retrive 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 shrinkage 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.Belyaev@itep.ru

  Chris Jones Christopher.Rob.Jones@cern.ch

Date:
  01/11/2001

Definition in file GaudiTool.h.

`#include "GaudiKernel/AlgTool.h"`
`#include "GaudiKernel/DataObject.h"`
`#include "GaudiAlg/GaudiAlg.h"`
`#include "GaudiAlg/GaudiCommon.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.

## Namespaces
namespace | std
## Classes
class | GaudiTool
| The useful base class for tools. More...
## Defines
#define | GAUDIALG_GAUDITOOL_H 1

## Define Documentation

#define GAUDIALG_GAUDITOOL_H 1

Definition at line 4 of file GaudiTool.h.