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
46  ( const AIDA::IHistogram1D* histo ,
47  std::ostream& stream ,
48  const std::size_t width = 80 ,
49  const std::size_t height = 50 ,
50  const bool errors = false ) ;
51  // ======================================================================
61  GAUDI_API
63  ( const AIDA::IHistogram1D* histo ,
64  const std::size_t width = 80 ,
65  const std::size_t height = 50 ,
66  const bool errors = false ) ;
67  // ======================================================================
78  GAUDI_API
80  ( const AIDA::IProfile1D* histo ,
81  std::ostream& stream ,
82  const std::size_t width = 80 ,
83  const std::size_t height = 50 ,
84  const bool spread = true ) ;
85  // ====================================================================
95  GAUDI_API
97  ( const AIDA::IProfile1D* histo ,
98  const std::size_t width = 80 ,
99  const std::size_t height = 50 ,
100  const bool spread = true ) ;
101  // ======================================================================
112  GAUDI_API
114  ( const TProfile* histo ,
115  std::ostream& stream ,
116  const std::size_t width = 80 ,
117  const std::size_t height = 50 ) ;
118  // ====================================================================
128  GAUDI_API
130  ( const TProfile* histo ,
131  const std::size_t width = 80 ,
132  const std::size_t height = 50 ) ;
133  // ====================================================================
144  GAUDI_API
146  ( const TH1* histo ,
147  std::ostream& stream ,
148  const std::size_t width = 80 ,
149  const std::size_t height = 50 ,
150  const bool errors = false ) ;
151  // ====================================================================
161  GAUDI_API
163  ( const TH1* histo ,
164  const std::size_t width = 80 ,
165  const std::size_t height = 50 ,
166  const bool errors = false ) ;
167  // ======================================================================
168  } // end of namespace Gaudi::Utils::Histos
169  // ========================================================================
170  } // end of namespace Gaudi::Utils
171  // ==========================================================================
172 } // end of namespace Gaudi
173 // ============================================================================
174 // The END
175 // ============================================================================
176 #endif // GAUDIUTILS_HISTODUMP_H
177 // ============================================================================
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:817
GaudiKernel.
Definition: Fill.h:8
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:945
#define GAUDI_API
Definition: Kernel.h:107
STL class.
Helper functions to set/get the application return code.
Definition: __init__.py:1