2 #ifndef GAUDIPYTHON_HISTODECORATOR_H 3 #define GAUDIPYTHON_HISTODECORATOR_H 1 49 const double low,
const double high,
const unsigned long bins = 100 );
62 const std::string& title,
const double low,
const double high,
63 const unsigned long bins = 100 );
75 static AIDA::IHistogram1D* plot1D(
const GaudiHistoAlg& algo,
const double data,
const long ID,
76 const std::string& title,
const double low,
const double high,
77 const unsigned long bins = 100 );
90 const std::string& title,
const double low,
const double high,
91 const unsigned long bins = 100 );
103 const std::string& title,
const double low,
const double high,
104 const unsigned long bins = 100 );
118 const double high,
const unsigned long bins = 100 );
131 const std::string& title,
const double low,
const double high,
132 const unsigned long bins = 100 );
146 const double high,
const unsigned long bins = 100 );
161 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
162 const std::string& title,
const double lowX,
const double highX,
163 const double lowY,
const double highY,
const unsigned long binsX = 50,
164 const unsigned long binsY = 50,
const double weight = 1.0 );
180 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
182 const double highX,
const double lowY,
const double highY,
183 const unsigned long binsX = 50,
const unsigned long binsY = 50,
184 const double weight = 1.0 );
200 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
201 const long ID,
const std::string& title,
const double lowX,
const double highX,
202 const double lowY,
const double highY,
const unsigned long binsX = 50,
203 const unsigned long binsY = 50,
const double weight = 1.0 );
219 static AIDA::IHistogram2D* plot2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
221 const double highX,
const double lowY,
const double highY,
222 const unsigned long binsX = 50,
const unsigned long binsY = 50,
223 const double weight = 1.0 );
242 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
243 const double valueZ,
const std::string& title,
const double lowX,
244 const double highX,
const double lowY,
const double highY,
const double lowZ,
245 const double highZ,
const unsigned long binsX = 10,
246 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
247 const double weight = 1.0 );
267 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
269 const double lowX,
const double highX,
const double lowY,
const double highY,
270 const double lowZ,
const double highZ,
const unsigned long binsX = 10,
271 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
272 const double weight = 1.0 );
292 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
293 const double valueZ,
const long ID,
const std::string& title,
const double lowX,
294 const double highX,
const double lowY,
const double highY,
const double lowZ,
295 const double highZ,
const unsigned long binsX = 10,
296 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
297 const double weight = 1.0 );
317 static AIDA::IHistogram3D* plot3D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
319 const double lowX,
const double highX,
const double lowY,
const double highY,
320 const double lowZ,
const double highZ,
const unsigned long binsX = 10,
321 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
322 const double weight = 1.0 );
326 static AIDA::IProfile1D* profile1D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
327 const std::string& title,
const double lowX,
const double highX,
328 const unsigned long binsX = 100,
const std::string& opt =
"",
331 const double weight = 1.0 );
335 static AIDA::IProfile1D*
337 const std::string& title,
const double lowX,
const double highX,
const unsigned long binsX = 100,
343 static AIDA::IProfile1D* profile1D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
344 const long ID,
const std::string& title,
const double lowX,
const double highX,
345 const unsigned long binsX = 100,
const std::string& opt =
"",
348 const double weight = 1.0 );
352 static AIDA::IProfile1D*
354 const std::string& title,
const double lowX,
const double highX,
const unsigned long binsX = 100,
360 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
361 const double valueZ,
const std::string& title,
const double lowX,
362 const double highX,
const double lowY,
const double highY,
363 const unsigned long binsX = 50,
const unsigned long binsY = 50,
364 const double weight = 1.0 );
368 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
370 const double lowX,
const double highX,
const double lowY,
const double highY,
371 const unsigned long binsX = 50,
const unsigned long binsY = 50,
372 const double weight = 1.0 );
376 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
377 const double valueZ,
const long ID,
const std::string& title,
const double lowX,
378 const double highX,
const double lowY,
const double highY,
379 const unsigned long binsX = 50,
const unsigned long binsY = 50,
380 const double weight = 1.0 );
384 static AIDA::IProfile2D* profile2D(
const GaudiHistoAlg& algo,
const double valueX,
const double valueY,
386 const double lowX,
const double highX,
const double lowY,
const double highY,
387 const unsigned long binsX = 50,
const unsigned long binsY = 50,
388 const double weight = 1.0 );
394 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Histos1D&
histos );
395 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Histos1D&
histos );
399 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Histos2D&
histos );
400 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Histos2D&
histos );
404 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Histos3D&
histos );
405 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Histos3D&
histos );
409 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Profiles1D&
histos );
410 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Profiles1D&
histos );
414 static size_t _histos_a_(
const IAlgorithm* cmp, IDs& ids, Profiles2D&
histos );
415 static size_t _histos_t_(
const IAlgTool* cmp, IDs& ids, Profiles2D&
histos );
423 #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.