| Report problems to ATLAS LXR Team (with time and IP address indicated) |
|
[ source navigation ] [ diff markup ] [ identifier search ] [ general search ] |
||||
|
||||||
| Links to LXR source navigation pages for stable releases | [ 12.*.* ] [ 13.*.* ] [ 14.*.* ] [ 15.*.* ] | |||||
001 // $Id: Fill.h,v 1.1 2007/10/02 14:53:48 marcocle Exp $ 002 // ============================================================================ 003 #ifndef GAUDIALG_FILL_H 004 #define GAUDIALG_FILL_H 1 005 // ============================================================================ 006 // Include files 007 // ============================================================================ 008 // forward declarations from AIDA 009 // ============================================================================ 010 namespace AIDA 011 { 012 class IBaseHistogram ; 013 class IHistogram ; 014 class IHistogram1D ; 015 class IHistogram2D ; 016 class IHistogram3D ; 017 class IProfile ; 018 class IProfile1D ; 019 class IProfile2D ; 020 } 021 #include "GaudiKernel/Kernel.h" 022 // ============================================================================ 023 namespace Gaudi 024 { 025 // ========================================================================== 026 namespace Utils 027 { 028 // ======================================================================== 029 namespace Histos 030 { 031 // ====================================================================== 032 /** simple function to fill AIDA::IHistogram1D objects 033 * @see AIDA::IHistogram1D 034 * @param histo pointer to the histogram 035 * @param value value to be added to the histogram 036 * @param weight the "weight" assciated with this entry 037 * @author Vanya BELYAEV ibelyaev@physics.syr.edu 038 * @date 2007-10-02 039 */ 040 GAUDI_API void fill 041 ( AIDA::IHistogram1D* histo , 042 const double value , 043 const double weight = 1.0 ) ; 044 // ====================================================================== 045 /** simple function to fill AIDA::IHistogram2D objects 046 * @see AIDA::IHistogram2D 047 * @param histo pointer to the histogram 048 * @param valueX value to be added to the histogram 049 * @param valueY value to be added to the histogram 050 * @param weight the "weight" assciated with this entry 051 * @author Vanya BELYAEV ibelyaev@physics.syr.edu 052 * @date 2007-10-02 053 */ 054 GAUDI_API void fill 055 ( AIDA::IHistogram2D* histo , 056 const double valueX , 057 const double valueY , 058 const double weight = 1.0 ) ; 059 // ====================================================================== 060 /** simple function to fill AIDA::IHistogram3D objects 061 * @see AIDA::IHistogram3D 062 * @param histo pointer to the histogram 063 * @param valueX value to be added to the histogram 064 * @param valueY value to be added to the histogram 065 * @param valueZ value to be added to the histogram 066 * @param weight the "weight" assciated with this entry 067 * @author Vanya BELYAEV ibelyaev@physics.syr.edu 068 * @date 2007-10-02 069 */ 070 GAUDI_API void fill 071 ( AIDA::IHistogram3D* histo , 072 const double valueX , 073 const double valueY , 074 const double valueZ , 075 const double weight = 1.0 ) ; 076 // ====================================================================== 077 /** simple function to fill AIDA::IProfile1D objects 078 * @see AIDA::IProfile1D 079 * @param histo pointer to the histogram 080 * @param valueX value to be added to the histogram 081 * @param valueY value to be added to the histogram 082 * @param weight the "weight" assciated with this entry 083 * @author Vanya BELYAEV ibelyaev@physics.syr.edu 084 * @date 2007-10-02 085 */ 086 GAUDI_API void fill 087 ( AIDA::IProfile1D* histo , 088 const double valueX , 089 const double valueY , 090 const double weight = 1.0 ) ; 091 // ====================================================================== 092 /** simple function to fill AIDA::IProfile2D objects 093 * @see AIDA::IProfile2D 094 * @param histo pointer to the histogram 095 * @param valueX value to be added to the histogram 096 * @param valueY value to be added to the histogram 097 * @param valueZ value to be added to the histogram 098 * @param weight the "weight" assciated with this entry 099 * @author Vanya BELYAEV ibelyaev@physics.syr.edu 100 * @date 2007-10-02 101 */ 102 GAUDI_API void fill 103 ( AIDA::IProfile2D* histo , 104 const double valueX , 105 const double valueY , 106 const double valueZ , 107 const double weight = 1.0 ) ; 108 // ====================================================================== 109 /// get the title 110 GAUDI_API std::string htitle 111 ( const AIDA::IBaseHistogram* histo , 112 const std::string& title = "" ) ; 113 // ====================================================================== 114 /// get the title 115 GAUDI_API std::string htitle 116 ( const AIDA::IHistogram* histo , 117 const std::string& title = "" ) ; 118 // ====================================================================== 119 /// get the title 120 GAUDI_API std::string htitle 121 ( const AIDA::IHistogram1D* histo , 122 const std::string& title = "" ) ; 123 // ====================================================================== 124 /// get the title 125 GAUDI_API std::string htitle 126 ( const AIDA::IHistogram2D* histo , 127 const std::string& title = "" ) ; 128 // ====================================================================== 129 /// get the title 130 GAUDI_API std::string htitle 131 ( const AIDA::IHistogram3D* histo , 132 const std::string& title = "" ) ; 133 // ====================================================================== 134 /// get the title 135 GAUDI_API std::string htitle 136 ( const AIDA::IProfile* histo , 137 const std::string& title = "" ) ; 138 // ====================================================================== 139 /// get the title 140 GAUDI_API std::string htitle 141 ( const AIDA::IProfile1D* histo , 142 const std::string& title = "" ) ; 143 // ====================================================================== 144 /// get the title 145 GAUDI_API std::string htitle 146 ( const AIDA::IProfile2D* histo , 147 const std::string& title = "" ) ; 148 // ====================================================================== 149 GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IHistogram1D* histo ) ; 150 // ====================================================================== 151 GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IHistogram2D* histo ) ; 152 // ====================================================================== 153 GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IHistogram3D* histo ) ; 154 // ====================================================================== 155 GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IProfile1D* histo ) ; 156 // ====================================================================== 157 GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IProfile2D* histo ) ; 158 // ====================================================================== 159 } // end of namespace Gaudi::Utils::Histos 160 } // end of namespace Gaudi::Utils 161 } // end of namespace Gaudi 162 // ============================================================================ 163 // The END 164 // ============================================================================ 165 #endif // GAUDIALG_FILL_H 166 // ============================================================================ 167
| [ source navigation ] | [ diff markup ] | [ identifier search ] | [ general search ] |
| Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems | |
| This page was automatically generated by the LXR engine. |
|