| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Static Public Member Functions

# GaudiAlg::Print Class Reference

collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool) More...

`#include <GaudiAlg/Print.h>`

List of all members.

## Static Public Member Functions
static const std::string & | location (const AIDA::IHistogram *aida)

## Detailed Description

collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool)

See also:
  AIDA::IHistogram

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

Date:
  2005-08-04

Definition at line 54 of file Print.h.

## Member Function Documentation

const std::string & GaudiAlg::Print::location | ( | const AIDA::IHistogram * | aida ) | `[static]`

Definition at line 60 of file Print.cpp.

    {
      if ( 0 == aida     ) { return s_invalidLocation ; }
      const DataObject* object   = dynamic_cast<const DataObject*>( aida ) ;
      if ( 0 == object   ) { return s_invalidLocation ; }
      IRegistry*        registry = object->registry() ;
      if ( 0 == registry ) { return s_invalidLocation ; }
      return registry->identifier() ;
    }

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

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiAlg/GaudiAlg/Print.h
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiAlg/src/lib/Print.cpp

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