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 {
24  class IHistogram ;
25  class IHistogram1D ;
26  class IHistogram2D ;
27  class IHistogram3D ;
28  class IProfile1D ;
29  class IProfile2D ;
30 }
31 class StatEntity ;
32 class INTuple ;
33 // ============================================================================
42 namespace GaudiAlg
43 {
53  {
54  public:
55  static const std::string& location
56  ( const AIDA::IHistogram* aida ) ;
57  } ;
67  {
68  public:
69  static void print
70  ( MsgStream & stream ,
71  const AIDA::IHistogram1D* aida ,
72  const GaudiAlg::HistoID& ID ) ;
73  //
74  static std::string toString
75  ( const AIDA::IHistogram1D* aida ,
76  const GaudiAlg::HistoID& ID ) ;
77  } ;
87  {
88  public:
89  //
90  static void print
91  ( MsgStream & stream ,
92  const AIDA::IHistogram2D* aida ,
93  const GaudiAlg::HistoID& ID ) ;
94  //
95  static std::string toString
96  ( const AIDA::IHistogram2D* aida ,
97  const GaudiAlg::HistoID& ID ) ;
98  } ;
108  {
109  public:
110  //
111  static void print
112  ( MsgStream & stream,
113  const AIDA::IHistogram3D* aida ,
114  const GaudiAlg::HistoID& ID ) ;
115  //
116  static std::string toString
117  ( const AIDA::IHistogram3D* aida ,
118  const GaudiAlg::HistoID& ID ) ;
119  } ;
129  {
130  public:
131  //
132  static void print
133  ( MsgStream & stream,
134  const AIDA::IProfile1D* aida ,
135  const GaudiAlg::HistoID& ID ) ;
136  //
137  static std::string toString
138  ( const AIDA::IProfile1D* aida ,
139  const GaudiAlg::HistoID& ID ) ;
140  } ;
150  {
151  public:
152  //
153  static void print
154  ( MsgStream & stream,
155  const AIDA::IProfile2D* aida ,
156  const GaudiAlg::HistoID& ID ) ;
157  //
158  static std::string toString
159  ( const AIDA::IProfile2D* aida ,
160  const GaudiAlg::HistoID& ID ) ;
161  } ;
162  // ==========================================================================
172  {
173  public :
174  //
175  static std::string print
176  ( const INTuple* tuple ,
177  const GaudiAlg::TupleID& ID ) ;
178  //
179  static std::string print
180  ( const INTuple* tuple ) ;
181  } ;
182  // ==========================================================================
192  {
193  public:
194  static std::string print
195  ( const StatEntity& stat ,
196  const std::string& tag ) ;
197  } ;
198  // ==========================================================================
199 } // end of namespace GaudiAlg
200 
201 // ============================================================================
202 // The END
203 // ============================================================================
204 #endif // GAUDIALG_PRINT_H
205 // ============================================================================
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition: ToStream.h:367
collection of useful utilities to print IProfile1D (currently used for implementation of class GaudiH...
Definition: Print.h:128
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:66
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:86
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:107
GaudiKernel.
Definition: Fill.h:8
STL class.
NTuple interface class definition.
Definition: INTuple.h:79
collection of useful utilities to print StatEntity (currently used for implementation of class GaudiA...
Definition: Print.h:191
collection of useful utilities to print IProfile2D (currently used for implementation of class GaudiH...
Definition: Print.h:149
void print(string text)
Definition: mergesort.cpp:33
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:65
collection of useful utilities to print INTuple object (currently used for implementation of class Ga...
Definition: Print.h:171
#define GAUDI_API
Definition: Kernel.h:107
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:52
GaudiAlg.h GaudiAlg/GaudiAlg.h Namespace with definition of useful constants, types and function...
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:44