|
Gaudi Framework, version v22r2 |
| Home | Generated: Tue May 10 2011 |
collection of useful utilities to print IProfile2D (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::IProfile2D *aida, const GaudiAlg::HistoID &ID) |
| static std::string | toString (const AIDA::IProfile2D *aida, const GaudiAlg::HistoID &ID) |
collection of useful utilities to print IProfile2D (currently used for implementation of class GaudiHistoAlg and class GaudiHistoTool)
Definition at line 151 of file Print.h.
| void GaudiAlg::Print2DProf::print | ( | MsgStream & | stream, |
| const AIDA::IProfile2D * | aida, | ||
| const GaudiAlg::HistoID & | ID | ||
| ) | [static] |
| std::string GaudiAlg::Print2DProf::toString | ( | const AIDA::IProfile2D * | aida, |
| const GaudiAlg::HistoID & | ID | ||
| ) | [static] |
Definition at line 156 of file Print.cpp.
{
boost::format fmt
( " ID=%|-25|%|30t| \"%|.55s|\" %|79t| Ents/All=%|5|/%|-5|<X>/sX=%|.5|/%|-.5|,<Y>/sY=%|.5|/%|-.5|" );
fmt % ID.idAsString() % aida->title();
fmt % (aida->allEntries()-aida->extraEntries()) % aida->allEntries() ;
fmt % aida->meanX() % aida->rmsX() ;
fmt % aida->meanY() % aida->rmsY() ;
//
return fmt.str() ;
}