| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | List of all members
Gaudi::Utils::Aida2ROOT Class Reference

Accessor to underlying ROOT-representation of transient histograms The actual code is imported from Bender project. More...

`#include <GaudiKernel/Aida2ROOT.h>`

## Static Public Member Functions
static TH1D * | aida2root (AIDA::IHistogram1D *aida)
| get the underlying pointer for 1D-histogram
static TH2D * | aida2root (AIDA::IHistogram2D *aida)
| get the underlying pointer for 2D-histogram
static TH3D * | aida2root (AIDA::IHistogram3D *aida)
| get the underlying pointer for 3D-histogram
static TProfile * | aida2root (AIDA::IProfile1D *aida)
| get the underlying pointer for 1D-profile
static TProfile2D * | aida2root (AIDA::IProfile2D *aida)
| get the underlying pointer for 2D-profile
static TObject * | aida2root (AIDA::IHistogram *aida)
| get root representation for other cases

## Detailed Description

Accessor to underlying ROOT-representation of transient histograms The actual code is imported from Bender project.

It relies on PI implementation of AIDA interface, modified by Markus FRANK.

See Also
  Gaudi::H1D
  Gaudi::H2D
  Gaudi::H3D
  Gaudi::Profile1D
  Gaudi::Profile2D
  AIDA::IHistogram1D
  AIDA::IHistogram2D
  AIDA::IHistogram3D
  AIDA::IProfile1D
  AIDA::IProfile2D

Author
  Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u

Date
  2007-01-23

Definition at line 61 of file Aida2ROOT.h.

## Member Function Documentation

TH1D * Gaudi::Utils::Aida2ROOT::aida2root | ( | AIDA::IHistogram1D * | aida | ) |
| static

get the underlying pointer for 1D-histogram

Definition at line 55 of file Aida2ROOT.cpp.

{
if ( 0 == aida ) { return 0 ; }
Gaudi::HistogramBase* base = dynamic_cast<Gaudi::HistogramBase*> ( aida ) ;
if ( 0 == base ) { return 0 ; }
return dynamic_cast<TH1D*>( base->representation() ) ;
}

TH2D * Gaudi::Utils::Aida2ROOT::aida2root | ( | AIDA::IHistogram2D * | aida | ) |
| static

get the underlying pointer for 2D-histogram

Definition at line 65 of file Aida2ROOT.cpp.

{
if ( 0 == aida ) { return 0 ; }
Gaudi::HistogramBase* base = dynamic_cast<Gaudi::HistogramBase*> ( aida ) ;
if ( 0 == base ) { return 0 ; }
return dynamic_cast<TH2D*>( base->representation() ) ;
}

TH3D * Gaudi::Utils::Aida2ROOT::aida2root | ( | AIDA::IHistogram3D * | aida | ) |
| static

get the underlying pointer for 3D-histogram

Definition at line 75 of file Aida2ROOT.cpp.

{
if ( 0 == aida ) { return 0 ; }
Gaudi::HistogramBase* base = dynamic_cast<Gaudi::HistogramBase*> ( aida ) ;
if ( 0 == base ) { return 0 ; }
return dynamic_cast<TH3D*>( base->representation() ) ;
}

TProfile * Gaudi::Utils::Aida2ROOT::aida2root | ( | AIDA::IProfile1D * | aida | ) |
| static

get the underlying pointer for 1D-profile

Definition at line 85 of file Aida2ROOT.cpp.

{
if ( 0 == aida ) { return 0 ; }
Gaudi::HistogramBase* base = dynamic_cast<Gaudi::HistogramBase*> ( aida ) ;
if ( 0 == base ) { return 0 ; }
return dynamic_cast<TProfile*>( base->representation() ) ;
}

TProfile2D * Gaudi::Utils::Aida2ROOT::aida2root | ( | AIDA::IProfile2D * | aida | ) |
| static

get the underlying pointer for 2D-profile

Definition at line 95 of file Aida2ROOT.cpp.

{
if ( 0 == aida ) { return 0 ; }
Gaudi::HistogramBase* base = dynamic_cast<Gaudi::HistogramBase*> ( aida ) ;
if ( 0 == base ) { return 0 ; }
return dynamic_cast<TProfile2D*>( base->representation() ) ;
}

TObject * Gaudi::Utils::Aida2ROOT::aida2root | ( | AIDA::IHistogram * | aida | ) |
| static

get root representation for other cases

Definition at line 105 of file Aida2ROOT.cpp.

{
if ( 0 == aida ) { return 0 ; }
Gaudi::HistogramBase* base = dynamic_cast<Gaudi::HistogramBase*> ( aida ) ;
if ( 0 == base ) { return 0 ; }
return base->representation() ;
}

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiUtils/GaudiUtils/Aida2ROOT.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiUtils/src/Lib/Aida2ROOT.cpp