| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# GaudiAlg Namespace Reference

GaudiAlg.h GaudiAlg/GaudiAlg.h Namespace with definition of useful constants, types and function, common for all classes from GaudiAlg package. More...

## Classes
class | ID
| ID class for Histogram and Ntuples. More...
class | Print
| collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...
class | Print1D
| collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...
class | Print2D
| collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...
class | Print3D
| collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...
class | Print1DProf
| collection of useful utilities to print IProfile1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...
class | Print2DProf
| collection of useful utilities to print IProfile2D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...
class | PrintTuple
| collection of useful utilities to print INTuple object (currently used for implementation of class GaudiTupleAlg and class GaudiTupleTool) More...
class | PrintStat
| collection of useful utilities to print StatEntity (currently used for implementation of class GaudiAlgorithm and class GaudiTool) More...
## Typedefs
typedef Histos::HistoID | HistoID
| The actual type for histogram identifier.
typedef std::vector< double > | HistoBinEdges
| Type for bin edges for variable binning histograms.
typedef GaudiUtils::HashMap < std::string, AIDA::IHistogram1D * > | Histo1DMapTitle
| the actual type for (title)->(1D histogram) map
typedef GaudiUtils::HashMap < HistoID, AIDA::IHistogram1D * > | Histo1DMapID
| the actual type for (ID)->(1D histogram) map
typedef GaudiUtils::HashMap < std::string, AIDA::IHistogram2D * > | Histo2DMapTitle
| the actual type for (title)->(2D histogram) map
typedef GaudiUtils::HashMap < HistoID, AIDA::IHistogram2D * > | Histo2DMapID
| the actual type for (ID)->(2D histogram) map
typedef GaudiUtils::HashMap < std::string, AIDA::IHistogram3D * > | Histo3DMapTitle
| the actual type for (title)->(3D histogram) map
typedef GaudiUtils::HashMap < HistoID, AIDA::IHistogram3D * > | Histo3DMapID
| the actual type for (ID)->(3D histogram) map
typedef GaudiUtils::HashMap < std::string, AIDA::IProfile1D * > | Profile1DMapTitle
| the actual type for (title)->(1D Profile Histogram) map
typedef GaudiUtils::HashMap < HistoID, AIDA::IProfile1D * > | Profile1DMapID
| the actual type for (ID)->(1D Profile histogram) map
typedef GaudiUtils::HashMap < std::string, AIDA::IProfile2D * > | Profile2DMapTitle
| the actual type for (title)->(2D Profile Histogram) map
typedef GaudiUtils::HashMap < HistoID, AIDA::IProfile2D * > | Profile2DMapID
| the actual type for (ID)->(2D Profile histogram) map
typedef GaudiUtils::HashMap < std::string, Tuples::TupleObj * > | TupleMapTitle
| the actual type for (title)->(tuple) map
typedef GaudiUtils::HashMap < TupleID, Tuples::TupleObj * > | TupleMapID
| the actual type for (ID)->(tuple) map
typedef Tuples::TupleID | TupleID
| the actual type for N-Tuple identifier
## Functions
GAUDI_API std::string | fileLine (const int number)
| convers number into the string (remove the actual code duplication from namespaces GaudiAlgLocal and GaudiToolLocal
std::ostream & | operator<< (std::ostream &str, const GaudiAlg::ID &id)
| Operator overloading for ostream.

## Detailed Description

GaudiAlg.h GaudiAlg/GaudiAlg.h Namespace with definition of useful constants, types and function, common for all classes from GaudiAlg package.

Definitions of few useful hash-maps, classes and typedefs used for classes GaudiHistos and GaudiTuples.

Author:
  Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr

Date:
  2005-08-06

Author:
  Vanya BELYAEV Ivan.Belyaev@itep.ru

Date:
  2004-01-23

## Typedef Documentation

typedef GaudiUtils::HashMap< HistoID , AIDA::IHistogram1D* > GaudiAlg::Histo1DMapID

the actual type for (ID)->(1D histogram) map

Definition at line 62 of file Maps.h.

typedef GaudiUtils::HashMap< std::string , AIDA::IHistogram1D* > GaudiAlg::Histo1DMapTitle

the actual type for (title)->(1D histogram) map

Definition at line 56 of file Maps.h.

typedef GaudiUtils::HashMap< HistoID , AIDA::IHistogram2D* > GaudiAlg::Histo2DMapID

the actual type for (ID)->(2D histogram) map

Definition at line 77 of file Maps.h.

typedef GaudiUtils::HashMap< std::string , AIDA::IHistogram2D* > GaudiAlg::Histo2DMapTitle

the actual type for (title)->(2D histogram) map

Definition at line 71 of file Maps.h.

typedef GaudiUtils::HashMap< HistoID , AIDA::IHistogram3D* > GaudiAlg::Histo3DMapID

the actual type for (ID)->(3D histogram) map

Definition at line 92 of file Maps.h.

typedef GaudiUtils::HashMap< std::string , AIDA::IHistogram3D* > GaudiAlg::Histo3DMapTitle

the actual type for (title)->(3D histogram) map

Definition at line 86 of file Maps.h.

typedef std::vector<double> GaudiAlg::HistoBinEdges

Type for bin edges for variable binning histograms.

Definition at line 35 of file HistoID.h.

typedef Histos::HistoID GaudiAlg::HistoID

The actual type for histogram identifier.

Definition at line 33 of file HistoID.h.

typedef GaudiUtils::HashMap< HistoID , AIDA::IProfile1D* > GaudiAlg::Profile1DMapID

the actual type for (ID)->(1D Profile histogram) map

Definition at line 107 of file Maps.h.

typedef GaudiUtils::HashMap< std::string , AIDA::IProfile1D* > GaudiAlg::Profile1DMapTitle

the actual type for (title)->(1D Profile Histogram) map

Definition at line 101 of file Maps.h.

typedef GaudiUtils::HashMap< HistoID , AIDA::IProfile2D* > GaudiAlg::Profile2DMapID

the actual type for (ID)->(2D Profile histogram) map

Definition at line 122 of file Maps.h.

typedef GaudiUtils::HashMap< std::string , AIDA::IProfile2D* > GaudiAlg::Profile2DMapTitle

the actual type for (title)->(2D Profile Histogram) map

Definition at line 116 of file Maps.h.

typedef Tuples::TupleID GaudiAlg::TupleID

the actual type for N-Tuple identifier

Definition at line 33 of file TupleID.h.

typedef GaudiUtils::HashMap< TupleID , Tuples::TupleObj* > GaudiAlg::TupleMapID

the actual type for (ID)->(tuple) map

Definition at line 137 of file Maps.h.

typedef GaudiUtils::HashMap< std::string , Tuples::TupleObj* > GaudiAlg::TupleMapTitle

the actual type for (title)->(tuple) map

Definition at line 131 of file Maps.h.

## Function Documentation

GAUDI_API std::string GaudiAlg::fileLine | ( | const int | number | ) |

convers number into the string (remove the actual code duplication from namespaces GaudiAlgLocal and GaudiToolLocal

Parameters:

  | number | value

Returns:
  string representation

convers number into the string (remove the actual code duplication from namespaces GaudiAlgLocal and GaudiToolLocal

Parameters:

  | number | value

Returns:
  string representation

Definition at line 37 of file GaudiAlg.cpp.

    00038 { return boost::lexical_cast<std::string>( number ) ; }

std::ostream& GaudiAlg::operator<< | ( | std::ostream & | str,
|  | const GaudiAlg::ID & | id |
| ) |  |  | `[inline]`

Operator overloading for ostream.

Definition at line 136 of file GaudiHistoID.h.

    00137   { return id.fillStream ( str ) ; }