56 (
const AIDA::IHistogram1D& histo ,
69 (
const AIDA::IHistogram2D& histo ,
79 StatusCode Gaudi::Utils::Histos::HistoStrings::fromString
80 ( TH1D& result ,
const std::string& input )
89 StatusCode Gaudi::Utils::Histos::HistoStrings::fromString
90 ( TH2D& result ,
const std::string& input )
99 StatusCode Gaudi::Utils::Histos::HistoStrings::fromString
100 ( AIDA::IHistogram1D& result ,
const std::string& input )
109 StatusCode Gaudi::Utils::Histos::HistoStrings::fromString
110 ( AIDA::IHistogram2D& result ,
const std::string& input )
116 template <
class TYPE>
117 std::string _toXml (
const TYPE&
object )
119 std::ostringstream
s ;
124 template <
class TYPE>
125 StatusCode _fromXml ( TYPE&
object ,
const std::string& input )
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 ) ; }
155 ( TH1D& result ,
const std::string& input )
156 {
return _fromXml ( result , input ) ; }
158 ( TH2D& result ,
const std::string& input )
159 {
return _fromXml ( result , input ) ; }
161 ( TH3D& result ,
const std::string& input )
162 {
return _fromXml ( result , input ) ; }
164 ( TProfile& result ,
const std::string& input )
165 {
return _fromXml ( result , input ) ; }
167 ( TProfile2D& result ,
const std::string& input )
168 {
return _fromXml ( result , input ) ; }
171 ( AIDA::IHistogram1D& result ,
const std::string& input )
172 {
return _fromXml ( result , input ) ; }
174 ( AIDA::IHistogram2D& result ,
const std::string& input )
175 {
return _fromXml ( result , input ) ; }
177 ( AIDA::IHistogram3D& result ,
const std::string& input )
178 {
return _fromXml ( result , input ) ; }
180 ( AIDA::IProfile1D& result ,
const std::string& input )
181 {
return _fromXml ( result , input ) ; }
183 ( AIDA::IProfile2D& result ,
const std::string& input )
184 {
return _fromXml ( result , input ) ; }