Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HistoDump.h
Go to the documentation of this file.
1 #ifndef GAUDIUTILS_HISTODUMP_H
2 #define GAUDIUTILS_HISTODUMP_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // STD & STL
7 // ============================================================================
8 #include <string>
9 // ============================================================================
10 // GaudiKernel
11 // ============================================================================
12 #include "GaudiKernel/Kernel.h"
13 // ============================================================================
15 // ============================================================================
16 namespace AIDA {
17  class IHistogram1D; // AIDA
18  class IProfile1D; // AIDA
19 } // namespace AIDA
20 // ============================================================================
21 class TH1; // ROOT
22 class TProfile; // ROOT
23 // ============================================================================
24 namespace Gaudi {
25  // ==========================================================================
26  namespace Utils {
27  // ========================================================================
28  namespace Histos {
29  // ======================================================================
40  GAUDI_API
41  std::ostream& histoDump_( const AIDA::IHistogram1D* histo, std::ostream& stream, const std::size_t width = 80,
42  const std::size_t height = 50, const bool errors = false );
43  // ======================================================================
53  GAUDI_API
54  std::string histoDump( const AIDA::IHistogram1D* histo, const std::size_t width = 80,
55  const std::size_t height = 50, const bool errors = false );
56  // ======================================================================
67  GAUDI_API
68  std::ostream& histoDump_( const AIDA::IProfile1D* histo, std::ostream& stream, const std::size_t width = 80,
69  const std::size_t height = 50, const bool spread = true );
70  // ====================================================================
80  GAUDI_API
81  std::string histoDump( const AIDA::IProfile1D* histo, const std::size_t width = 80, const std::size_t height = 50,
82  const bool spread = true );
83  // ======================================================================
94  GAUDI_API
95  std::ostream& histoDump_( const TProfile* histo, std::ostream& stream, const std::size_t width = 80,
96  const std::size_t height = 50 );
97  // ====================================================================
107  GAUDI_API
108  std::string histoDump( const TProfile* histo, const std::size_t width = 80, const std::size_t height = 50 );
109  // ====================================================================
120  GAUDI_API
121  std::ostream& histoDump_( const TH1* histo, std::ostream& stream, const std::size_t width = 80,
122  const std::size_t height = 50, const bool errors = false );
123  // ====================================================================
133  GAUDI_API
134  std::string histoDump( const TH1* histo, const std::size_t width = 80, const std::size_t height = 50,
135  const bool errors = false );
136  // ======================================================================
137  } // namespace Histos
138  // ========================================================================
139  } // namespace Utils
140  // ==========================================================================
141 } // end of namespace Gaudi
142 // ============================================================================
143 // The END
144 // ============================================================================
145 #endif // GAUDIUTILS_HISTODUMP_H
helper namespace to collect useful definitions, types, constants and functions, related to manipulati...
GAUDI_API std::ostream & histoDump_(const TH1 *histo, std::ostream &stream, const std::size_t width=80, const std::size_t height=50, const bool errors=false)
dump the text representation of the histogram
Definition: HistoDump.cpp:729
GaudiKernel.
Definition: Fill.h:10
STL class.
GAUDI_API std::string histoDump(const TH1 *histo, const std::size_t width=80, const std::size_t height=50, const bool errors=false)
dump the text representation of the histogram
Definition: HistoDump.cpp:808
#define GAUDI_API
Definition: Kernel.h:71
STL class.
Helper functions to set/get the application return code.
Definition: __init__.py:1