34 const std::string& title ,
37 const unsigned long bins )
38 {
return algo.
plot1D( data , title , low , high , bins ) ; }
55 const std::string& title ,
58 const unsigned long bins )
59 {
return algo.
plot1D( data , ID , title , low , high , bins ) ; }
76 const std::string& title ,
79 const unsigned long bins )
80 {
return algo.
plot1D( data , ID , title , low , high , bins ) ; }
96 const std::string& ID ,
97 const std::string& title ,
100 const unsigned long bins )
101 {
return algo.
plot1D( data , ID , title , low , high , bins ) ; }
116 const std::string& title ,
119 const unsigned long bins )
125 title , low , high , bins ) ;
143 const std::string& title ,
146 const unsigned long bins )
152 ID , title , low , high , bins ) ;
170 const std::string& title ,
173 const unsigned long bins )
179 ID , title , low , high , bins ) ;
196 const std::string& ID ,
197 const std::string& title ,
200 const unsigned long bins )
206 ID , title , low , high , bins ) ;
225 const double valueX ,
226 const double valueY ,
227 const std::string& title ,
232 const unsigned long binsX ,
233 const unsigned long binsY ,
234 const double weight )
236 return algo.
plot2D ( valueX , valueY ,
240 binsX , binsY , weight ) ;
260 const double valueX ,
261 const double valueY ,
263 const std::string& title ,
268 const unsigned long binsX ,
269 const unsigned long binsY ,
270 const double weight )
272 return algo.
plot2D ( valueX , valueY ,
276 binsX , binsY , weight ) ;
296 const double valueX ,
297 const double valueY ,
299 const std::string& title ,
304 const unsigned long binsX ,
305 const unsigned long binsY ,
306 const double weight )
308 return algo.
plot2D ( valueX , valueY ,
312 binsX , binsY , weight ) ;
332 const double valueX ,
333 const double valueY ,
334 const std::string& ID ,
335 const std::string& title ,
340 const unsigned long binsX ,
341 const unsigned long binsY ,
342 const double weight )
344 return algo.
plot2D ( valueX , valueY ,
348 binsX , binsY , weight ) ;
371 const double valueX ,
372 const double valueY ,
373 const double valueZ ,
374 const std::string& title ,
381 const unsigned long binsX ,
382 const unsigned long binsY ,
383 const unsigned long binsZ ,
384 const double weight )
386 return algo. plot3D ( valueX , valueY , valueZ ,
391 binsX , binsY , binsZ ,
415 const double valueX ,
416 const double valueY ,
417 const double valueZ ,
419 const std::string& title ,
426 const unsigned long binsX ,
427 const unsigned long binsY ,
428 const unsigned long binsZ ,
429 const double weight )
431 return algo. plot3D ( valueX , valueY , valueZ ,
436 binsX , binsY , binsZ ,
460 const double valueX ,
461 const double valueY ,
462 const double valueZ ,
464 const std::string& title ,
471 const unsigned long binsX ,
472 const unsigned long binsY ,
473 const unsigned long binsZ ,
474 const double weight )
476 return algo. plot3D ( valueX , valueY , valueZ ,
481 binsX , binsY , binsZ ,
506 const double valueX ,
507 const double valueY ,
508 const double valueZ ,
509 const std::string& ID ,
510 const std::string& title ,
517 const unsigned long binsX ,
518 const unsigned long binsY ,
519 const unsigned long binsZ ,
520 const double weight )
522 return algo. plot3D ( valueX , valueY , valueZ ,
527 binsX , binsY , binsZ ,
536 const double valueX ,
537 const double valueY ,
538 const std::string& title ,
541 const unsigned long binsX ,
542 const std::string&
opt ,
545 const double weight )
548 ( valueX , valueY , title , lowX , highX , binsX ,
549 opt , lowY , highY , weight ) ;
557 const double valueX ,
558 const double valueY ,
560 const std::string& title ,
563 const unsigned long binsX ,
564 const std::string& opt ,
567 const double weight )
570 ( valueX , valueY , ID , title , lowX , highX , binsX ,
571 opt , lowY , highY , weight ) ;
579 const double valueX ,
580 const double valueY ,
582 const std::string& title ,
585 const unsigned long binsX ,
586 const std::string& opt ,
589 const double weight )
592 ( valueX , valueY , ID , title , lowX , highX , binsX ,
593 opt , lowY , highY , weight ) ;
601 const double valueX ,
602 const double valueY ,
603 const std::string& ID ,
604 const std::string& title ,
607 const unsigned long binsX ,
608 const std::string& opt ,
611 const double weight )
614 ( valueX , valueY , ID , title , lowX , highX , binsX ,
615 opt , lowY , highY , weight ) ;
623 const double valueX ,
624 const double valueY ,
625 const double valueZ ,
626 const std::string& title ,
631 const unsigned long binsX ,
632 const unsigned long binsY ,
633 const double weight )
636 ( valueX , valueY , valueZ ,
640 binsX , binsY , weight ) ;
648 const double valueX ,
649 const double valueY ,
650 const double valueZ ,
652 const std::string& title ,
657 const unsigned long binsX ,
658 const unsigned long binsY ,
659 const double weight )
662 ( valueX , valueY , valueZ ,
666 binsX , binsY , weight ) ;
674 const double valueX ,
675 const double valueY ,
676 const double valueZ ,
678 const std::string& title ,
683 const unsigned long binsX ,
684 const unsigned long binsY ,
685 const double weight )
688 ( valueX , valueY , valueZ ,
692 binsX , binsY , weight ) ;
700 const double valueX ,
701 const double valueY ,
702 const double valueZ ,
703 const std::string& ID ,
704 const std::string& title ,
709 const unsigned long binsX ,
710 const unsigned long binsY ,
711 const double weight )
714 ( valueX , valueY , valueZ ,
718 binsX , binsY , weight ) ;
726 template <
class KEY,
class HISTO>
729 std::map<GaudiAlg::ID,HISTO>& b )
734 if ( 0 == ih->second ) { continue ; }
736 b [ id ] = ih->second ;
741 template <
class HISTO>
743 (
const std::map<GaudiAlg::ID,HISTO>& a ,
744 std::vector<GaudiAlg::ID>& b ,
745 std::vector<HISTO>&
c )
749 for (
typename std::map<GaudiAlg::ID,HISTO>::const_iterator it =
750 a.begin() ; a.end() != it ; ++it )
752 if ( 0 == it->second ) { continue ; }
753 b.push_back ( it->first ) ;
754 c.push_back ( it->second ) ;
768 if ( 0 == cmp ) {
return 0 ; }
770 std::map<GaudiAlg::ID,AIDA::IHistogram1D*> _map ;
772 _getHistos ( cmp -> histo1DMapID () , _map ) ;
774 return fromMap ( _map , ids , histos ) ;
785 if ( 0 == cmp ) {
return 0 ; }
787 std::map<GaudiAlg::ID,AIDA::IHistogram1D*> _map ;
789 _getHistos ( cmp -> histo1DMapID () , _map ) ;
791 return fromMap ( _map , ids , histos ) ;
802 if ( 0 == cmp ) {
return 0 ; }
803 return _histos_a_ ( dynamic_cast<const GaudiHistoAlg*> ( cmp ) , ids, histos ) ;
813 if ( 0 == cmp ) {
return 0 ; }
814 return _histos_t_ ( dynamic_cast<const GaudiHistoTool*> ( cmp ) , ids, histos ) ;
826 if ( 0 == cmp ) {
return 0 ; }
828 std::map<GaudiAlg::ID,AIDA::IHistogram2D*> _map ;
830 _getHistos ( cmp -> histo2DMapID () , _map ) ;
832 return fromMap ( _map , ids , histos ) ;
843 if ( 0 == cmp ) {
return 0 ; }
845 std::map<GaudiAlg::ID,AIDA::IHistogram2D*> _map ;
847 _getHistos ( cmp -> histo2DMapID () , _map ) ;
849 return fromMap ( _map , ids , histos ) ;
860 if ( 0 == cmp ) {
return 0 ; }
861 return _histos_a_ ( dynamic_cast<const GaudiHistoAlg*> ( cmp ) , ids, histos ) ;
871 if ( 0 == cmp ) {
return 0 ; }
872 return _histos_t_ ( dynamic_cast<const GaudiHistoTool*> ( cmp ) , ids, histos ) ;
884 if ( 0 == cmp ) {
return 0 ; }
886 std::map<GaudiAlg::ID,AIDA::IHistogram3D*> _map ;
888 _getHistos ( cmp -> histo3DMapID () , _map ) ;
890 return fromMap ( _map , ids , histos ) ;
901 if ( 0 == cmp ) {
return 0 ; }
903 std::map<GaudiAlg::ID,AIDA::IHistogram3D*> _map ;
905 _getHistos ( cmp -> histo3DMapID () , _map ) ;
907 return fromMap ( _map , ids , histos ) ;
918 if ( 0 == cmp ) {
return 0 ; }
919 return _histos_a_ ( dynamic_cast<const GaudiHistoAlg*> ( cmp ) , ids, histos ) ;
929 if ( 0 == cmp ) {
return 0 ; }
930 return _histos_t_ ( dynamic_cast<const GaudiHistoTool*> ( cmp ) , ids, histos ) ;
942 if ( 0 == cmp ) {
return 0 ; }
944 std::map<GaudiAlg::ID,AIDA::IProfile1D*> _map ;
946 _getHistos ( cmp -> profile1DMapID () , _map ) ;
948 return fromMap ( _map , ids , histos ) ;
959 if ( 0 == cmp ) {
return 0 ; }
961 std::map<GaudiAlg::ID,AIDA::IProfile1D*> _map ;
963 _getHistos ( cmp -> profile1DMapID () , _map ) ;
965 return fromMap ( _map , ids , histos ) ;
976 if ( 0 == cmp ) {
return 0 ; }
977 return _histos_a_ ( dynamic_cast<const GaudiHistoAlg*> ( cmp ) , ids, histos ) ;
987 if ( 0 == cmp ) {
return 0 ; }
988 return _histos_t_ ( dynamic_cast<const GaudiHistoTool*> ( cmp ) , ids, histos ) ;
1000 if ( 0 == cmp ) {
return 0 ; }
1002 std::map<GaudiAlg::ID,AIDA::IProfile2D*> _map ;
1004 _getHistos ( cmp -> profile2DMapID () , _map ) ;
1006 return fromMap ( _map , ids , histos ) ;
1017 if ( 0 == cmp ) {
return 0 ; }
1019 std::map<GaudiAlg::ID,AIDA::IProfile2D*> _map ;
1021 _getHistos ( cmp -> profile2DMapID () , _map ) ;
1023 return fromMap ( _map , ids , histos ) ;
1034 if ( 0 == cmp ) {
return 0 ; }
1035 return _histos_a_ ( dynamic_cast<const GaudiHistoAlg*> ( cmp ) , ids, histos ) ;
1045 if ( 0 == cmp ) {
return 0 ; }
1046 return _histos_t_ ( dynamic_cast<const GaudiHistoTool*> ( cmp ) , ids, histos ) ;
static AIDA::IProfile2D * profile2D(const GaudiHistoAlg &algo, 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 unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0)
It is here due to 'missing'(?) std::identity.
AIDA::IProfile1D * profile1D(const double valueX, const double valueY, const std::string &title, const double lowX, const double highX, const unsigned long binsX=100, const std::string &opt="", const double lowY=-std::numeric_limits< double >::max(), const double highY=std::numeric_limits< double >::max(), const double weight=1.0) const
fill the 1D profile histogram (book on demand)
static AIDA::IHistogram1D * plot1D(const GaudiHistoAlg &algo, const double data, const std::string &title, const double low, const double high, const unsigned long bins=100)
"plot"(book&fill) a sequence of data from the vector (implicit loop) (Expected to be more efficient) ...
AIDA::IHistogram1D * plot(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)
static AIDA::IProfile1D * profile1D(const GaudiHistoAlg &algo, const double valueX, const double valueY, const std::string &title, const double lowX, const double highX, const unsigned long binsX=100, const std::string &opt="", const double lowY=-std::numeric_limits< double >::max(), const double highY=std::numeric_limits< double >::max(), const double weight=1.0)
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),)
map_type::const_iterator const_iterator
The IAlgorithm is the interface implemented by the Algorithm base class.
static AIDA::IHistogram3D * plot3D(const GaudiHistoAlg &algo, 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)
fill the 3D histogram (book on demand)
static AIDA::IHistogram2D * plot2D(const GaudiHistoAlg &algo, 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)
fill the 2D 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)
std::vector< AIDA::IProfile2D * > Profiles2D
Common class providing an architecture-independent hash map.
static size_t _histos_a_(const GaudiHistoAlg *cmp, IDs &ids, Histos1D &histos)
std::vector< AIDA::IHistogram1D * > Histos1D
Simple class to extend the functionality of class GaudiAlgorithm.
std::vector< AIDA::IHistogram3D * > Histos3D
static size_t _histos_t_(const GaudiHistoTool *cmp, IDs &ids, Histos1D &histos)
AIDA::IProfile2D * profile2D(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 unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0) const
fill the 2D profile histogram (book on demand)
std::vector< AIDA::IProfile1D * > Profiles1D
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.