All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HistoDump.h
Go to the documentation of this file.
1 // $Id: $
2 // ============================================================================
3 #ifndef GAUDIUTILS_HISTODUMP_H
4 #define GAUDIUTILS_HISTODUMP_H 1
5 // ============================================================================
6 // Include files
7 // ============================================================================
8 // STD & STL
9 // ============================================================================
10 #include <string>
11 // ============================================================================
12 // GaudiKernel
13 // ============================================================================
14 #include "GaudiKernel/Kernel.h"
15 // ============================================================================
17 // ============================================================================
18 namespace AIDA
19 {
20  class IHistogram1D ; // AIDA
21  class IProfile1D ; // AIDA
22 }
23 // ============================================================================
24 class TH1 ; // ROOT
25 class TProfile ; // ROOT
26 // ============================================================================
27 namespace Gaudi
28 {
29  // ==========================================================================
30  namespace Utils
31  {
32  // ========================================================================
33  namespace Histos
34  {
35  // ======================================================================
46  GAUDI_API
47  std::ostream& histoDump_
48  ( const AIDA::IHistogram1D* histo ,
49  std::ostream& stream ,
50  const std::size_t width = 80 ,
51  const std::size_t height = 50 ,
52  const bool errors = false ) ;
53  // ======================================================================
63  GAUDI_API
64  std::string histoDump
65  ( const AIDA::IHistogram1D* histo ,
66  const std::size_t width = 80 ,
67  const std::size_t height = 50 ,
68  const bool errors = false ) ;
69  // ======================================================================
80  GAUDI_API
81  std::ostream& histoDump_
82  ( const AIDA::IProfile1D* histo ,
83  std::ostream& stream ,
84  const std::size_t width = 80 ,
85  const std::size_t height = 50 ,
86  const bool spread = true ) ;
87  // ====================================================================
97  GAUDI_API
98  std::string histoDump
99  ( const AIDA::IProfile1D* histo ,
100  const std::size_t width = 80 ,
101  const std::size_t height = 50 ,
102  const bool spread = true ) ;
103  // ======================================================================
114  GAUDI_API
115  std::ostream& histoDump_
116  ( const TProfile* histo ,
117  std::ostream& stream ,
118  const std::size_t width = 80 ,
119  const std::size_t height = 50 ) ;
120  // ====================================================================
130  GAUDI_API
131  std::string histoDump
132  ( const TProfile* histo ,
133  const std::size_t width = 80 ,
134  const std::size_t height = 50 ) ;
135  // ====================================================================
146  GAUDI_API
147  std::ostream& histoDump_
148  ( const TH1* histo ,
149  std::ostream& stream ,
150  const std::size_t width = 80 ,
151  const std::size_t height = 50 ,
152  const bool errors = false ) ;
153  // ====================================================================
163  GAUDI_API
164  std::string histoDump
165  ( const TH1* histo ,
166  const std::size_t width = 80 ,
167  const std::size_t height = 50 ,
168  const bool errors = false ) ;
169  // ======================================================================
170  } // end of namespace Gaudi::Utils::Histos
171  // ========================================================================
172  } // end of namespace Gaudi::Utils
173  // ==========================================================================
174 } // end of namespace Gaudi
175 // ============================================================================
176 // The END
177 // ============================================================================
178 #endif // GAUDIUTILS_HISTODUMP_H
179 // ============================================================================
GAUDI_API std::ostream & histoDump_(const AIDA::IHistogram1D *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:621
GAUDI_API std::string histoDump(const AIDA::IHistogram1D *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:710
This is a number of static methods for bootstrapping the Gaudi framework.
Definition: Bootstrap.h:15
#define GAUDI_API
Definition: Kernel.h:108