Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Print.h
Go to the documentation of this file.
1 #ifndef GAUDIALG_PRINT_H
2 #define GAUDIALG_PRINT_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // STD & STL
7 // ============================================================================
8 // ============================================================================
9 // GaudiKernel
10 // ============================================================================
11 #include "GaudiKernel/MsgStream.h"
12 // ============================================================================
13 #include <string>
14 // ============================================================================
15 // GaudiAlg
16 // ============================================================================
17 #include "GaudiAlg/HistoID.h"
18 #include "GaudiAlg/TupleID.h"
19 // ============================================================================
20 // forward declarations
21 // ============================================================================
22 namespace AIDA {
23  class IHistogram;
24  class IHistogram1D;
25  class IHistogram2D;
26  class IHistogram3D;
27  class IProfile1D;
28  class IProfile2D;
29 } // namespace AIDA
30 class StatEntity;
31 class INTuple;
32 // ============================================================================
41 namespace GaudiAlg {
50  class GAUDI_API Print {
51  public:
52  static const std::string& location( const AIDA::IHistogram* aida );
53  };
63  public:
64  static void print( MsgStream& stream, const AIDA::IHistogram1D* aida, const GaudiAlg::HistoID& ID );
65  //
66  static std::string toString( const AIDA::IHistogram1D* aida, const GaudiAlg::HistoID& ID );
67  };
77  public:
78  //
79  static void print( MsgStream& stream, const AIDA::IHistogram2D* aida, const GaudiAlg::HistoID& ID );
80  //
81  static std::string toString( const AIDA::IHistogram2D* aida, const GaudiAlg::HistoID& ID );
82  };
92  public:
93  //
94  static void print( MsgStream& stream, const AIDA::IHistogram3D* aida, const GaudiAlg::HistoID& ID );
95  //
96  static std::string toString( const AIDA::IHistogram3D* aida, const GaudiAlg::HistoID& ID );
97  };
107  public:
108  //
109  static void print( MsgStream& stream, const AIDA::IProfile1D* aida, const GaudiAlg::HistoID& ID );
110  //
111  static std::string toString( const AIDA::IProfile1D* aida, const GaudiAlg::HistoID& ID );
112  };
122  public:
123  //
124  static void print( MsgStream& stream, const AIDA::IProfile2D* aida, const GaudiAlg::HistoID& ID );
125  //
126  static std::string toString( const AIDA::IProfile2D* aida, const GaudiAlg::HistoID& ID );
127  };
128  // ==========================================================================
138  public:
139  //
140  static std::string print( const INTuple* tuple, const GaudiAlg::TupleID& ID );
141  //
142  static std::string print( const INTuple* tuple );
143  };
144  // ==========================================================================
154  public:
155  static std::string print( const StatEntity& stat, const std::string& tag );
156  };
157  // ==========================================================================
158 } // end of namespace GaudiAlg
159 
160 // ============================================================================
161 // The END
162 // ============================================================================
163 #endif // GAUDIALG_PRINT_H
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
collection of useful utilities to print IProfile1D (currently used for implementation of class GaudiH...
Definition: Print.h:106
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:62
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:76
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:91
GaudiKernel.
Definition: Fill.h:10
STL class.
NTuple interface class definition.
Definition: INTuple.h:81
collection of useful utilities to print StatEntity (currently used for implementation of class GaudiA...
Definition: Print.h:153
collection of useful utilities to print IProfile2D (currently used for implementation of class GaudiH...
Definition: Print.h:121
backward compatible StatEntity class.
Definition: Counters.h:837
collection of useful utilities to print INTuple object (currently used for implementation of class Ga...
Definition: Print.h:137
#define GAUDI_API
Definition: Kernel.h:71
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:50
GaudiAlg.h GaudiAlg/GaudiAlg.h Namespace with definition of useful constants, types and function...
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:43
std::string toString(const Type &)