| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
52 class GAUDI_API Print
53 {
54 public:
55 static const std::string& location
56 ( const AIDA::IHistogram* aida ) ;
57 } ;
66 class GAUDI_API Print1D
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 } ;
86 class GAUDI_API Print2D
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 } ;
107 class GAUDI_API Print3D
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 } ;
128 class GAUDI_API Print1DProf
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 } ;
149 class GAUDI_API Print2DProf
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 // ==========================================================================
171 class GAUDI_API PrintTuple
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 // ==========================================================================
191 class GAUDI_API PrintStat
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 // ============================================================================
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
MsgStream.h
Gaudi::Utils::toString
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition: ToStream.h:371
GaudiAlg::Print1DProf
collection of useful utilities to print IProfile1D (currently used for implementation of class GaudiH...
Definition: Print.h:128
GaudiAlg::Print1D
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:66
GaudiAlg::Print2D
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:86
GaudiAlg::Print3D
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:107
AIDA
GaudiKernel.
Definition: Fill.h:8
std::string
STL class.
INTuple
NTuple interface class definition.
Definition: INTuple.h:79
HistoID.h
GaudiAlg::PrintStat
collection of useful utilities to print StatEntity (currently used for implementation of class GaudiA...
Definition: Print.h:191
GaudiAlg::Print2DProf
collection of useful utilities to print IProfile2D (currently used for implementation of class GaudiH...
Definition: Print.h:149
TupleID.h
print
void print(string text)
Definition: mergesort.cpp:33
StatEntity
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:64
GaudiAlg::PrintTuple
collection of useful utilities to print INTuple object (currently used for implementation of class Ga...
Definition: Print.h:171
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
GaudiAlg::Print
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:52
GaudiAlg
GaudiAlg.h GaudiAlg/GaudiAlg.h Namespace with definition of useful constants, types and function...
GaudiAlg::ID
ID class for Histogram and Ntuples.
Definition: GaudiHistoID.h:44