| The Gaudi Framework v32r1 (f65d50dc)

Static Public Member Functions | List of all members
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>`

## 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..nosp@m.Bely.nosp@m.aev@l.nosp@m.app..nosp@m.in2p3.nosp@m..fr

Date
  2005-08-04

Definition at line 50 of file Print.h.

## Member Function Documentation

## ◆ location()

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

Definition at line 49 of file Print.cpp.

49 {
50 if ( !aida ) { return s_invalidLocation; }
51 const DataObject* object = dynamic_cast<const DataObject*>( aida );
52 if ( !object ) { return s_invalidLocation; }
53 IRegistry* registry = object->registry();
54 if ( !registry ) { return s_invalidLocation; }
55 return registry->identifier();
56 }
IRegistry
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
GaudiPluginService.cpluginsvc.registry
def registry()
Definition: cpluginsvc.py:71
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30

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

- GaudiAlg/GaudiAlg/Print.h
- GaudiAlg/src/lib/Print.cpp