1 #ifndef GAUDIUTILS_HISTOSTRINGS_H
2 #define GAUDIUTILS_HISTOSTRINGS_H 1
66 const bool asXML =
false ) ;
77 const bool asXML =
false ) ;
87 (
const AIDA::IHistogram1D& histo ,
88 const bool asXML =
false ) ;
98 (
const AIDA::IHistogram2D& histo ,
99 const bool asXML =
false ) ;
107 ( TH1D& result ,
const std::string& input ) ;
115 ( AIDA::IHistogram1D& result ,
const std::string& input ) ;
123 ( TH2D& result ,
const std::string& input ) ;
131 ( AIDA::IHistogram2D& result ,
const std::string& input ) ;
133 static std::string
toXml (
const TH1D& histo ) ;
134 static std::string
toXml (
const TH2D& histo ) ;
135 static std::string
toXml (
const TH3D& histo ) ;
136 static std::string
toXml (
const TProfile& histo ) ;
137 static std::string
toXml (
const TProfile2D& histo ) ;
139 static std::string
toXml (
const AIDA::IHistogram1D& histo ) ;
140 static std::string
toXml (
const AIDA::IHistogram2D& histo ) ;
141 static std::string
toXml (
const AIDA::IHistogram3D& histo ) ;
142 static std::string
toXml (
const AIDA::IProfile1D& histo ) ;
143 static std::string
toXml (
const AIDA::IProfile2D& histo ) ;
146 ( TH1D& result ,
const std::string& input ) ;
148 ( TH2D& result ,
const std::string& input ) ;
150 ( TH3D& result ,
const std::string& input ) ;
152 ( TProfile& result ,
const std::string& input ) ;
154 ( TProfile2D& result ,
const std::string& input ) ;
157 ( AIDA::IHistogram1D& result ,
const std::string& input ) ;
159 ( AIDA::IHistogram2D& result ,
const std::string& input ) ;
161 ( AIDA::IHistogram3D& result ,
const std::string& input ) ;
163 ( AIDA::IProfile1D& result ,
const std::string& input ) ;
165 ( AIDA::IProfile2D& result ,
const std::string& input ) ;
177 #endif // GAUDIUTILS_HISTOSTRINGS_H
GAUDI_API StatusCode fromXml(TH1D &result, const std::string &input)
parse the histogram from standard ROOT XML
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
This class is used for returning status codes from appropriate routines.
GAUDI_API std::ostream & toXml(const TH1D &histo, std::ostream &stream)
stream the ROOT histogram into output stream as XML
Helper class to produce "good" dictionaries.
This is a number of static methods for bootstrapping the Gaudi framework.