|
Gaudi Framework, version v22r0 |
| Home | Generated: 9 Feb 2011 |
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 void | print (MsgStream &stream, const AIDA::IHistogram1D *aida, const GaudiAlg::HistoID &ID) |
| static std::string | toString (const AIDA::IHistogram1D *aida, const GaudiAlg::HistoID &ID) |
collection of useful utilities to print IHistogram1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool)
Definition at line 68 of file Print.h.
| void GaudiAlg::Print1D::print | ( | MsgStream & | stream, | |
| const AIDA::IHistogram1D * | aida, | |||
| const GaudiAlg::HistoID & | ID | |||
| ) | [static] |
| std::string GaudiAlg::Print1D::toString | ( | const AIDA::IHistogram1D * | aida, | |
| const GaudiAlg::HistoID & | ID | |||
| ) | [static] |
Definition at line 77 of file Print.cpp.
00079 { 00080 boost::format fmt 00081 ( " ID=%|-25|%|30t| \"%|.45s|\" %|79t| Ents/All=%|5|/%|-5|<X>/sX=%|.5|/%|-.5|" ) ; 00082 fmt % ID.idAsString() % aida->title(); 00083 fmt % (aida->allEntries()-aida->extraEntries()) % aida->allEntries() ; 00084 fmt % aida->mean() % aida->rms() ; 00085 // 00086 return fmt.str() ; 00087 }