|
Gaudi Framework, version v23r4 |
| Home | Generated: Mon Sep 17 2012 |
collection of useful utilities to print IProfile1D (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::IProfile1D *aida, const GaudiAlg::HistoID &ID) |
| static std::string | toString (const AIDA::IProfile1D *aida, const GaudiAlg::HistoID &ID) |
collection of useful utilities to print IProfile1D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool)
Definition at line 130 of file Print.h.
| void GaudiAlg::Print1DProf::print | ( | MsgStream & | stream, |
| const AIDA::IProfile1D * | aida, | ||
| const GaudiAlg::HistoID & | ID | ||
| ) | [static] |
| std::string GaudiAlg::Print1DProf::toString | ( | const AIDA::IProfile1D * | aida, |
| const GaudiAlg::HistoID & | ID | ||
| ) | [static] |
Definition at line 137 of file Print.cpp.
{
boost::format fmt
( " ID=%|-25|%|30t| \"%|.55s|\" %|79t| Ents/All=%|5|/%|-5|<X>/sX=%|.5|/%|-.5|" ) ;
fmt % ID.idAsString() % aida->title();
fmt % (aida->allEntries()-aida->extraEntries()) % aida->allEntries() ;
fmt % aida->mean() % aida->rms() ;
//
return fmt.str() ;
}