56 (
const AIDA::IHistogram1D& histo ,
69 (
const AIDA::IHistogram2D& histo ,
116 template <
class TYPE>
124 template <
class TYPE>
133 (
const TH1D& histo ) {
return _toXml ( histo ) ; }
135 (
const TH2D& histo ) {
return _toXml ( histo ) ; }
137 (
const TH3D& histo ) {
return _toXml ( histo ) ; }
139 (
const TProfile& histo ) {
return _toXml ( histo ) ; }
141 (
const TProfile2D& histo ) {
return _toXml ( histo ) ; }
144 (
const AIDA::IHistogram1D& histo ) {
return _toXml ( histo ) ; }
146 (
const AIDA::IHistogram2D& histo ) {
return _toXml ( histo ) ; }
148 (
const AIDA::IHistogram3D& histo ) {
return _toXml ( histo ) ; }
150 (
const AIDA::IProfile1D& histo ) {
return _toXml ( histo ) ; }
152 (
const AIDA::IProfile2D& histo ) {
return _toXml ( histo ) ; }
156 {
return _fromXml ( result , input ) ; }
159 {
return _fromXml ( result , input ) ; }
162 {
return _fromXml ( result , input ) ; }
165 {
return _fromXml ( result , input ) ; }
168 {
return _fromXml ( result , input ) ; }
172 {
return _fromXml ( result , input ) ; }
175 {
return _fromXml ( result , input ) ; }
178 {
return _fromXml ( result , input ) ; }
181 {
return _fromXml ( result , input ) ; }
184 {
return _fromXml ( result , input ) ; }
static std::string toXml(const TH1D &histo)
GAUDI_API StatusCode fromXml(TH1D &result, const std::string &input)
parse the histogram from standard ROOT XML
static StatusCode fromString(TH1D &result, const std::string &input)
parse the histogram from string
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
This class is used for returning status codes from appropriate routines.
static std::string toString(const TH1D &histo, const bool asXML=false)
convert the histogram into the string
static StatusCode fromXml(TH1D &result, const std::string &input)
GAUDI_API std::ostream & toXml(const TH1D &histo, std::ostream &stream)
stream the ROOT histogram into output stream as XML