3 #ifndef GAUDIPYTHON_HISTODECORATOR_H
4 #define GAUDIPYTHON_HISTODECORATOR_H 1
31 typedef std::vector<GaudiAlg::ID>
IDs ;
32 typedef std::vector<AIDA::IHistogram1D*>
Histos1D ;
33 typedef std::vector<AIDA::IHistogram2D*>
Histos2D ;
34 typedef std::vector<AIDA::IHistogram3D*>
Histos3D ;
49 static AIDA::IHistogram1D* plot1D
52 const std::string& title ,
55 const unsigned long bins = 100 ) ;
67 static AIDA::IHistogram1D* plot1D
71 const std::string& title ,
74 const unsigned long bins = 100 ) ;
86 static AIDA::IHistogram1D* plot1D
90 const std::string& title ,
93 const unsigned long bins = 100 ) ;
105 static AIDA::IHistogram1D* plot1D
108 const std::string& ID ,
109 const std::string& title ,
112 const unsigned long bins = 100 ) ;
123 static AIDA::IHistogram1D* plot1D
126 const std::string& title ,
129 const unsigned long bins = 100 ) ;
141 static AIDA::IHistogram1D* plot1D
145 const std::string& title ,
148 const unsigned long bins = 100 ) ;
160 static AIDA::IHistogram1D* plot1D
164 const std::string& title ,
167 const unsigned long bins = 100 ) ;
179 static AIDA::IHistogram1D* plot1D
182 const std::string& ID ,
183 const std::string& title ,
186 const unsigned long bins = 100 ) ;
201 static AIDA::IHistogram2D* plot2D
203 const double valueX ,
204 const double valueY ,
205 const std::string& title ,
210 const unsigned long binsX = 50 ,
211 const unsigned long binsY = 50 ,
212 const double weight = 1.0 ) ;
228 static AIDA::IHistogram2D* plot2D
230 const double valueX ,
231 const double valueY ,
233 const std::string& title ,
238 const unsigned long binsX = 50 ,
239 const unsigned long binsY = 50 ,
240 const double weight = 1.0 ) ;
256 static AIDA::IHistogram2D* plot2D
258 const double valueX ,
259 const double valueY ,
261 const std::string& title ,
266 const unsigned long binsX = 50 ,
267 const unsigned long binsY = 50 ,
268 const double weight = 1.0 ) ;
284 static AIDA::IHistogram2D* plot2D
286 const double valueX ,
287 const double valueY ,
288 const std::string& ID ,
289 const std::string& title ,
294 const unsigned long binsX = 50 ,
295 const unsigned long binsY = 50 ,
296 const double weight = 1.0 ) ;
315 static AIDA::IHistogram3D* plot3D
317 const double valueX ,
318 const double valueY ,
319 const double valueZ ,
320 const std::string& title ,
327 const unsigned long binsX = 10 ,
328 const unsigned long binsY = 10 ,
329 const unsigned long binsZ = 10 ,
330 const double weight = 1.0 ) ;
350 static AIDA::IHistogram3D* plot3D
352 const double valueX ,
353 const double valueY ,
354 const double valueZ ,
356 const std::string& title ,
363 const unsigned long binsX = 10 ,
364 const unsigned long binsY = 10 ,
365 const unsigned long binsZ = 10 ,
366 const double weight = 1.0 ) ;
386 static AIDA::IHistogram3D* plot3D
388 const double valueX ,
389 const double valueY ,
390 const double valueZ ,
392 const std::string& title ,
399 const unsigned long binsX = 10 ,
400 const unsigned long binsY = 10 ,
401 const unsigned long binsZ = 10 ,
402 const double weight = 1.0 ) ;
422 static AIDA::IHistogram3D* plot3D
424 const double valueX ,
425 const double valueY ,
426 const double valueZ ,
427 const std::string& ID ,
428 const std::string& title ,
435 const unsigned long binsX = 10 ,
436 const unsigned long binsY = 10 ,
437 const unsigned long binsZ = 10 ,
438 const double weight = 1.0 ) ;
442 static AIDA::IProfile1D* profile1D
444 const double valueX ,
445 const double valueY ,
446 const std::string& title ,
449 const unsigned long binsX = 100 ,
450 const std::string&
opt =
"" ,
451 const double lowY = -std::numeric_limits<double>::max() ,
452 const double highY = std::numeric_limits<double>::max() ,
453 const double weight = 1.0 ) ;
457 static AIDA::IProfile1D* profile1D
459 const double valueX ,
460 const double valueY ,
462 const std::string& title ,
465 const unsigned long binsX = 100 ,
466 const std::string&
opt =
"" ,
467 const double lowY = -std::numeric_limits<double>::max() ,
468 const double highY = std::numeric_limits<double>::max() ,
469 const double weight = 1.0 ) ;
473 static AIDA::IProfile1D* profile1D
475 const double valueX ,
476 const double valueY ,
478 const std::string& title ,
481 const unsigned long binsX = 100 ,
482 const std::string&
opt =
"" ,
483 const double lowY = -std::numeric_limits<double>::max() ,
484 const double highY = std::numeric_limits<double>::max() ,
485 const double weight = 1.0 ) ;
489 static AIDA::IProfile1D* profile1D
491 const double valueX ,
492 const double valueY ,
493 const std::string& ID ,
494 const std::string& title ,
497 const unsigned long binsX = 100 ,
498 const std::string&
opt =
"" ,
499 const double lowY = -std::numeric_limits<double>::max() ,
500 const double highY = std::numeric_limits<double>::max() ,
501 const double weight = 1.0 ) ;
505 static AIDA::IProfile2D* profile2D
507 const double valueX ,
508 const double valueY ,
509 const double valueZ ,
510 const std::string& title ,
515 const unsigned long binsX = 50 ,
516 const unsigned long binsY = 50 ,
517 const double weight = 1.0 ) ;
521 static AIDA::IProfile2D* profile2D
523 const double valueX ,
524 const double valueY ,
525 const double valueZ ,
527 const std::string& title ,
532 const unsigned long binsX = 50 ,
533 const unsigned long binsY = 50 ,
534 const double weight = 1.0 ) ;
538 static AIDA::IProfile2D* profile2D
540 const double valueX ,
541 const double valueY ,
542 const double valueZ ,
544 const std::string& title ,
549 const unsigned long binsX = 50 ,
550 const unsigned long binsY = 50 ,
551 const double weight = 1.0 ) ;
555 static AIDA::IProfile2D* profile2D
557 const double valueX ,
558 const double valueY ,
559 const double valueZ ,
560 const std::string& ID ,
561 const std::string& title ,
566 const unsigned long binsX = 50 ,
567 const unsigned long binsY = 50 ,
568 const double weight = 1.0 ) ;
572 static size_t _histos_a_
576 static size_t _histos_t_
580 static size_t _histos_a_
584 static size_t _histos_t_
589 static size_t _histos_a_
593 static size_t _histos_t_
597 static size_t _histos_a_
601 static size_t _histos_t_
606 static size_t _histos_a_
610 static size_t _histos_t_
614 static size_t _histos_a_
618 static size_t _histos_t_
623 static size_t _histos_a_
627 static size_t _histos_t_
631 static size_t _histos_a_
635 static size_t _histos_t_
640 static size_t _histos_a_
644 static size_t _histos_t_
648 static size_t _histos_a_
652 static size_t _histos_t_
663 #endif // GAUDIPYTHON_HISTODECORATOR_H
std::vector< AIDA::IHistogram2D * > Histos2D
std::vector< GaudiAlg::ID > IDs
std::vector< double > Vector
useful type definition for implicit loos
string opt
print 'Summary: %32s [s] d d steps'%(summary.protocol,summary.type,summary.nevt,len(summary.data),)
The IAlgorithm is the interface implemented by the Algorithm base class.
std::vector< AIDA::IProfile2D * > Profiles2D
std::vector< AIDA::IHistogram1D * > Histos1D
Simple class to extend the functionality of class GaudiAlgorithm.
std::vector< AIDA::IHistogram3D * > Histos3D
Simple decorator class to allow to reuse the functionality of GaudiHistos class in pythin...
std::vector< AIDA::IProfile1D * > Profiles1D
ID class for Histogram and Ntuples.