| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# GaudiAlg::Print2DProf Class Reference

`#include <GaudiAlg/Print.h>`

List of all members.

## Detailed Description

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

See also:
  AIDA::IProfile2D

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

Date:
  2005-08-04

Definition at line 151 of file Print.h.

## Static Public Member Functions
static void | print (MsgStream &stream, const AIDA::IProfile2D *aida, const GaudiAlg::HistoID &ID)
static std::string | toString (const AIDA::IProfile2D *aida, const GaudiAlg::HistoID &ID)

## Member Function Documentation

void GaudiAlg::Print2DProf::print | ( | MsgStream & | stream,
|  | const AIDA::IProfile2D * | aida,
|  | const GaudiAlg::HistoID & | ID |
| ) |  |  | `[static]`

Definition at line 146 of file Print.cpp.

    00149 { stream << toString  ( aida , ID )  << endreq ; }

std::string GaudiAlg::Print2DProf::toString | ( | const AIDA::IProfile2D * | aida,
|  | const GaudiAlg::HistoID & | ID |
| ) |  |  | `[static]`

Definition at line 152 of file Print.cpp.

    00154 {
    00155   boost::format fmt
    00156     ( " ID=%|-25|%|30t| \"%|.55s|\" %|79t| Ents/All=%|5|/%|-5|<X>/sX=%|.5|/%|-.5|,<Y>/sY=%|.5|/%|-.5|" );
    00157   fmt % ID.idAsString() % aida->title();
    00158   fmt % (aida->allEntries()-aida->extraEntries()) % aida->allEntries() ;
    00159   fmt % aida->meanX()                             % aida->rmsX() ;
    00160   fmt % aida->meanY()                             % aida->rmsY() ;
    00161   //
    00162   return fmt.str() ;
    00163 }

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

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