|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |
00001 // $Id: $ 00002 // ============================================================================ 00003 #ifndef GAUDIUTILS_HISTODUMP_H 00004 #define GAUDIUTILS_HISTODUMP_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // STD & STL 00009 // ============================================================================ 00010 #include <string> 00011 // ============================================================================ 00012 // GaudiKernel 00013 // ============================================================================ 00014 #include "GaudiKernel/Kernel.h" 00015 // ============================================================================ 00017 // ============================================================================ 00018 namespace AIDA 00019 { 00020 class IHistogram1D ; // AIDA 00021 class IProfile1D ; // AIDA 00022 } 00023 // ============================================================================ 00024 class TH1 ; // ROOT 00025 class TProfile ; // ROOT 00026 // ============================================================================ 00027 namespace Gaudi 00028 { 00029 // ========================================================================== 00030 namespace Utils 00031 { 00032 // ======================================================================== 00033 namespace Histos 00034 { 00035 // ====================================================================== 00046 GAUDI_API 00047 std::ostream& histoDump_ 00048 ( const AIDA::IHistogram1D* histo , 00049 std::ostream& stream , 00050 const std::size_t width = 80 , 00051 const std::size_t height = 50 , 00052 const bool errors = false ) ; 00053 // ====================================================================== 00063 GAUDI_API 00064 std::string histoDump 00065 ( const AIDA::IHistogram1D* histo , 00066 const std::size_t width = 80 , 00067 const std::size_t height = 50 , 00068 const bool errors = false ) ; 00069 // ====================================================================== 00080 GAUDI_API 00081 std::ostream& histoDump_ 00082 ( const AIDA::IProfile1D* histo , 00083 std::ostream& stream , 00084 const std::size_t width = 80 , 00085 const std::size_t height = 50 , 00086 const bool spread = true ) ; 00087 // ==================================================================== 00097 GAUDI_API 00098 std::string histoDump 00099 ( const AIDA::IProfile1D* histo , 00100 const std::size_t width = 80 , 00101 const std::size_t height = 50 , 00102 const bool spread = true ) ; 00103 // ====================================================================== 00114 GAUDI_API 00115 std::ostream& histoDump_ 00116 ( const TProfile* histo , 00117 std::ostream& stream , 00118 const std::size_t width = 80 , 00119 const std::size_t height = 50 ) ; 00120 // ==================================================================== 00130 GAUDI_API 00131 std::string histoDump 00132 ( const TProfile* histo , 00133 const std::size_t width = 80 , 00134 const std::size_t height = 50 ) ; 00135 // ==================================================================== 00146 GAUDI_API 00147 std::ostream& histoDump_ 00148 ( const TH1* histo , 00149 std::ostream& stream , 00150 const std::size_t width = 80 , 00151 const std::size_t height = 50 , 00152 const bool errors = false ) ; 00153 // ==================================================================== 00163 GAUDI_API 00164 std::string histoDump 00165 ( const TH1* histo , 00166 const std::size_t width = 80 , 00167 const std::size_t height = 50 , 00168 const bool errors = false ) ; 00169 // ====================================================================== 00170 } // end of namespace Gaudi::Utils::Histos 00171 // ======================================================================== 00172 } // end of namespace Gaudi::Utils 00173 // ========================================================================== 00174 } // end of namespace Gaudi 00175 // ============================================================================ 00176 // The END 00177 // ============================================================================ 00178 #endif // GAUDIUTILS_HISTODUMP_H 00179 // ============================================================================