The Gaudi Framework  v29r0 (ff2e7097)
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 {
18  class IHistogram1D; // AIDA
19  class IProfile1D; // AIDA
20 }
21 // ============================================================================
22 class TH1; // ROOT
23 class TProfile; // ROOT
24 // ============================================================================
25 namespace Gaudi
26 {
27  // ==========================================================================
28  namespace Utils
29  {
30  // ========================================================================
31  namespace Histos
32  {
33  // ======================================================================
44  GAUDI_API
45  std::ostream& histoDump_( const AIDA::IHistogram1D* histo, std::ostream& stream, const std::size_t width = 80,
46  const std::size_t height = 50, const bool errors = false );
47  // ======================================================================
57  GAUDI_API
58  std::string histoDump( const AIDA::IHistogram1D* histo, const std::size_t width = 80,
59  const std::size_t height = 50, const bool errors = false );
60  // ======================================================================
71  GAUDI_API
72  std::ostream& histoDump_( const AIDA::IProfile1D* histo, std::ostream& stream, const std::size_t width = 80,
73  const std::size_t height = 50, const bool spread = true );
74  // ====================================================================
84  GAUDI_API
85  std::string histoDump( const AIDA::IProfile1D* histo, const std::size_t width = 80, const std::size_t height = 50,
86  const bool spread = true );
87  // ======================================================================
98  GAUDI_API
99  std::ostream& histoDump_( const TProfile* histo, std::ostream& stream, const std::size_t width = 80,
100  const std::size_t height = 50 );
101  // ====================================================================
111  GAUDI_API
112  std::string histoDump( const TProfile* histo, const std::size_t width = 80, const std::size_t height = 50 );
113  // ====================================================================
124  GAUDI_API
125  std::ostream& histoDump_( const TH1* histo, std::ostream& stream, const std::size_t width = 80,
126  const std::size_t height = 50, const bool errors = false );
127  // ====================================================================
137  GAUDI_API
138  std::string histoDump( const TH1* histo, const std::size_t width = 80, const std::size_t height = 50,
139  const bool errors = false );
140  // ======================================================================
141  } // end of namespace Gaudi::Utils::Histos
142  // ========================================================================
143  } // end of namespace Gaudi::Utils
144  // ==========================================================================
145 } // end of namespace Gaudi
146 // ============================================================================
147 // The END
148 // ============================================================================
149 #endif // GAUDIUTILS_HISTODUMP_H
150 // ============================================================================
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:795
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:886
#define GAUDI_API
Definition: Kernel.h:110
STL class.
Helper functions to set/get the application return code.
Definition: __init__.py:1