All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Fill.h
Go to the documentation of this file.
1 #ifndef GAUDIALG_FILL_H
2 #define GAUDIALG_FILL_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // forward declarations from AIDA
7 // ============================================================================
8 namespace AIDA
9 {
10  class IBaseHistogram ;
11  class IHistogram ;
12  class IHistogram1D ;
13  class IHistogram2D ;
14  class IHistogram3D ;
15  class IProfile ;
16  class IProfile1D ;
17  class IProfile2D ;
18 }
19 #include "GaudiKernel/Kernel.h"
20 // ============================================================================
21 namespace Gaudi
22 {
23  // ==========================================================================
24  namespace Utils
25  {
26  // ========================================================================
27  namespace Histos
28  {
29  // ======================================================================
38  GAUDI_API void fill
39  ( AIDA::IHistogram1D* histo ,
40  const double value ,
41  const double weight = 1.0 ) ;
42  // ======================================================================
52  GAUDI_API void fill
53  ( AIDA::IHistogram2D* histo ,
54  const double valueX ,
55  const double valueY ,
56  const double weight = 1.0 ) ;
57  // ======================================================================
68  GAUDI_API void fill
69  ( AIDA::IHistogram3D* histo ,
70  const double valueX ,
71  const double valueY ,
72  const double valueZ ,
73  const double weight = 1.0 ) ;
74  // ======================================================================
84  GAUDI_API void fill
85  ( AIDA::IProfile1D* histo ,
86  const double valueX ,
87  const double valueY ,
88  const double weight = 1.0 ) ;
89  // ======================================================================
100  GAUDI_API void fill
101  ( AIDA::IProfile2D* histo ,
102  const double valueX ,
103  const double valueY ,
104  const double valueZ ,
105  const double weight = 1.0 ) ;
106  // ======================================================================
109  ( const AIDA::IBaseHistogram* histo ,
110  const std::string& title = "" ) ;
111  // ======================================================================
114  ( const AIDA::IHistogram* histo ,
115  const std::string& title = "" ) ;
116  // ======================================================================
119  ( const AIDA::IHistogram1D* histo ,
120  const std::string& title = "" ) ;
121  // ======================================================================
124  ( const AIDA::IHistogram2D* histo ,
125  const std::string& title = "" ) ;
126  // ======================================================================
129  ( const AIDA::IHistogram3D* histo ,
130  const std::string& title = "" ) ;
131  // ======================================================================
134  ( const AIDA::IProfile* histo ,
135  const std::string& title = "" ) ;
136  // ======================================================================
139  ( const AIDA::IProfile1D* histo ,
140  const std::string& title = "" ) ;
141  // ======================================================================
144  ( const AIDA::IProfile2D* histo ,
145  const std::string& title = "" ) ;
146  // ======================================================================
147  GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IHistogram1D* histo ) ;
148  // ======================================================================
149  GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IHistogram2D* histo ) ;
150  // ======================================================================
151  GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IHistogram3D* histo ) ;
152  // ======================================================================
153  GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IProfile1D* histo ) ;
154  // ======================================================================
155  GAUDI_API AIDA::IBaseHistogram* toBase ( AIDA::IProfile2D* histo ) ;
156  // ======================================================================
157  } // end of namespace Gaudi::Utils::Histos
158  } // end of namespace Gaudi::Utils
159 } // end of namespace Gaudi
160 // ============================================================================
161 // The END
162 // ============================================================================
163 #endif // GAUDIALG_FILL_H
164 // ============================================================================
helper namespace to collect useful definitions, types, constants and functions, related to manipulati...
GaudiKernel.
Definition: Fill.h:8
STL class.
GAUDI_API void fill(AIDA::IProfile2D *histo, const double valueX, const double valueY, const double valueZ, const double weight=1.0)
simple function to fill AIDA::IProfile2D objects
Definition: Fill.cpp:114
GAUDI_API AIDA::IBaseHistogram * toBase(AIDA::IProfile2D *histo)
Definition: Fill.cpp:209
#define GAUDI_API
Definition: Kernel.h:107
Helper functions to set/get the application return code.
Definition: __init__.py:1
GAUDI_API std::string htitle(const AIDA::IProfile2D *histo, const std::string &title="")
get the title
Definition: Fill.cpp:187