2 #ifndef GAUDIPYTHON_HISTODECORATOR_H 3 #define GAUDIPYTHON_HISTODECORATOR_H 1 47 const double low,
const double high,
const unsigned long bins = 100 );
60 const std::string& title,
const double low,
const double high,
61 const unsigned long bins = 100 );
73 static AIDA::IHistogram1D* plot1D(
const GaudiHistoAlg& algo,
const double data,
const long ID,
74 const std::string& title,
const double low,
const double high,
75 const unsigned long bins = 100 );
88 const std::string& title,
const double low,
const double high,
89 const unsigned long bins = 100 );
101 const std::string& title,
const double low,
const double high,
102 const unsigned long bins = 100 );
116 const double high,
const unsigned long bins = 100 );
129 const std::string& title,
const double low,
const double high,
130 const unsigned long bins = 100 );
144 const double high,
const unsigned long bins = 100 );
159 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
160 const std::string& title,
const double lowX,
const double highX,
161 const double lowY,
const double highY,
const unsigned long binsX = 50,
162 const unsigned long binsY = 50,
const double weight = 1.0 );
178 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
180 const double highX,
const double lowY,
const double highY,
181 const unsigned long binsX = 50,
const unsigned long binsY = 50,
182 const double weight = 1.0 );
198 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
199 const long ID,
const std::string& title,
const double lowX,
const double highX,
200 const double lowY,
const double highY,
const unsigned long binsX = 50,
201 const unsigned long binsY = 50,
const double weight = 1.0 );
217 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
219 const double highX,
const double lowY,
const double highY,
220 const unsigned long binsX = 50,
const unsigned long binsY = 50,
221 const double weight = 1.0 );
240 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
241 const double valueZ,
const std::string& title,
const double lowX,
242 const double highX,
const double lowY,
const double highY,
const double lowZ,
243 const double highZ,
const unsigned long binsX = 10,
244 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
245 const double weight = 1.0 );
265 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
267 const double lowX,
const double highX,
const double lowY,
const double highY,
268 const double lowZ,
const double highZ,
const unsigned long binsX = 10,
269 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
270 const double weight = 1.0 );
290 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
291 const double valueZ,
const long ID,
const std::string& title,
const double lowX,
292 const double highX,
const double lowY,
const double highY,
const double lowZ,
293 const double highZ,
const unsigned long binsX = 10,
294 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
295 const double weight = 1.0 );
315 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
317 const double lowX,
const double highX,
const double lowY,
const double highY,
318 const double lowZ,
const double highZ,
const unsigned long binsX = 10,
319 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
320 const double weight = 1.0 );
324 static AIDA::IProfile1D* profile1D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
325 const std::string& title,
const double lowX,
const double highX,
326 const unsigned long binsX = 100,
const std::string& opt =
"",
329 const double weight = 1.0 );
333 static AIDA::IProfile1D*
335 const std::string& title,
const double lowX,
const double highX,
const unsigned long binsX = 100,
341 static AIDA::IProfile1D* profile1D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
342 const long ID,
const std::string& title,
const double lowX,
const double highX,
343 const unsigned long binsX = 100,
const std::string& opt =
"",
346 const double weight = 1.0 );
350 static AIDA::IProfile1D*
352 const std::string& title,
const double lowX,
const double highX,
const unsigned long binsX = 100,
358 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
359 const double valueZ,
const std::string& title,
const double lowX,
360 const double highX,
const double lowY,
const double highY,
361 const unsigned long binsX = 50,
const unsigned long binsY = 50,
362 const double weight = 1.0 );
366 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
368 const double lowX,
const double highX,
const double lowY,
const double highY,
369 const unsigned long binsX = 50,
const unsigned long binsY = 50,
370 const double weight = 1.0 );
374 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
375 const double valueZ,
const long ID,
const std::string& title,
const double lowX,
376 const double highX,
const double lowY,
const double highY,
377 const unsigned long binsX = 50,
const unsigned long binsY = 50,
378 const double weight = 1.0 );
382 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
384 const double lowX,
const double highX,
const double lowY,
const double highY,
385 const unsigned long binsX = 50,
const unsigned long binsY = 50,
386 const double weight = 1.0 );
392 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Histos1D&
histos );
393 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Histos1D&
histos );
397 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Histos2D&
histos );
398 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Histos2D&
histos );
402 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Histos3D&
histos );
403 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Histos3D&
histos );
407 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Profiles1D&
histos );
408 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Profiles1D&
histos );
412 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Profiles2D&
histos );
413 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Profiles2D&
histos );
421 #endif // GAUDIPYTHON_HISTODECORATOR_H
Simple class to extend the functionality of class GaudiAlgorithm.
std::vector< AIDA::IHistogram2D * > Histos2D
std::vector< GaudiAlg::ID > IDs
The IAlgorithm is the interface implemented by the Algorithm base class.
GaudiPython.h GaudiPython/GaudiPython.h.
std::vector< AIDA::IProfile2D * > Profiles2D
std::vector< AIDA::IHistogram1D * > Histos1D
std::vector< AIDA::IHistogram3D * > Histos3D
Simple decorator class to allow to reuse the functionality of GaudiHistos<TYPE> class in pythin...
std::vector< AIDA::IProfile1D * > Profiles1D
ID class for Histogram and Ntuples.