|
Gaudi Framework, version v23r2p1 |
| Home | Generated: Fri Jun 29 2012 |
00001 #ifndef GAUDIUTILS_HISTOXML_H 00002 #define GAUDIUTILS_HISTOXML_H 1 00003 // ============================================================================ 00004 // Include files 00005 // ============================================================================ 00006 // STD & STL 00007 // ============================================================================ 00008 #include <string> 00009 #include <iosfwd> 00010 // ============================================================================ 00011 // GaudiKernel 00012 // ============================================================================ 00013 #include "GaudiKernel/StatusCode.h" 00014 // ============================================================================ 00015 // Forward declarations 00016 // ============================================================================ 00017 // AIDA 00018 // ============================================================================ 00019 namespace AIDA 00020 { 00021 class IHistogram1D ; 00022 class IHistogram2D ; 00023 class IHistogram3D ; 00024 class IProfile1D ; 00025 class IProfile2D ; 00026 } 00027 // ============================================================================ 00028 // ROOT 00029 // ============================================================================ 00030 class TH1D ; // ROOT 00031 class TH2D ; // ROOT 00032 class TH3D ; // ROOT 00033 class TH1F ; // ROOT 00034 class TH2F ; // ROOT 00035 class TH3F ; // ROOT 00036 class TProfile ; // ROOT 00037 class TProfile2D ; // ROOT 00038 // ============================================================================ 00039 namespace Gaudi 00040 { 00041 // =========================================================================== 00042 namespace Utils 00043 { 00044 // ========================================================================= 00045 namespace Histos 00046 { 00047 // ======================================================================= 00054 GAUDI_API std::ostream& toXml 00055 ( const TH1D& histo , 00056 std::ostream& stream ) ; 00057 // ====================================================================== 00064 GAUDI_API std::ostream& toXml 00065 ( const TH2D& histo , 00066 std::ostream& stream ) ; 00067 // ====================================================================== 00074 GAUDI_API std::ostream& toXml 00075 ( const TH3D& histo , 00076 std::ostream& stream ) ; 00077 // ====================================================================== 00084 GAUDI_API std::ostream& toXml 00085 ( const TProfile& histo , 00086 std::ostream& stream ) ; 00087 // ====================================================================== 00094 GAUDI_API std::ostream& toXml 00095 ( const TProfile2D& histo , 00096 std::ostream& stream ) ; 00097 // ====================================================================== 00102 GAUDI_API std::ostream& toXml 00103 ( const AIDA::IHistogram1D& histo , 00104 std::ostream& stream ) ; 00105 // ====================================================================== 00110 GAUDI_API std::ostream& toXml 00111 ( const AIDA::IHistogram2D& histo , 00112 std::ostream& stream ) ; 00113 // ====================================================================== 00118 GAUDI_API std::ostream& toXml 00119 ( const AIDA::IHistogram3D& histo , 00120 std::ostream& stream ) ; 00121 // ====================================================================== 00126 GAUDI_API std::ostream& toXml 00127 ( const AIDA::IProfile1D& histo , 00128 std::ostream& stream ) ; 00129 // ======================================================================= 00136 GAUDI_API std::ostream& toXml 00137 ( const TH1F& histo , 00138 std::ostream& stream ) ; 00139 // ====================================================================== 00146 GAUDI_API std::ostream& toXml 00147 ( const TH2F& histo , 00148 std::ostream& stream ) ; 00149 // ====================================================================== 00156 GAUDI_API std::ostream& toXml 00157 ( const TH3F& histo , 00158 std::ostream& stream ) ; 00159 // ====================================================================== 00164 GAUDI_API std::ostream& toXml 00165 ( const AIDA::IProfile2D& histo , 00166 std::ostream& stream ) ; 00167 // ====================================================================== 00177 GAUDI_API StatusCode fromXml 00178 ( TH1D& result , const std::string& input ) ; 00179 // ====================================================================== 00189 GAUDI_API StatusCode fromXml 00190 ( TH2D& result , const std::string& input ) ; 00191 // ====================================================================== 00201 GAUDI_API StatusCode fromXml 00202 ( TH3D& result , const std::string& input ) ; 00203 // ====================================================================== 00213 GAUDI_API StatusCode fromXml 00214 ( TProfile& result , const std::string& input ) ; 00215 // ====================================================================== 00225 GAUDI_API StatusCode fromXml 00226 ( TProfile2D& result , const std::string& input ) ; 00227 // ====================================================================== 00237 GAUDI_API StatusCode fromXml 00238 ( TH1F& result , const std::string& input ) ; 00239 // ====================================================================== 00249 GAUDI_API StatusCode fromXml 00250 ( TH2F& result , const std::string& input ) ; 00251 // ====================================================================== 00261 GAUDI_API StatusCode fromXml 00262 ( TH3F& result , const std::string& input ) ; 00263 // ====================================================================== 00273 GAUDI_API StatusCode fromXml 00274 ( TH1D*& result , const std::string& input ) ; 00275 // ====================================================================== 00285 GAUDI_API StatusCode fromXml 00286 ( TH2D*& result , const std::string& input ) ; 00287 // ====================================================================== 00297 GAUDI_API StatusCode fromXml 00298 ( TH3D*& result , const std::string& input ) ; 00299 // ====================================================================== 00309 GAUDI_API StatusCode fromXml 00310 ( TProfile*& result , const std::string& input ) ; 00311 // ====================================================================== 00321 GAUDI_API StatusCode fromXml 00322 ( TProfile2D*& result , const std::string& input ) ; 00323 // ====================================================================== 00333 GAUDI_API StatusCode fromXml 00334 ( AIDA::IHistogram1D& result , const std::string& input ) ; 00335 // ====================================================================== 00345 GAUDI_API StatusCode fromXml 00346 ( AIDA::IHistogram2D& result , const std::string& input ) ; 00347 // ====================================================================== 00357 GAUDI_API StatusCode fromXml 00358 ( AIDA::IHistogram3D& result , const std::string& input ) ; 00359 // ====================================================================== 00369 GAUDI_API StatusCode fromXml 00370 ( AIDA::IProfile1D& result , const std::string& input ) ; 00371 // ====================================================================== 00381 GAUDI_API StatusCode fromXml 00382 ( AIDA::IProfile2D& result , const std::string& input ) ; 00383 // ====================================================================== 00384 } // end of namespace Gaudi::Utils::Histos 00385 // ======================================================================== 00386 } // end of namespace Gaudi::Utils 00387 // ========================================================================== 00388 } // end of namespace Gaudi 00389 // ============================================================================ 00390 // The END 00391 // ============================================================================ 00392 #endif // GAUDIUTILS_HISTOXML_H 00393 // ============================================================================