![]() |
|
|
Generated: 8 Jan 2009 |
00001 // $Id: Fill.h,v 1.1 2007/10/02 14:53:48 marcocle Exp $ 00002 // ============================================================================ 00003 #ifndef GAUDIALG_FILL_H 00004 #define GAUDIALG_FILL_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // forward declarations from AIDA 00009 // ============================================================================ 00010 namespace AIDA 00011 { 00012 class IBaseHistogram ; 00013 class IHistogram ; 00014 class IHistogram1D ; 00015 class IHistogram2D ; 00016 class IHistogram3D ; 00017 class IProfile ; 00018 class IProfile1D ; 00019 class IProfile2D ; 00020 } 00021 // ============================================================================ 00022 namespace Gaudi 00023 { 00024 // ========================================================================== 00025 namespace Utils 00026 { 00027 // ======================================================================== 00028 namespace Histos 00029 { 00030 // ====================================================================== 00039 void fill 00040 ( AIDA::IHistogram1D* histo , 00041 const double value , 00042 const double weight = 1.0 ) ; 00043 // ====================================================================== 00053 void fill 00054 ( AIDA::IHistogram2D* histo , 00055 const double valueX , 00056 const double valueY , 00057 const double weight = 1.0 ) ; 00058 // ====================================================================== 00069 void fill 00070 ( AIDA::IHistogram3D* histo , 00071 const double valueX , 00072 const double valueY , 00073 const double valueZ , 00074 const double weight = 1.0 ) ; 00075 // ====================================================================== 00085 void fill 00086 ( AIDA::IProfile1D* histo , 00087 const double valueX , 00088 const double valueY , 00089 const double weight = 1.0 ) ; 00090 // ====================================================================== 00101 void fill 00102 ( AIDA::IProfile2D* histo , 00103 const double valueX , 00104 const double valueY , 00105 const double valueZ , 00106 const double weight = 1.0 ) ; 00107 // ====================================================================== 00109 std::string htitle 00110 ( const AIDA::IBaseHistogram* histo , 00111 const std::string& title = "" ) ; 00112 // ====================================================================== 00114 std::string htitle 00115 ( const AIDA::IHistogram* histo , 00116 const std::string& title = "" ) ; 00117 // ====================================================================== 00119 std::string htitle 00120 ( const AIDA::IHistogram1D* histo , 00121 const std::string& title = "" ) ; 00122 // ====================================================================== 00124 std::string htitle 00125 ( const AIDA::IHistogram2D* histo , 00126 const std::string& title = "" ) ; 00127 // ====================================================================== 00129 std::string htitle 00130 ( const AIDA::IHistogram3D* histo , 00131 const std::string& title = "" ) ; 00132 // ====================================================================== 00134 std::string htitle 00135 ( const AIDA::IProfile* histo , 00136 const std::string& title = "" ) ; 00137 // ====================================================================== 00139 std::string htitle 00140 ( const AIDA::IProfile1D* histo , 00141 const std::string& title = "" ) ; 00142 // ====================================================================== 00144 std::string htitle 00145 ( const AIDA::IProfile2D* histo , 00146 const std::string& title = "" ) ; 00147 // ====================================================================== 00148 AIDA::IBaseHistogram* toBase ( AIDA::IHistogram1D* histo ) ; 00149 // ====================================================================== 00150 AIDA::IBaseHistogram* toBase ( AIDA::IHistogram2D* histo ) ; 00151 // ====================================================================== 00152 AIDA::IBaseHistogram* toBase ( AIDA::IHistogram3D* histo ) ; 00153 // ====================================================================== 00154 AIDA::IBaseHistogram* toBase ( AIDA::IProfile1D* histo ) ; 00155 // ====================================================================== 00156 AIDA::IBaseHistogram* toBase ( AIDA::IProfile2D* histo ) ; 00157 // ====================================================================== 00158 } // end of namespace Gaudi::Utils::Histos 00159 } // end of namespace Gaudi::Utils 00160 } // end of namespace Gaudi 00161 // ============================================================================ 00162 // The END 00163 // ============================================================================ 00164 #endif // GAUDIALG_FILL_H 00165 // ============================================================================