| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# GaudiAlg::Print1DProf Class Reference

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

`#include <GaudiAlg/Print.h>`

List of all members.

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

## Detailed Description

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

See also:
  AIDA::IProfile1D

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

Date:
  2005-08-04

Definition at line 130 of file Print.h.

## Member Function Documentation

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

Definition at line 126 of file Print.cpp.

    00129 { stream << toString  ( aida , ID )  << endmsg ; }

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

Definition at line 132 of file Print.cpp.

    00134 {
    00135   boost::format fmt
    00136     ( " ID=%|-25|%|30t| \"%|.55s|\" %|79t| Ents/All=%|5|/%|-5|<X>/sX=%|.5|/%|-.5|" ) ;
    00137   fmt % ID.idAsString() % aida->title();
    00138   fmt % (aida->allEntries()-aida->extraEntries()) % aida->allEntries() ;
    00139   fmt % aida->mean()                              % aida->rms() ;
    00140   //
    00141   return fmt.str() ;
    00142 }

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

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