![]() |
|
|
Generated: 8 Jan 2009 |
00001 // $Id: Print.h,v 1.5 2008/04/03 22:13:13 marcocle Exp $ 00002 // ============================================================================ 00003 #ifndef GAUDIALG_PRINT_H 00004 #define GAUDIALG_PRINT_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // STD & STL 00009 // ============================================================================ 00010 // ============================================================================ 00011 // GaudiKernel 00012 // ============================================================================ 00013 #include "GaudiKernel/MsgStream.h" 00014 // ============================================================================ 00015 #include <string> 00016 // ============================================================================ 00017 // GaudiAlg 00018 // ============================================================================ 00019 #include "GaudiAlg/HistoID.h" 00020 #include "GaudiAlg/TupleID.h" 00021 // ============================================================================ 00022 // forward declarations 00023 // ============================================================================ 00024 namespace AIDA 00025 { 00026 class IHistogram ; 00027 class IHistogram1D ; 00028 class IHistogram2D ; 00029 class IHistogram3D ; 00030 class IProfile1D ; 00031 class IProfile2D ; 00032 } ; 00033 class StatEntity ; 00034 class INTuple ; 00035 // ============================================================================ 00044 namespace GaudiAlg 00045 { 00054 class Print 00055 { 00056 public: 00057 static const std::string& location 00058 ( const AIDA::IHistogram* aida ) ; 00059 } ; 00068 class Print1D 00069 { 00070 public: 00071 static void print 00072 ( MsgStream & stream , 00073 const AIDA::IHistogram1D* aida , 00074 const GaudiAlg::HistoID& ID ) ; 00075 // 00076 static std::string toString 00077 ( const AIDA::IHistogram1D* aida , 00078 const GaudiAlg::HistoID& ID ) ; 00079 } ; 00088 class Print2D 00089 { 00090 public: 00091 // 00092 static void print 00093 ( MsgStream & stream , 00094 const AIDA::IHistogram2D* aida , 00095 const GaudiAlg::HistoID& ID ) ; 00096 // 00097 static std::string toString 00098 ( const AIDA::IHistogram2D* aida , 00099 const GaudiAlg::HistoID& ID ) ; 00100 } ; 00109 class Print3D 00110 { 00111 public: 00112 // 00113 static void print 00114 ( MsgStream & stream, 00115 const AIDA::IHistogram3D* aida , 00116 const GaudiAlg::HistoID& ID ) ; 00117 // 00118 static std::string toString 00119 ( const AIDA::IHistogram3D* aida , 00120 const GaudiAlg::HistoID& ID ) ; 00121 } ; 00130 class Print1DProf 00131 { 00132 public: 00133 // 00134 static void print 00135 ( MsgStream & stream, 00136 const AIDA::IProfile1D* aida , 00137 const GaudiAlg::HistoID& ID ) ; 00138 // 00139 static std::string toString 00140 ( const AIDA::IProfile1D* aida , 00141 const GaudiAlg::HistoID& ID ) ; 00142 } ; 00151 class Print2DProf 00152 { 00153 public: 00154 // 00155 static void print 00156 ( MsgStream & stream, 00157 const AIDA::IProfile2D* aida , 00158 const GaudiAlg::HistoID& ID ) ; 00159 // 00160 static std::string toString 00161 ( const AIDA::IProfile2D* aida , 00162 const GaudiAlg::HistoID& ID ) ; 00163 } ; 00164 // ========================================================================== 00173 class PrintTuple 00174 { 00175 public : 00176 // 00177 static std::string print 00178 ( const INTuple* tuple , 00179 const GaudiAlg::TupleID& ID ) ; 00180 // 00181 static std::string print 00182 ( const INTuple* tuple ) ; 00183 } ; 00184 // ========================================================================== 00193 class PrintStat 00194 { 00195 public: 00196 static std::string print 00197 ( const StatEntity& stat , 00198 const std::string& tag ) ; 00199 } ; 00200 // ========================================================================== 00201 }; // end of namepspace GaudiAlg 00202 00203 // ============================================================================ 00204 // The END 00205 // ============================================================================ 00206 #endif // GAUDIALG_PRINT_H 00207 // ============================================================================