2 #include "GaudiKernel/DataObject.h"
3 #include "GaudiKernel/MsgStream.h"
4 #include "GaudiKernel/ISvcLocator.h"
5 #include "GaudiKernel/IRegistry.h"
6 #include "GaudiKernel/SmartDataPtr.h"
25 namespace RootHistCnv {
26 static std::string stat_dir =
"/stat";
27 static std::string undefFileName =
"UndefinedROOTOutputFileName";
68 if( undefFileName != m_defFileName ) {
69 m_hfile->Write(
"",TObject::kOverwrite);
81 if( m_outputEnabled && undefFileName != m_defFileName ) {
86 if ( top.
ptr() == pObject ) {
87 TDirectory* pDir = m_hfile;
101 <<
"Error while creating persistent Histogram:"
111 <<
"Internal error while creating Histogram persistent representations"
115 if (m_outputEnabled && !m_prtWar) {
119 <<
"no ROOT output file name, "
120 <<
"Histograms cannot be persistified" <<
endmsg;
133 "Flag to enable/disable the output to file.");
140 if ( m_hfile != 0 ) {