| The Gaudi Framework v32r1 (f65d50dc)

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 };
62 class GAUDI_API Print1D {
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 };
76 class GAUDI_API Print2D {
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 };
91 class GAUDI_API Print3D {
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 };
106 class GAUDI_API Print1DProf {
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 };
121 class GAUDI_API Print2DProf {
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 // ==========================================================================
137 class GAUDI_API PrintTuple {
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 // ==========================================================================
153 class GAUDI_API PrintStat {
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
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:334
GaudiPython.HistoUtils.location
location
Definition: HistoUtils.py:936
GaudiAlg::Print1DProf
collection of useful utilities to print IProfile1D (currently used for implementation of class GaudiH...
Definition: Print.h:106
GaudiAlg::Print1D
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:62
GaudiAlg::Print2D
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:76
GaudiAlg::Print3D
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:91
AIDA
GaudiKernel.
Definition: Fill.h:10
std::string
STL class.
INTuple
NTuple interface class definition.
Definition: INTuple.h:81
HistoID.h
GaudiAlg::PrintStat
collection of useful utilities to print StatEntity (currently used for implementation of class GaudiA...
Definition: Print.h:153
GaudiAlg::Print2DProf
collection of useful utilities to print IProfile2D (currently used for implementation of class GaudiH...
Definition: Print.h:121
TupleID.h
GaudiAlg::PrintTuple
collection of useful utilities to print INTuple object (currently used for implementation of class Ga...
Definition: Print.h:137
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
GaudiAlg::Print
collection of useful utilities to print IHistogram1D (currently used for implementation of class Gaud...
Definition: Print.h:50
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:43