1 #ifndef GAUDIALG_HISTOTOOL_H 2 #define GAUDIALG_HISTOTOOL_H 1 55 (
const double value ,
59 const unsigned long bins = 100 ,
60 const double weight = 1.0 )
const override 64 ( value , title , low , high , bins , weight ) ;
69 (
const double value ,
74 const unsigned long bins = 100 ,
75 const double weight = 1.0 )
const override 78 ( value , ID , title , low , high , bins , weight ) ;
85 (
const double valueX ,
92 const unsigned long binsX = 50 ,
93 const unsigned long binsY = 50 ,
94 const double weight = 1.0 )
const override 97 ( valueX, valueY, title, lowX, highX, lowY, highY, binsX, binsY, weight ) ;
101 AIDA::IHistogram2D*
plot2D 102 (
const double valueX ,
103 const double valueY ,
110 const unsigned long binsX = 50 ,
111 const unsigned long binsY = 50 ,
112 const double weight = 1.0 )
const override 115 ( valueX, valueY, ID, title, lowX, highX, lowY, highY, binsX, binsY, weight ) ;
121 AIDA::IHistogram3D*
plot3D 122 (
const double valueX ,
123 const double valueY ,
124 const double valueZ ,
132 const unsigned long binsX = 10 ,
133 const unsigned long binsY = 10 ,
134 const unsigned long binsZ = 10 ,
135 const double weight = 1.0 )
const override 138 ( valueX, valueY, valueZ, title,
139 lowX, highX, lowY, highY, lowZ, highZ, binsX, binsY, binsZ, weight ) ;
143 AIDA::IHistogram3D*
plot3D 144 (
const double valueX ,
145 const double valueY ,
146 const double valueZ ,
155 const unsigned long binsX = 10 ,
156 const unsigned long binsY = 10 ,
157 const unsigned long binsZ = 10 ,
158 const double weight = 1.0 )
const override 161 ( valueX, valueY, valueZ, ID, title,
162 lowX, highX, lowY, highY, lowZ, highZ, binsX, binsY, binsZ, weight ) ;
168 AIDA::IHistogram1D*
book1D 170 const double low = 0 ,
171 const double high = 100 ,
172 const unsigned long bins = 100 )
const override 178 AIDA::IHistogram2D*
book2D 180 const double lowX = 0 ,
181 const double highX = 100 ,
182 const unsigned long binsX = 50 ,
183 const double lowY = 0 ,
184 const double highY = 100 ,
185 const unsigned long binsY = 50 )
const override 191 AIDA::IHistogram3D*
book3D 193 const double lowX = 0 ,
194 const double highX = 100 ,
195 const unsigned long binsX = 10 ,
196 const double lowY = 0 ,
197 const double highY = 100 ,
198 const unsigned long binsY = 10 ,
199 const double lowZ = 0 ,
200 const double highZ = 100 ,
201 const unsigned long binsZ = 10 )
const override 206 lowZ, highZ, binsZ ) ;
210 AIDA::IHistogram1D*
book1D 211 (
const HistoID& ID ,
213 const double low = 0 ,
214 const double high = 100 ,
215 const unsigned long bins = 100 )
const override 221 AIDA::IHistogram2D*
book2D 222 (
const HistoID& ID ,
224 const double lowX = 0 ,
225 const double highX = 100 ,
226 const unsigned long binsX = 50 ,
227 const double lowY = 0 ,
228 const double highY = 100 ,
229 const unsigned long binsY = 50 )
const override 235 AIDA::IHistogram3D*
book3D 236 (
const HistoID& ID ,
238 const double lowX = 0 ,
239 const double highX = 100 ,
240 const unsigned long binsX = 10 ,
241 const double lowY = 0 ,
242 const double highY = 100 ,
243 const unsigned long binsY = 10 ,
244 const double lowZ = 0 ,
245 const double highZ = 100 ,
246 const unsigned long binsZ = 10 )
const override 251 lowZ, highZ, binsZ ) ;
255 AIDA::IHistogram1D*
fill 258 const double weight ,
265 AIDA::IHistogram2D*
fill 266 ( AIDA::IHistogram2D* histo ,
267 const double valueX ,
268 const double valueY ,
269 const double weight ,
276 AIDA::IHistogram3D*
fill 277 ( AIDA::IHistogram3D* histo ,
278 const double valueX ,
279 const double valueY ,
280 const double valueZ ,
281 const double weight ,
292 AIDA::IHistogram1D*
histo1D (
const HistoID& ID )
const override 300 AIDA::IHistogram2D*
histo2D (
const HistoID& ID )
const override 308 AIDA::IHistogram3D*
histo3D (
const HistoID& ID )
const override 326 #endif // GAUDIALG_HISTOTOOL_H
AIDA::IHistogram2D * histo2D(const std::string &title) const
access the EXISTING 2D histogram by title return the pointer to existing 2D histogram or NULL ...
AIDA::IHistogram1D * book1D(const std::string &title, const double low=0, const double high=100, const unsigned long bins=100) const
book the 1D histogram
AIDA::IHistogram1D * histo1D(const std::string &title) const
access the EXISTING 1D histogram by title return the pointer to existing 1D histogram or NULL ...
Definition of the basic interface.
AIDA::IHistogram2D * book2D(const std::string &title, const double lowX=0, const double highX=100, const unsigned long binsX=50, const double lowY=0, const double highY=100, const unsigned long binsY=50) const
book the 2D histogram
AIDA::IHistogram3D * plot3D(const double valueX, const double valueY, const double valueZ, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const double lowZ, const double highZ, const unsigned long binsX=10, const unsigned long binsY=10, const unsigned long binsZ=10, const double weight=1.0) const
fill the 3D histogram (book on demand)
AIDA::IHistogram2D * plot2D(const double valueX, const double valueY, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0) const
fill the 2D histogram (book on demand)
bool histoExists(const std::string &title) const
check the existence AND validity of the histogram with given title
AIDA::IHistogram3D * book3D(const std::string &title, const double lowX=0, const double highX=100, const unsigned long binsX=10, const double lowY=0, const double highY=100, const unsigned long binsY=10, const double lowZ=0, const double highZ=100, const unsigned long binsZ=10) const
book the 3D histogram
AIDA::IHistogram1D * plot1D(const double value, const std::string &title, const double low, const double high, const unsigned long bins=100, const double weight=1.0) const
fill the 1D histogram (book on demand)
ID class for Histogram and Ntuples.
AIDA::IHistogram3D * histo3D(const std::string &title) const
access the EXISTING 3D histogram by title return the pointer to existing 3D histogram or NULL ...
virtual const std::string & name() const =0
Retrieve the name of the instance.
AIDA::IHistogram1D * fill(AIDA::IHistogram1D *histo, const double value, const double weight, const std::string &title="") const
fill the 1D histogram with the value and weight