| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# Gaudi::HistogramBase Class Reference

Common base class for all histograms Use is solely functional to minimize dynamic_casts inside HistogramSvc. More...

`#include <HistogramSvc/HistogramBase.h>`

Inheritance diagram for Gaudi::HistogramBase:

[legend]

List of all members.

## Public Member Functions
virtual TObject * | representation () const =0
| ROOT object implementation.
virtual void | adoptRepresentation (TObject *rep)=0
| Adopt ROOT histogram representation.
virtual std::ostream & | print (std::ostream &s) const =0
| Print histogram to output stream.
virtual std::ostream & | write (std::ostream &s) const =0
| Write (binary) histogram to output stream.
virtual int | write (const char *file_name) const =0
| Write (binary) histogram to file.
virtual | ~HistogramBase ()

## Detailed Description

Common base class for all histograms Use is solely functional to minimize dynamic_casts inside HistogramSvc.

Author:
  M.Frank

Version:
  1.0

Definition at line 22 of file HistogramBase.h.

## Constructor & Destructor Documentation

Gaudi::HistogramBase::~HistogramBase | ( |  | ) | `[virtual]`

Definition at line 15 of file VirtualDestructors.cpp.

    00015 {}

## Member Function Documentation

virtual TObject* Gaudi::HistogramBase::representation | ( |  | ) | const`[pure virtual]`

ROOT object implementation.

Implemented in Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, Gaudi::Generic2D< IHistogram2D, TH2D >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, and Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >.

virtual void Gaudi::HistogramBase::adoptRepresentation | ( | TObject * | rep | ) | `[pure virtual]`

Adopt ROOT histogram representation.

Implemented in Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, Gaudi::Generic2D< IHistogram2D, TH2D >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, and Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >.

virtual std::ostream& Gaudi::HistogramBase::print | ( | std::ostream & | s | ) | const`[pure virtual]`

Print histogram to output stream.

Implemented in Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, Gaudi::Generic2D< IHistogram2D, TH2D >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, and Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >.

virtual std::ostream& Gaudi::HistogramBase::write | ( | std::ostream & | s | ) | const`[pure virtual]`

Write (binary) histogram to output stream.

Implemented in Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, Gaudi::Generic2D< IHistogram2D, TH2D >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, and Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >.

virtual int Gaudi::HistogramBase::write | ( | const char * | file_name | ) | const`[pure virtual]`

Write (binary) histogram to file.

Implemented in Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, Gaudi::Generic2D< IHistogram2D, TH2D >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, and Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r7/GaudiKernel/GaudiKernel/HistogramBase.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r7/GaudiKernel/src/Lib/VirtualDestructors.cpp