2 #ifndef GAUDIPYTHON_HISTODECORATOR_H
3 #define GAUDIPYTHON_HISTODECORATOR_H 1
9 #include "GaudiAlg/GaudiHistoAlg.h"
13 #include "GaudiPython/GaudiPython.h"
14 #include "GaudiPython/Vector.h"
30 typedef std::vector<GaudiAlg::ID> IDs ;
31 typedef std::vector<AIDA::IHistogram1D*> Histos1D ;
32 typedef std::vector<AIDA::IHistogram2D*> Histos2D ;
33 typedef std::vector<AIDA::IHistogram3D*> Histos3D ;
34 typedef std::vector<AIDA::IProfile1D*> Profiles1D ;
35 typedef std::vector<AIDA::IProfile2D*> Profiles2D ;
48 static AIDA::IHistogram1D* plot1D
51 const std::string& title ,
54 const unsigned long bins = 100 ) ;
66 static AIDA::IHistogram1D* plot1D
70 const std::string& title ,
73 const unsigned long bins = 100 ) ;
85 static AIDA::IHistogram1D* plot1D
89 const std::string& title ,
92 const unsigned long bins = 100 ) ;
104 static AIDA::IHistogram1D* plot1D
107 const std::string& ID ,
108 const std::string& title ,
111 const unsigned long bins = 100 ) ;
122 static AIDA::IHistogram1D* plot1D
125 const std::string& title ,
128 const unsigned long bins = 100 ) ;
140 static AIDA::IHistogram1D* plot1D
144 const std::string& title ,
147 const unsigned long bins = 100 ) ;
159 static AIDA::IHistogram1D* plot1D
163 const std::string& title ,
166 const unsigned long bins = 100 ) ;
178 static AIDA::IHistogram1D* plot1D
181 const std::string& ID ,
182 const std::string& title ,
185 const unsigned long bins = 100 ) ;
200 static AIDA::IHistogram2D* plot2D
202 const double valueX ,
203 const double valueY ,
204 const std::string& title ,
209 const unsigned long binsX = 50 ,
210 const unsigned long binsY = 50 ,
211 const double weight = 1.0 ) ;
227 static AIDA::IHistogram2D* plot2D
229 const double valueX ,
230 const double valueY ,
232 const std::string& title ,
237 const unsigned long binsX = 50 ,
238 const unsigned long binsY = 50 ,
239 const double weight = 1.0 ) ;
255 static AIDA::IHistogram2D* plot2D
257 const double valueX ,
258 const double valueY ,
260 const std::string& title ,
265 const unsigned long binsX = 50 ,
266 const unsigned long binsY = 50 ,
267 const double weight = 1.0 ) ;
283 static AIDA::IHistogram2D* plot2D
285 const double valueX ,
286 const double valueY ,
287 const std::string& ID ,
288 const std::string& title ,
293 const unsigned long binsX = 50 ,
294 const unsigned long binsY = 50 ,
295 const double weight = 1.0 ) ;
314 static AIDA::IHistogram3D* plot3D
316 const double valueX ,
317 const double valueY ,
318 const double valueZ ,
319 const std::string& title ,
326 const unsigned long binsX = 10 ,
327 const unsigned long binsY = 10 ,
328 const unsigned long binsZ = 10 ,
329 const double weight = 1.0 ) ;
349 static AIDA::IHistogram3D* plot3D
351 const double valueX ,
352 const double valueY ,
353 const double valueZ ,
355 const std::string& title ,
362 const unsigned long binsX = 10 ,
363 const unsigned long binsY = 10 ,
364 const unsigned long binsZ = 10 ,
365 const double weight = 1.0 ) ;
385 static AIDA::IHistogram3D* plot3D
387 const double valueX ,
388 const double valueY ,
389 const double valueZ ,
391 const std::string& title ,
398 const unsigned long binsX = 10 ,
399 const unsigned long binsY = 10 ,
400 const unsigned long binsZ = 10 ,
401 const double weight = 1.0 ) ;
421 static AIDA::IHistogram3D* plot3D
423 const double valueX ,
424 const double valueY ,
425 const double valueZ ,
426 const std::string& ID ,
427 const std::string& title ,
434 const unsigned long binsX = 10 ,
435 const unsigned long binsY = 10 ,
436 const unsigned long binsZ = 10 ,
437 const double weight = 1.0 ) ;
441 static AIDA::IProfile1D* profile1D
443 const double valueX ,
444 const double valueY ,
445 const std::string& title ,
448 const unsigned long binsX = 100 ,
449 const std::string&
opt =
"" ,
450 const double lowY = -std::numeric_limits<double>::max() ,
451 const double highY = std::numeric_limits<double>::max() ,
452 const double weight = 1.0 ) ;
456 static AIDA::IProfile1D* profile1D
458 const double valueX ,
459 const double valueY ,
461 const std::string& title ,
464 const unsigned long binsX = 100 ,
465 const std::string&
opt =
"" ,
466 const double lowY = -std::numeric_limits<double>::max() ,
467 const double highY = std::numeric_limits<double>::max() ,
468 const double weight = 1.0 ) ;
472 static AIDA::IProfile1D* profile1D
474 const double valueX ,
475 const double valueY ,
477 const std::string& title ,
480 const unsigned long binsX = 100 ,
481 const std::string&
opt =
"" ,
482 const double lowY = -std::numeric_limits<double>::max() ,
483 const double highY = std::numeric_limits<double>::max() ,
484 const double weight = 1.0 ) ;
488 static AIDA::IProfile1D* profile1D
490 const double valueX ,
491 const double valueY ,
492 const std::string& ID ,
493 const std::string& title ,
496 const unsigned long binsX = 100 ,
497 const std::string&
opt =
"" ,
498 const double lowY = -std::numeric_limits<double>::max() ,
499 const double highY = std::numeric_limits<double>::max() ,
500 const double weight = 1.0 ) ;
504 static AIDA::IProfile2D* profile2D
506 const double valueX ,
507 const double valueY ,
508 const double valueZ ,
509 const std::string& title ,
514 const unsigned long binsX = 50 ,
515 const unsigned long binsY = 50 ,
516 const double weight = 1.0 ) ;
520 static AIDA::IProfile2D* profile2D
522 const double valueX ,
523 const double valueY ,
524 const double valueZ ,
526 const std::string& title ,
531 const unsigned long binsX = 50 ,
532 const unsigned long binsY = 50 ,
533 const double weight = 1.0 ) ;
537 static AIDA::IProfile2D* profile2D
539 const double valueX ,
540 const double valueY ,
541 const double valueZ ,
543 const std::string& title ,
548 const unsigned long binsX = 50 ,
549 const unsigned long binsY = 50 ,
550 const double weight = 1.0 ) ;
554 static AIDA::IProfile2D* profile2D
556 const double valueX ,
557 const double valueY ,
558 const double valueZ ,
559 const std::string& ID ,
560 const std::string& title ,
565 const unsigned long binsX = 50 ,
566 const unsigned long binsY = 50 ,
567 const double weight = 1.0 ) ;
571 static size_t _histos_a_
575 static size_t _histos_t_
579 static size_t _histos_a_
583 static size_t _histos_t_
588 static size_t _histos_a_
592 static size_t _histos_t_
596 static size_t _histos_a_
600 static size_t _histos_t_
605 static size_t _histos_a_
609 static size_t _histos_t_
613 static size_t _histos_a_
617 static size_t _histos_t_
622 static size_t _histos_a_
626 static size_t _histos_t_
630 static size_t _histos_a_
634 static size_t _histos_t_
639 static size_t _histos_a_
643 static size_t _histos_t_
647 static size_t _histos_a_
651 static size_t _histos_t_
662 #endif // GAUDIPYTHON_HISTODECORATOR_H
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.
GaudiPython.h GaudiPython/GaudiPython.h.
Simple class to extend the functionality of class GaudiAlgorithm.
ID class for Histogram and Ntuples.