The Gaudi Framework  v30r3 (a5ef0a68)
GaudiPython.HistoUtils Namespace Reference

Classes

class  HistoFile
 

Functions

def _getAppMgr (kwargs)
 
def _getHistoSvc (kwargs)
 
def _getEvtSvc (kwargs)
 
def book (args, kwargs)
 
def bookProf (args, kwargs)
 
def getAsAIDA (path, kwargs)
 
def getAsROOT (path, kwargs)
 
def fill (histo, data, fun=lambda x:x, cut=lambda x:True, kwargs)
 
def _to_root_ (self)
 
def _moment_ (self, order, value=0)
 
def _momentErr_ (self, order)
 
def _centralMoment_ (self, order)
 
def _centralMomentErr_ (self, order)
 
def _skewness_ (self)
 
def _skewnessErr_ (self)
 
def _kurtosis_ (self)
 
def _kurtosisErr_ (self)
 
def _nEff_ (self)
 
def _mean_ (self)
 
def _meanErr_ (self)
 
def _rms_ (self)
 
def _rmsErr_ (self)
 
def _sumBinHeightErr_ (self)
 
def _sumAllBinHeightErr_ (self)
 
def _overflowEntriesFrac_ (self)
 
def _overflowEntriesFracErr_ (self)
 
def _underflowEntriesFrac_ (self)
 
def _underflowEntriesFracErr_ (self)
 
def _overflowIntegralFrac_ (self)
 
def _overflowIntegralFracErr_ (self)
 
def _underflowIntegralFrac_ (self)
 
def _underflowIntegralFracErr_ (self)
 
def _nEntries_ (self, i1, i2=-10000000)
 
def _nEntriesFrac_ (self, i1, i2=-10000000)
 
def _nEntriesFracErr_ (self, i1, i2=-10000000)
 
def _path_ (self)
 
def __dumpHisto__ (histo, args)
 

Variables

string __author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu"
 
tuple __all__
 
 HID = cpp.GaudiAlg.ID
 
bool useROOT = False
 global flag More...
 
 aida2root = cpp.Gaudi.Utils.Aida2ROOT.aida2root
 
 __repr__
 
 __str__
 
 HistoStats = cpp.Gaudi.Utils.HistoStats
 
 i1DH = cpp.AIDA.IHistogram1D
 
 moment
 
 momentErr
 
 centralMoment
 
 centralMomentErr
 
 nEff
 
 mean
 
 meanErr
 
 rms
 
 rmsErr
 
 skewness
 
 skewnessErr
 
 kurtosis
 
 kurtosisErr
 
 overflowEntriesFrac
 
 overflowEntriesFracErr
 
 underflowEntriesFrac
 
 underflowEntriesFracErr
 
 overflowIntegralFrac
 
 overflowIntegralFracErr
 
 underflowIntegralFrac
 
 underflowIntegralFracErr
 
 nEntries
 
 nEntriesFrac
 
 nEntriesFracErr
 
 iBH = cpp.AIDA.IBaseHistogram
 
 path
 
 TESpath
 
 location
 
 __doc__
 
 histoDump = __dumpHisto__
 
 dumpHisto = __dumpHisto__
 

Function Documentation

def GaudiPython.HistoUtils.__dumpHisto__ (   histo,
  args 
)
Dump the histogram/profile in text format (a'la HBOOK)

>>> histo
>>> print dumpHisto ( histo )

>>> print histo.dump()
>>> print histo.dump( 20 , 20 )
>>> print histo.dump( 20 , 20 , True )

Uses:

Definition at line 903 of file HistoUtils.py.

903 def __dumpHisto__(histo, *args):
904  """
905 
906  Dump the histogram/profile in text format (a'la HBOOK)
907 
908  >>> histo
909  >>> print dumpHisto ( histo )
910 
911  >>> print histo.dump()
912  >>> print histo.dump( 20 , 20 )
913  >>> print histo.dump( 20 , 20 , True )
914 
915  Uses:
916 
917  """
918  return cpp.Gaudi.Utils.Histos.histoDump(histo, *args)
919 
920 
def __dumpHisto__(histo, args)
Definition: HistoUtils.py:903
def GaudiPython.HistoUtils._centralMoment_ (   self,
  order 
)
private
Evaluate 'bin-by-bin' central momentum (around mean value)
for 1D histogram

>>> h1 = ...
>>> print h1.centralMoment ( 5 )

Definition at line 547 of file HistoUtils.py.

547 def _centralMoment_(self, order):
548  """
549  Evaluate 'bin-by-bin' central momentum (around mean value)
550  for 1D histogram
551 
552  >>> h1 = ...
553  >>> print h1.centralMoment ( 5 )
554 
555  """
556  return HistoStats.centralMoment(self, order)
557 
558 # =============================================================================
559 # Evaluate error in 'bin-by-bin' momentum of certain order around the value
560 
561 
def _centralMoment_(self, order)
Definition: HistoUtils.py:547
def GaudiPython.HistoUtils._centralMomentErr_ (   self,
  order 
)
private
Evaluate error for 'bin-by-bin' central momentum (around mean value)
for 1D histogram

>>> h1 = ...
>>> print h1.centralMomentErr ( 5 )

Definition at line 562 of file HistoUtils.py.

562 def _centralMomentErr_(self, order):
563  """
564  Evaluate error for 'bin-by-bin' central momentum (around mean value)
565  for 1D histogram
566 
567  >>> h1 = ...
568  >>> print h1.centralMomentErr ( 5 )
569 
570  """
571  return HistoStats.centralMomentErr(self, order)
572 
573 # =============================================================================
574 # Evaluate 'bin-by-bin' skewness for 1D histogram
575 
576 
def _centralMomentErr_(self, order)
Definition: HistoUtils.py:562
def GaudiPython.HistoUtils._getAppMgr (   kwargs)
private
Helper private auxiliary function to get Application Manager

Definition at line 56 of file HistoUtils.py.

56 def _getAppMgr(**kwargs):
57  """
58  Helper private auxiliary function to get Application Manager
59  """
60  gaudi = kwargs.get('gaudi', None)
61  if not gaudi:
62  gaudi = AppMgr()
63  if not gaudi:
64  raise RuntimeError, 'Unable to get valid ApplicationMgr'
65 
66  state = gaudi._isvc.FSMState()
67  if state < cpp.Gaudi.StateMachine.CONFIGURED:
68  gaudi.config()
69  state = gaudi._isvc.FSMState()
70  if state < cpp.Gaudi.StateMachine.INITIALIZED:
71  gaudi.initialize()
72 
73  return gaudi # RETURN
74 
75 # =============================================================================
76 # Helper private auxiliary function to get iHistogramSvs
77 
78 
def _getAppMgr(kwargs)
Definition: HistoUtils.py:56
def GaudiPython.HistoUtils._getEvtSvc (   kwargs)
private
Helper private auxiliary function to get iDataSvs

Definition at line 95 of file HistoUtils.py.

95 def _getEvtSvc(**kwargs):
96  """
97  Helper private auxiliary function to get iDataSvs
98  """
99  svc = kwargs.get('service', None)
100  if not svc:
101  svc = kwargs.get('svc', None)
102  else:
103  return svc # RETURN
104  gaudi = _getAppMgr(**kwargs)
105  return gaudi.evtsvc() # RETURN
106 
107 # =============================================================================
108 # The trivial function to book the various 1D,2D&3D-histograms
109 
110 
def _getEvtSvc(kwargs)
Definition: HistoUtils.py:95
def _getAppMgr(kwargs)
Definition: HistoUtils.py:56
def GaudiPython.HistoUtils._getHistoSvc (   kwargs)
private
Helper private auxiliary function to get iHistogramSvs

Definition at line 79 of file HistoUtils.py.

79 def _getHistoSvc(**kwargs):
80  """
81  Helper private auxiliary function to get iHistogramSvs
82  """
83  svc = kwargs.get('service', None)
84  if not svc:
85  svc = kwargs.get('svc', None)
86  else:
87  return svc # RETURN
88  gaudi = _getAppMgr(**kwargs)
89  return gaudi.histsvc() # RETURN
90 
91 # =============================================================================
92 # Helper private auxiliary function to get iDataSvs
93 
94 
def _getHistoSvc(kwargs)
Definition: HistoUtils.py:79
def _getAppMgr(kwargs)
Definition: HistoUtils.py:56
def GaudiPython.HistoUtils._kurtosis_ (   self)
private
Evaluate 'bin-by-bin' kurtosis

>>> h1 = ...
>>> print h1.kurtosis ()

Definition at line 605 of file HistoUtils.py.

605 def _kurtosis_(self):
606  """
607  Evaluate 'bin-by-bin' kurtosis
608 
609  >>> h1 = ...
610  >>> print h1.kurtosis ()
611 
612  """
613  return HistoStats.kurtosis(self)
614 
615 # =============================================================================
616 # Evaluate error for 'bin-by-bin' kurtosis for 1D histogram
617 
618 
def GaudiPython.HistoUtils._kurtosisErr_ (   self)
private
Evaluate error for 'bin-by-bin' kurtotis for 1D AIDA histogram

>>> h1 = ...
>>> print h1.kurtotisErr()

Definition at line 619 of file HistoUtils.py.

619 def _kurtosisErr_(self):
620  """
621  Evaluate error for 'bin-by-bin' kurtotis for 1D AIDA histogram
622 
623  >>> h1 = ...
624  >>> print h1.kurtotisErr()
625 
626  """
627  return HistoStats.kurtosisErr(self)
628 
629 # =============================================================================
630 
631 
def GaudiPython.HistoUtils._mean_ (   self)
private
Evaluate the MEAN value

Definition at line 640 of file HistoUtils.py.

640 def _mean_(self):
641  """
642  Evaluate the MEAN value
643  """
644  return HistoStats.mean(self)
645 # =============================================================================
646 
647 
def GaudiPython.HistoUtils._meanErr_ (   self)
private
Evaluate the error for MEAN estimate

Definition at line 648 of file HistoUtils.py.

648 def _meanErr_(self):
649  """
650  Evaluate the error for MEAN estimate
651  """
652  return HistoStats.meanErr(self)
653 
654 # =============================================================================
655 
656 
def GaudiPython.HistoUtils._moment_ (   self,
  order,
  value = 0 
)
private
Evaluate 'bin-by-bin' momentum of order 'order' around the value 'value'
for 1D histogram

>>> h1 = ...
>>> print h1.moment ( 5 )

Definition at line 518 of file HistoUtils.py.

518 def _moment_(self, order, value=0):
519  """
520  Evaluate 'bin-by-bin' momentum of order 'order' around the value 'value'
521  for 1D histogram
522 
523  >>> h1 = ...
524  >>> print h1.moment ( 5 )
525 
526  """
527  return HistoStats.moment(self, order, value)
528 
529 # =============================================================================
530 # Evaluate error in 'bin-by-bin' momentum of certain order around the value
531 
532 
def _moment_(self, order, value=0)
Definition: HistoUtils.py:518
def GaudiPython.HistoUtils._momentErr_ (   self,
  order 
)
private
Evaluate error for 'bin-by-bin' momentum of order 'order' around the value 'value'
for 1D histogram

>>> h1 = ...
>>> print h1.momentErr ( 5 )

Definition at line 533 of file HistoUtils.py.

533 def _momentErr_(self, order):
534  """
535  Evaluate error for 'bin-by-bin' momentum of order 'order' around the value 'value'
536  for 1D histogram
537 
538  >>> h1 = ...
539  >>> print h1.momentErr ( 5 )
540 
541  """
542  return HistoStats.momentErr(self, order)
543 # =============================================================================
544 # Evaluate 'bin-by-bin' central momentum (around mean value)
545 
546 
def _momentErr_(self, order)
Definition: HistoUtils.py:533
def GaudiPython.HistoUtils._nEff_ (   self)
private
Number of equivalent entries

Definition at line 632 of file HistoUtils.py.

632 def _nEff_(self):
633  """
634  Number of equivalent entries
635  """
636  return HistoStats.nEff(self)
637 # =============================================================================
638 
639 
def GaudiPython.HistoUtils._nEntries_ (   self,
  i1,
  i2 = -10000000 
)
private
Get number of entries in histogram up to  the certain bin (not-included)

attention: underflow bin is included!

>>> h1
>>> print h1.nEntries ( 10 )

Get number of entries in histogram form the certain
minimal bin up to the certain maximal bin (not-included)

>>> h1
>>> print h1.nEntries ( 10 , 15 )

Definition at line 759 of file HistoUtils.py.

759 def _nEntries_(self, i1, i2=-10000000):
760  """
761  Get number of entries in histogram up to the certain bin (not-included)
762 
763  attention: underflow bin is included!
764 
765  >>> h1
766  >>> print h1.nEntries ( 10 )
767 
768  Get number of entries in histogram form the certain
769  minimal bin up to the certain maximal bin (not-included)
770 
771  >>> h1
772  >>> print h1.nEntries ( 10 , 15 )
773 
774  """
775  if i2 < i1 or i2 < 0:
776  return HistoStats.nEntries(self, i1)
777  return HistoStats.nEntries(self, i1, i2)
778 # =============================================================================
779 
780 
def _nEntries_(self, i1, i2=-10000000)
Definition: HistoUtils.py:759
def GaudiPython.HistoUtils._nEntriesFrac_ (   self,
  i1,
  i2 = -10000000 
)
private
Get the fraction of entries in histogram up to  the certain bin (not-included)

attention: underflow bin is included!

>>> h1
>>> print h1.nEntriesFrac ( 10 )

Get the fraction of entries in histogram form the certain
minimal bin up to the certain maximal bin (not-included)

>>> h1
>>> print h1.nEntriesFrac ( 10 , 15 )

Definition at line 781 of file HistoUtils.py.

781 def _nEntriesFrac_(self, i1, i2=-10000000):
782  """
783  Get the fraction of entries in histogram up to the certain bin (not-included)
784 
785  attention: underflow bin is included!
786 
787  >>> h1
788  >>> print h1.nEntriesFrac ( 10 )
789 
790  Get the fraction of entries in histogram form the certain
791  minimal bin up to the certain maximal bin (not-included)
792 
793  >>> h1
794  >>> print h1.nEntriesFrac ( 10 , 15 )
795 
796  """
797  if i2 < i1 or i2 < 0:
798  return HistoStats.nEntriesFrac(self, i1)
799  return HistoStats.nEntriesFrac(self, i1, i2)
800 # =============================================================================
801 
802 
def _nEntriesFrac_(self, i1, i2=-10000000)
Definition: HistoUtils.py:781
def GaudiPython.HistoUtils._nEntriesFracErr_ (   self,
  i1,
  i2 = -10000000 
)
private
Get error for  fraction of entries in histogram up to  the certain bin (not-included)

attention: underflow bin is included!

>>> h1
>>> print h1.nEntriesFracErr( 10 )

Get error  fraction of entries in histogram form the certain
minimal bin up to the certain maximal bin (not-included)

>>> h1
>>> print h1.nEntriesFracErr ( 10 , 15 )

Definition at line 803 of file HistoUtils.py.

803 def _nEntriesFracErr_(self, i1, i2=-10000000):
804  """
805  Get error for fraction of entries in histogram up to the certain bin (not-included)
806 
807  attention: underflow bin is included!
808 
809  >>> h1
810  >>> print h1.nEntriesFracErr( 10 )
811 
812  Get error fraction of entries in histogram form the certain
813  minimal bin up to the certain maximal bin (not-included)
814 
815  >>> h1
816  >>> print h1.nEntriesFracErr ( 10 , 15 )
817 
818  """
819  if i2 < i1 or i2 < 0:
820  return HistoStats.nEntriesFracErr(self, i1)
821  return HistoStats.nEntriesFracErr(self, i1, i2)
822 
823 
824 # =============================================================================
def _nEntriesFracErr_(self, i1, i2=-10000000)
Definition: HistoUtils.py:803
def GaudiPython.HistoUtils._overflowEntriesFrac_ (   self)
private
The fraction of overflow entries  (useful for shape comparison)

Definition at line 690 of file HistoUtils.py.

691  """
692  The fraction of overflow entries (useful for shape comparison)
693  """
694  return HistoStats.overflowEntriesFrac(self)
695 # =============================================================================
696 
697 
def _overflowEntriesFrac_(self)
Definition: HistoUtils.py:690
def GaudiPython.HistoUtils._overflowEntriesFracErr_ (   self)
private
The error for fraction of overflow entries  (useful for shape comparison)

Definition at line 698 of file HistoUtils.py.

699  """
700  The error for fraction of overflow entries (useful for shape comparison)
701  """
702  return HistoStats.overflowEntriesFracErr(self)
703 # =============================================================================
704 
705 
def _overflowEntriesFracErr_(self)
Definition: HistoUtils.py:698
def GaudiPython.HistoUtils._overflowIntegralFrac_ (   self)
private
The fraction of overflow integral  (useful for shape comparison)

Definition at line 723 of file HistoUtils.py.

724  """
725  The fraction of overflow integral (useful for shape comparison)
726  """
727  return HistoStats.overflowIntegralFrac(self)
728 # =============================================================================
729 
730 
def _overflowIntegralFrac_(self)
Definition: HistoUtils.py:723
def GaudiPython.HistoUtils._overflowIntegralFracErr_ (   self)
private
The error for fraction of overflow integral  (useful for shape comparison)

Definition at line 731 of file HistoUtils.py.

732  """
733  The error for fraction of overflow integral (useful for shape comparison)
734  """
735  return HistoStats.overflowIntegralFracErr(self)
736 # =============================================================================
737 
738 
def _overflowIntegralFracErr_(self)
Definition: HistoUtils.py:731
def GaudiPython.HistoUtils._path_ (   self)
private
Get the path in THS for the given AIDA object:

>>> aida =
>>> print aida.path()

Definition at line 882 of file HistoUtils.py.

882 def _path_(self):
883  """
884  Get the path in THS for the given AIDA object:
885 
886  >>> aida =
887  >>> print aida.path()
888 
889  """
890  return cpp.Gaudi.Utils.Histos.path(self)
891 
892 
def GaudiPython.HistoUtils._rms_ (   self)
private
Evaluate the RMS for AIDA histogram

Definition at line 657 of file HistoUtils.py.

657 def _rms_(self):
658  """
659  Evaluate the RMS for AIDA histogram
660  """
661  return HistoStats.rms(self)
662 # =============================================================================
663 
664 
def GaudiPython.HistoUtils._rmsErr_ (   self)
private
Evaluate the error for RMS estimate

Definition at line 665 of file HistoUtils.py.

665 def _rmsErr_(self):
666  """
667  Evaluate the error for RMS estimate
668  """
669  return HistoStats.rmsErr(self)
670 
671 # =============================================================================
672 
673 
def GaudiPython.HistoUtils._skewness_ (   self)
private
Evaluate 'bin-by-bin' skewness for 1D AIDA histogram

>>> h1 = ...
>>> print h1.skewness()

Definition at line 577 of file HistoUtils.py.

577 def _skewness_(self):
578  """
579  Evaluate 'bin-by-bin' skewness for 1D AIDA histogram
580 
581  >>> h1 = ...
582  >>> print h1.skewness()
583 
584  """
585  return HistoStats.skewness(self)
586 
587 # =============================================================================
588 # Evaluate error for 'bin-by-bin' skewness for 1D histogram
589 
590 
def GaudiPython.HistoUtils._skewnessErr_ (   self)
private
Evaluate error for 'bin-by-bin' skewness

>>> h1 = ...
>>> print h1.skewnessErr()

Definition at line 591 of file HistoUtils.py.

591 def _skewnessErr_(self):
592  """
593  Evaluate error for 'bin-by-bin' skewness
594 
595  >>> h1 = ...
596  >>> print h1.skewnessErr()
597 
598  """
599  return HistoStats.skewnessErr(self)
600 
601 # =============================================================================
602 # Evaluate 'bin-by-bin' kurtosis for 1D histogram
603 
604 
def GaudiPython.HistoUtils._sumAllBinHeightErr_ (   self)
private
Get an error in the sum bin height ('in-range integral') 

Definition at line 683 of file HistoUtils.py.

684  """ Get an error in the sum bin height ('in-range integral') """
685  return HistoStats.sumAllBinHeightErr(self)
686 
687 # =============================================================================
688 
689 
def _sumAllBinHeightErr_(self)
Definition: HistoUtils.py:683
def GaudiPython.HistoUtils._sumBinHeightErr_ (   self)
private
Get an error in the sum bin height ('in-range integral')

Definition at line 674 of file HistoUtils.py.

675  """
676  Get an error in the sum bin height ('in-range integral')
677  """
678  return HistoStats.sumBinHeightErr(self)
679 
680 # =============================================================================
681 
682 
def _sumBinHeightErr_(self)
Definition: HistoUtils.py:674
def GaudiPython.HistoUtils._to_root_ (   self)
private
Convert AIDA to ROOT

>>> aida = ...            ## get AIDA histogram
>>> root = aida.toROOT()  ## convert it to ROOT

Definition at line 481 of file HistoUtils.py.

481 def _to_root_(self):
482  """
483  Convert AIDA to ROOT
484 
485  >>> aida = ... ## get AIDA histogram
486  >>> root = aida.toROOT() ## convert it to ROOT
487 
488  """
489  return aida2root(self)
490 
491 
def GaudiPython.HistoUtils._underflowEntriesFrac_ (   self)
private
The fraction of underflow entries  (useful for shape comparison)

Definition at line 706 of file HistoUtils.py.

707  """
708  The fraction of underflow entries (useful for shape comparison)
709  """
710  return HistoStats.underflowEntriesFrac(self)
711 # =============================================================================
712 
713 
def _underflowEntriesFrac_(self)
Definition: HistoUtils.py:706
def GaudiPython.HistoUtils._underflowEntriesFracErr_ (   self)
private
The error for fraction of underflow entries  (useful for shape comparison)

Definition at line 714 of file HistoUtils.py.

715  """
716  The error for fraction of underflow entries (useful for shape comparison)
717  """
718  return HistoStats.underflowEntriesFracErr(self)
719 
720 # =============================================================================
721 
722 
def _underflowEntriesFracErr_(self)
Definition: HistoUtils.py:714
def GaudiPython.HistoUtils._underflowIntegralFrac_ (   self)
private
The fraction of underflow integral  (useful for shape comparison)

Definition at line 739 of file HistoUtils.py.

740  """
741  The fraction of underflow integral (useful for shape comparison)
742  """
743  return HistoStats.underflowIntegralFrac(self)
744 # =============================================================================
745 
746 
def _underflowIntegralFrac_(self)
Definition: HistoUtils.py:739
def GaudiPython.HistoUtils._underflowIntegralFracErr_ (   self)
private
The error for fraction of underflow integral (useful for shape comparison)

Definition at line 747 of file HistoUtils.py.

748  """
749  The error for fraction of underflow integral (useful for shape comparison)
750  """
751  return HistoStats.underflowIntegralFracErr(self)
752 
753 # =============================================================================
754 # get number of entries in histogram up to the certain bin (not-included)
755 # get number of entries in histogram form the certain
756 # minimal bin up to the certain maximal bin (not-included)
757 
758 
def _underflowIntegralFracErr_(self)
Definition: HistoUtils.py:747
def GaudiPython.HistoUtils.book (   args,
  kwargs 
)
The trivial function to book the various 1D,2D&3D-histograms

(1) book the trivial 1D histogram with full path

>>> h1D = book ( 'path/to/my/histo'       , ## path in Histogram Transient Store
                 'cosine of decay angle ' , ## histogram title
                  100                     , ## number of bins
                  -1                      , ## low edge
                  100                     ) ## high edge

(2) book the trivial 1D histogram with directory path and string ID :

>>> h1D = book ( 'path/to/directory'      , ## the path to directory in HTS
                 'H1'                     , ## string histogram identifier
                 'cosine of decay angle ' , ## histogram title
                  100                     , ## number of bins
                  -1                      , ## low edge
                  100                     ) ## high edge

(3) book the trivial 1D histogram with directory path and integer ID :

>>> h1D = book ( 'path/to/directory'      , ## the path to directory in HTS
                 124                      , ## integer histogram identifier
                 'cosine of decay angle ' , ## histogram title
                  100                     , ## number of bins
                  -1                      , ## low edge
                  100                     ) ## high edge

(4) book the trivial 2D histogram with full path

>>> h1D = book ( 'path/to/my/histo'       , ## path in Histogram Transient Store
                 'm12**2 versus m13**2'   , ## histogram title
                  50                      , ## number of X-bins
                  1.0                     , ## low X-edge
                  4.0                     , ## high X-edge
                  50                      , ## number of Y-bins
                  1                       , ## low Y-edge
                  2                       ) ## high Y-edge

(5) book the trivial 2D histogram with directory path and literal ID

>>> h1D = book ( 'path/to/directory'      , ## path in Histogram Transient Store
                 'Dalitz1'                , ## literal histogram identifier
                 'm12**2 versus m13**2'   , ## histogram title
                  50                      , ## number of X-bins
                  1.0                     , ## low X-edge
                  4.0                     , ## high X-edge
                  50                      , ## number of Y-bins
                  1                       , ## low Y-edge
                  2                       ) ## high Y-edge

(6) book the trivial 2D histogram with directory path and integer ID

>>> h1D = book ( 'path/to/directory'      , ## path in Histogram Transient Store
                 854                      , ## integer histogram identifier
                 'm12**2 versus m13**2'   , ## histogram title
                  50                      , ## number of X-bins
                  1.0                     , ## low X-edge
                  4.0                     , ## high X-edge
                  50                      , ## number of Y-bins
                  1.0                     , ## low Y-edge
                  4.0                     ) ## high Y-edge

(7) book the trivial 3D histogram with full path

>>> h1D = book ( 'path/to/my/histo'       , ## path in Histogram Transient Store
                 'x vs y vs z '           , ## histogram title
                  10                      , ## number of X-bins
                  -1.0                    , ## low X-edge
                  1.0                     , ## high X-edge
                  10                      , ## number of Y-bins
                  -1.0                    , ## low Y-edge
                  1.0                     , ## high Y-edge
                  10                      , ## number of Z-bins
                  -1.0                    , ## low Z-edge
                  1.0                     ) ## high Z-edge

(8) book the trivial 3D histogram with directory path and literal ID

>>> h1D = book ( 'path/to/directory'      , ## path in Histogram Transient Store
                 'xyz'                    , ## literal histogram identifier
                 'x vs y vs z'            , ## histogram title
                  10                      , ## number of X-bins
                  -1.0                    , ## low X-edge
                  1.0                     , ## high X-edge
                  10                      , ## number of Y-bins
                  -1.0                    , ## low Y-edge
                  1.0                     , ## high Y-edge
                  10                      , ## number of Z-bins
                  -1.0                    , ## low Z-edge
                  1.0                     ) ## high Z-edge

(9) book the trivial 3D histogram with directory path and integer ID

>>> h1D = book ( 'path/to/directory'      , ## path in Histogram Transient Store
                 888                      , ## integer histogram identifier
                 'x vs y vs z'            , ## histogram title
                  10                      , ## number of X-bins
                  -1.0                    , ## low X-edge
                  1.0                     , ## high X-edge
                  10                      , ## number of Y-bins
                  -1.0                    , ## low Y-edge
                  1.0                     , ## high Y-edge
                  10                      , ## number of Z-bins
                  -1.0                    , ## low Z-edge
                  1.0                     ) ## high Z-edge

Many other booking methods are available,
e.g. for the histograms with non-equidistant bins, see IHistogamSvc::book

Definition at line 111 of file HistoUtils.py.

111 def book(*args, **kwargs):
112  """
113  The trivial function to book the various 1D,2D&3D-histograms
114 
115  (1) book the trivial 1D histogram with full path
116 
117  >>> h1D = book ( 'path/to/my/histo' , ## path in Histogram Transient Store
118  'cosine of decay angle ' , ## histogram title
119  100 , ## number of bins
120  -1 , ## low edge
121  100 ) ## high edge
122 
123  (2) book the trivial 1D histogram with directory path and string ID :
124 
125  >>> h1D = book ( 'path/to/directory' , ## the path to directory in HTS
126  'H1' , ## string histogram identifier
127  'cosine of decay angle ' , ## histogram title
128  100 , ## number of bins
129  -1 , ## low edge
130  100 ) ## high edge
131 
132  (3) book the trivial 1D histogram with directory path and integer ID :
133 
134  >>> h1D = book ( 'path/to/directory' , ## the path to directory in HTS
135  124 , ## integer histogram identifier
136  'cosine of decay angle ' , ## histogram title
137  100 , ## number of bins
138  -1 , ## low edge
139  100 ) ## high edge
140 
141  (4) book the trivial 2D histogram with full path
142 
143  >>> h1D = book ( 'path/to/my/histo' , ## path in Histogram Transient Store
144  'm12**2 versus m13**2' , ## histogram title
145  50 , ## number of X-bins
146  1.0 , ## low X-edge
147  4.0 , ## high X-edge
148  50 , ## number of Y-bins
149  1 , ## low Y-edge
150  2 ) ## high Y-edge
151 
152  (5) book the trivial 2D histogram with directory path and literal ID
153 
154  >>> h1D = book ( 'path/to/directory' , ## path in Histogram Transient Store
155  'Dalitz1' , ## literal histogram identifier
156  'm12**2 versus m13**2' , ## histogram title
157  50 , ## number of X-bins
158  1.0 , ## low X-edge
159  4.0 , ## high X-edge
160  50 , ## number of Y-bins
161  1 , ## low Y-edge
162  2 ) ## high Y-edge
163 
164  (6) book the trivial 2D histogram with directory path and integer ID
165 
166  >>> h1D = book ( 'path/to/directory' , ## path in Histogram Transient Store
167  854 , ## integer histogram identifier
168  'm12**2 versus m13**2' , ## histogram title
169  50 , ## number of X-bins
170  1.0 , ## low X-edge
171  4.0 , ## high X-edge
172  50 , ## number of Y-bins
173  1.0 , ## low Y-edge
174  4.0 ) ## high Y-edge
175 
176  (7) book the trivial 3D histogram with full path
177 
178  >>> h1D = book ( 'path/to/my/histo' , ## path in Histogram Transient Store
179  'x vs y vs z ' , ## histogram title
180  10 , ## number of X-bins
181  -1.0 , ## low X-edge
182  1.0 , ## high X-edge
183  10 , ## number of Y-bins
184  -1.0 , ## low Y-edge
185  1.0 , ## high Y-edge
186  10 , ## number of Z-bins
187  -1.0 , ## low Z-edge
188  1.0 ) ## high Z-edge
189 
190  (8) book the trivial 3D histogram with directory path and literal ID
191 
192  >>> h1D = book ( 'path/to/directory' , ## path in Histogram Transient Store
193  'xyz' , ## literal histogram identifier
194  'x vs y vs z' , ## histogram title
195  10 , ## number of X-bins
196  -1.0 , ## low X-edge
197  1.0 , ## high X-edge
198  10 , ## number of Y-bins
199  -1.0 , ## low Y-edge
200  1.0 , ## high Y-edge
201  10 , ## number of Z-bins
202  -1.0 , ## low Z-edge
203  1.0 ) ## high Z-edge
204 
205  (9) book the trivial 3D histogram with directory path and integer ID
206 
207  >>> h1D = book ( 'path/to/directory' , ## path in Histogram Transient Store
208  888 , ## integer histogram identifier
209  'x vs y vs z' , ## histogram title
210  10 , ## number of X-bins
211  -1.0 , ## low X-edge
212  1.0 , ## high X-edge
213  10 , ## number of Y-bins
214  -1.0 , ## low Y-edge
215  1.0 , ## high Y-edge
216  10 , ## number of Z-bins
217  -1.0 , ## low Z-edge
218  1.0 ) ## high Z-edge
219 
220  Many other booking methods are available,
221  e.g. for the histograms with non-equidistant bins, see IHistogamSvc::book
222 
223  """
224  if useROOT or kwargs.get('useROOT', False) or not kwargs.get('useAIDA', True):
225  from ROOT import TH1D
226  a0 = args[0]
227  a1 = args[1]
228  a2 = args[2]
229  if not str is type(a1):
230  a1 = 'h' + str(a1)
231  if str is type(a2):
232  return TH1D(a0 + a1, a2, *args[3:])
233  else:
234  return TH1D(a0, a1, *args[2:])
235 
236  svc = _getHistoSvc(**kwargs)
237  if not svc:
238  raise RuntimeError, 'Unable to get valid HistogramService '
239  # book the histogram using the service
240  return svc.book(*args) # RETURN
241 
242 
243 book.__doc__ += '\n\n' + '\thelp(iHistogramSvc.book) : \n\n' \
244  + iHistogramSvc.book . __doc__
245 book.__doc__ += '\n\n' + '\thelp(IHistogramSvc::book) : \n\n' \
246  + cpp.IHistogramSvc.book . __doc__
247 
248 # =============================================================================
249 # The trivial function to book 1D&2D profile histograms:
250 
251 
def _getHistoSvc(kwargs)
Definition: HistoUtils.py:79
def book(args, kwargs)
Definition: HistoUtils.py:111
def GaudiPython.HistoUtils.bookProf (   args,
  kwargs 
)
The trivial function to book 1D&2D profile histograms:

(1) book 1D-profile histogram with full path in Histogram Transient Store:
>>> histo = bookProf ( 'path/to/my/profile'  , ## path in Histogram Transient Store
                       'Energy Correction'   , ## the histogram title
                       100                   , ## number of X-bins
                       0.0                   , ## low X-edge
                       100                   ) ## high X-edge

(2) book 1D-profile histogram with directory path and literal ID
>>> histo = bookProf ( 'path/to/my/profile'  , ## path in Histogram Transient Store
                       'Calibration'         , ## the histogram literal identifier
                       'Energy Correction'   , ## the histogram title
                       100                   , ## number of X-bins
                       0.0                   , ## low X-edge
                       100                   ) ## high X-edge

(3) book 1D-profile histogram with directory path and integer  ID
>>> histo = bookProf ( 'path/to/my/profile'  , ## path in Histogram Transient Store
                       418                   , ## the histogram integer identifier
                       'Energy Correction'   , ## the histogram title
                       100                   , ## number of X-bins
                       0.0                   , ## low X-edge
                       100                   ) ## high X-edge

(4) book 2D-profile histogram with full path in Histogram Transient Store:
>>> histo = bookProf ( 'path/to/my/profile'  , ## path in Histogram Transient Store
                       'Energy Correction'   , ## the histogram title
                       50                    , ## number of X-bins
                       0.0                   , ## low X-edge
                       100                   , ## high X-edge
                       50                    , ## number of Y-bins
                       0.0                   , ## low Y-edge
                       100                   ) ## high Y-edge

(5) book 2D-profile histogram with directory path and literal ID
>>> histo = bookProf ( 'path/to/my/profile'  , ## path in Histogram Transient Store
                       'Calibration'         , ## the histogram literal identifier
                       'Energy Correction'   , ## the histogram title
                       50                    , ## number of X-bins
                       0.0                   , ## low X-edge
                       100                   , ## high X-edge
                       50                    , ## number of Y-bins
                       0.0                   , ## low Y-edge
                       100                   ) ## high Y-edge

(6) book 2D-profile histogram with directory path and integer  ID
>>> histo = bookProf ( 'path/to/my/profile'  , ## path in Histogram Transient Store
                       418                   , ## the histogram integer identifier
                       'Energy Correction'   , ## the histogram title
                       50                    , ## number of X-bins
                       0.0                   , ## low X-edge
                       100                   , ## high X-edge
                       50                    , ## number of Y-bins
                       0.0                   , ## low Y-edge
                       100                   ) ## high Y-edge

Many other booking methods are available,
e.g. for the histograms with non-equidistant bins, see IHistogamSvc::book

Definition at line 252 of file HistoUtils.py.

252 def bookProf(*args, **kwargs):
253  """
254 
255  The trivial function to book 1D&2D profile histograms:
256 
257  (1) book 1D-profile histogram with full path in Histogram Transient Store:
258  >>> histo = bookProf ( 'path/to/my/profile' , ## path in Histogram Transient Store
259  'Energy Correction' , ## the histogram title
260  100 , ## number of X-bins
261  0.0 , ## low X-edge
262  100 ) ## high X-edge
263 
264  (2) book 1D-profile histogram with directory path and literal ID
265  >>> histo = bookProf ( 'path/to/my/profile' , ## path in Histogram Transient Store
266  'Calibration' , ## the histogram literal identifier
267  'Energy Correction' , ## the histogram title
268  100 , ## number of X-bins
269  0.0 , ## low X-edge
270  100 ) ## high X-edge
271 
272  (3) book 1D-profile histogram with directory path and integer ID
273  >>> histo = bookProf ( 'path/to/my/profile' , ## path in Histogram Transient Store
274  418 , ## the histogram integer identifier
275  'Energy Correction' , ## the histogram title
276  100 , ## number of X-bins
277  0.0 , ## low X-edge
278  100 ) ## high X-edge
279 
280  (4) book 2D-profile histogram with full path in Histogram Transient Store:
281  >>> histo = bookProf ( 'path/to/my/profile' , ## path in Histogram Transient Store
282  'Energy Correction' , ## the histogram title
283  50 , ## number of X-bins
284  0.0 , ## low X-edge
285  100 , ## high X-edge
286  50 , ## number of Y-bins
287  0.0 , ## low Y-edge
288  100 ) ## high Y-edge
289 
290  (5) book 2D-profile histogram with directory path and literal ID
291  >>> histo = bookProf ( 'path/to/my/profile' , ## path in Histogram Transient Store
292  'Calibration' , ## the histogram literal identifier
293  'Energy Correction' , ## the histogram title
294  50 , ## number of X-bins
295  0.0 , ## low X-edge
296  100 , ## high X-edge
297  50 , ## number of Y-bins
298  0.0 , ## low Y-edge
299  100 ) ## high Y-edge
300 
301  (6) book 2D-profile histogram with directory path and integer ID
302  >>> histo = bookProf ( 'path/to/my/profile' , ## path in Histogram Transient Store
303  418 , ## the histogram integer identifier
304  'Energy Correction' , ## the histogram title
305  50 , ## number of X-bins
306  0.0 , ## low X-edge
307  100 , ## high X-edge
308  50 , ## number of Y-bins
309  0.0 , ## low Y-edge
310  100 ) ## high Y-edge
311 
312  Many other booking methods are available,
313  e.g. for the histograms with non-equidistant bins, see IHistogamSvc::book
314 
315  """
316  svc = _getHistoSvc(**kwargs)
317  if not svc:
318  raise RuntimeError, 'Unable to get valid HistogramService '
319  # book the histogram using the service
320  return svc.bookProf(*args) # RETURN
321 
322 
323 bookProf.__doc__ += '\n\n' + '\thelp(iHistogramSvc.bookProf) : \n\n' \
324  + iHistogramSvc.bookProf . __doc__
325 bookProf.__doc__ += '\n\n' + '\thelp(IHistogramSvc::bookProf) : \n\n' \
326  + cpp.IHistogramSvc.bookProf . __doc__
327 
328 # =============================================================================
329 # The most trivial function to retrieve the histogram from Histogram Transient Store
330 
331 
def _getHistoSvc(kwargs)
Definition: HistoUtils.py:79
def bookProf(args, kwargs)
Definition: HistoUtils.py:252
def GaudiPython.HistoUtils.fill (   histo,
  data,
  fun = lambda x: x,
  cut = lambda x: True,
  kwargs 
)
The function which allows 'the smart fill' of 1D-histogram

>>> histo = ...

The most trivial case, fill with the value
>>> fill ( histo , 1.0 )

Fill from any iterable object (sequence)
>>> fill ( histo , [1,,2,3,4,5,10] )

Fill from iterable object and apply the function:
>>> fill ( histo , [1,2,3,4,5] , math.sin )

Use lambda form:
>>> fill ( histo , [1,2,3,4,5] , lambda x : x*x )

The same
>>> fill ( histo , [1,2,3,4,5] , fun = lambda x : x*x )

Use internal attributes:
>>> tracks = evtSvc['Rec/Track/Best']    ## iterable container of tracks
>>> fill ( histo , tracks , lambda t : t.pt() )

Apply the predicate: fill only even numbers:
>>> fill ( histo , [1,2,3,4,5,6,7] , lambda x : x , lambda y : y%2 )

The same (omit the trivial function) :
>>> fill ( histo , [1,2,3,4,5,6,7] , cut = lambda y : y%2 )

Apply the predicate: fill only pt for positively charged tracks:
>>> tracks = evtSvc['Rec/Track/Best']
>>> fill ( histo , tracks , lambda t : t.pt() , lambda t : 0<t.charge() )

The same:
>>> fill ( histo , tracks ,
           fun = lambda t : t.pt()       ,
           cut = lambda t : 0<t.charge() )

Ordinary functions are also fine:
>>> def myfun ( track ) : return sin( track.pt() + track.p() )
>>> def mycut ( track ) : return track.p() > 100 * GeV
>>> fill ( histo , tracks , myfun , mycut )

The 'data' could be the address in TES, in this case the object
is retrieved from TES and the method is applied to the objects,
retrieved from TES:
>>> fill (  histo             , ## the reference to the histogram
           'Rec/Track/Best'   , ## the location of objects in TES
            lambda t : t.pt() ) ## function to be used for histogram fill
>>> fill (  histo             , ## the reference to the histogram
           'Rec/Track/Best'   , ## the address of objects in TES
            lambda t : t.pt() , ## the function to be used for histogram fill
            lambda t : t.charge()>0 ) ## the criteria to select tracks

The arguments 'fun' and 'cut' could be strings, in this case
they are evaluated by python before usage.
This option could be often very useful.

Definition at line 383 of file HistoUtils.py.

383  **kwargs): # optional extra arguments
384  """
385 
386  The function which allows 'the smart fill' of 1D-histogram
387 
388  >>> histo = ...
389 
390  The most trivial case, fill with the value
391  >>> fill ( histo , 1.0 )
392 
393  Fill from any iterable object (sequence)
394  >>> fill ( histo , [1,,2,3,4,5,10] )
395 
396  Fill from iterable object and apply the function:
397  >>> fill ( histo , [1,2,3,4,5] , math.sin )
398 
399  Use lambda form:
400  >>> fill ( histo , [1,2,3,4,5] , lambda x : x*x )
401 
402  The same
403  >>> fill ( histo , [1,2,3,4,5] , fun = lambda x : x*x )
404 
405  Use internal attributes:
406  >>> tracks = evtSvc['Rec/Track/Best'] ## iterable container of tracks
407  >>> fill ( histo , tracks , lambda t : t.pt() )
408 
409  Apply the predicate: fill only even numbers:
410  >>> fill ( histo , [1,2,3,4,5,6,7] , lambda x : x , lambda y : y%2 )
411 
412  The same (omit the trivial function) :
413  >>> fill ( histo , [1,2,3,4,5,6,7] , cut = lambda y : y%2 )
414 
415  Apply the predicate: fill only pt for positively charged tracks:
416  >>> tracks = evtSvc['Rec/Track/Best']
417  >>> fill ( histo , tracks , lambda t : t.pt() , lambda t : 0<t.charge() )
418 
419  The same:
420  >>> fill ( histo , tracks ,
421  fun = lambda t : t.pt() ,
422  cut = lambda t : 0<t.charge() )
423 
424  Ordinary functions are also fine:
425  >>> def myfun ( track ) : return sin( track.pt() + track.p() )
426  >>> def mycut ( track ) : return track.p() > 100 * GeV
427  >>> fill ( histo , tracks , myfun , mycut )
428 
429  The 'data' could be the address in TES, in this case the object
430  is retrieved from TES and the method is applied to the objects,
431  retrieved from TES:
432  >>> fill ( histo , ## the reference to the histogram
433  'Rec/Track/Best' , ## the location of objects in TES
434  lambda t : t.pt() ) ## function to be used for histogram fill
435  >>> fill ( histo , ## the reference to the histogram
436  'Rec/Track/Best' , ## the address of objects in TES
437  lambda t : t.pt() , ## the function to be used for histogram fill
438  lambda t : t.charge()>0 ) ## the criteria to select tracks
439 
440  The arguments 'fun' and 'cut' could be strings, in this case
441  they are evaluated by python before usage.
442  This option could be often very useful.
443 
444  """
445 
446  # if value is a string, try to get the objects from TES
447  if type(data) == str:
448  svc = _getEvtSvc(**kwargs)
449  data = svc[data]
450  return fill(histo, data, fun, cut, **kwargs)
451 
452  # if the function is a string: evaluate it!
453  if type(fun) == str:
454  fun = eval(fun, globals())
455 
456  # if the criterion is a string: evaluate it!
457  if type(cut) == str:
458  cut = eval(cut, globals())
459 
460  if not hasattr(data, '__iter__'):
461  data = [data]
462 
463  if not hasattr(histo, 'fill') and hasattr(histo, 'Fill'):
464  setattr(histo, 'fill', getattr(histo, 'Fill'))
465 
466  for item in data:
467  if not cut(item):
468  continue # CONTINUE
469  histo.fill(fun(item))
470 
471  return histo # RETURN
472 
473 
474 # =============================================================================
475 # AIDA -> ROOT converter
double fun(const std::vector< double > &x)
Definition: PFuncTest.cpp:26
def fill(histo, data, fun=lambda x:x, cut=lambda x:True, kwargs)
Definition: HistoUtils.py:383
def _getEvtSvc(kwargs)
Definition: HistoUtils.py:95
def GaudiPython.HistoUtils.getAsAIDA (   path,
  kwargs 
)
The most trivial function to retrieve the histogram from Histogram Transient Store
The histogram is returned by reference to its AIDA-representation (if possible)

>>> h = getAsAIDA ( 'some/path/to/my/histogram' )

Definition at line 332 of file HistoUtils.py.

332 def getAsAIDA(path, **kwargs):
333  """
334 
335  The most trivial function to retrieve the histogram from Histogram Transient Store
336  The histogram is returned by reference to its AIDA-representation (if possible)
337 
338  >>> h = getAsAIDA ( 'some/path/to/my/histogram' )
339 
340  """
341  svc = _getHistoSvc(**kwargs)
342  if not svc:
343  raise RuntimeError, 'Unable to get valid HistogramService '
344  # return the histogram
345  return svc.getAsAIDA(path) # RETURN
346 
347 
348 getAsAIDA.__doc__ += '\n\n' + '\thelp(iHistogramSvc.getAsAIDA) : \n\n' \
349  + iHistogramSvc.getAsAIDA . __doc__
350 getAsAIDA.__doc__ += '\n\n' + '\thelp(iHistogramSvc.retrieve) : \n\n' \
351  + iHistogramSvc.retrieve . __doc__
352 
353 # =============================================================================
354 # The most trivial function to retrieve the histogram from Histogram Transient Store
355 
356 
def _getHistoSvc(kwargs)
Definition: HistoUtils.py:79
def getAsAIDA(path, kwargs)
Definition: HistoUtils.py:332
def GaudiPython.HistoUtils.getAsROOT (   path,
  kwargs 
)
The most trivial function to retrieve the histogram from Histogram Transient Store
The histogram is returned by reference to its underlying native ROOT-representation (if possible)

>>> h = getAsROOT ( 'some/path/to/my/histogram' )

Definition at line 357 of file HistoUtils.py.

357 def getAsROOT(path, **kwargs):
358  """
359 
360  The most trivial function to retrieve the histogram from Histogram Transient Store
361  The histogram is returned by reference to its underlying native ROOT-representation (if possible)
362 
363  >>> h = getAsROOT ( 'some/path/to/my/histogram' )
364 
365  """
366  svc = _getHistoSvc(**kwargs)
367  if not svc:
368  raise RuntimeError, 'Unable to get valid HistogramService '
369  # return the histogram
370  return svc.getAsROOT(path) # RETURN
371 
372 
373 getAsROOT.__doc__ += '\n\n' + '\thelp(iHistogramSvc.getAsROOT) : \n\n' \
374  + iHistogramSvc.getAsROOT . __doc__
375 
376 
377 # =============================================================================
378 # The function which allows 'the smart fill' of 1D-histogram
def _getHistoSvc(kwargs)
Definition: HistoUtils.py:79
def getAsROOT(path, kwargs)
Definition: HistoUtils.py:357

Variable Documentation

tuple GaudiPython.HistoUtils.__all__
private
Initial value:
1 = (
2  'book', # book AIDA histogram using Histogram Service
3  'bookProf', # book AIDA profile histogram using Histogram Service
4  'getAsAIDA', # get the histogram form Histogram Service as AIDA histogram
5  'getAsROOT', # get the histogram form Histogram Service as AIDA histogram
6  'fill', # "power-fill" method for filling of histograms
7  'aida2root', # AIDA -> ROOT converter
8  'HistoStats', # statistical information for 1D-histograms
9  'HistoFile', # class for storing histograms to a file
10  'histoDump', # dump histogramintext format a'la HBOOK 'dumpHisto' # dump histogramintext format a'la HBOOK
11 )

Definition at line 29 of file HistoUtils.py.

string GaudiPython.HistoUtils.__author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu"
private

Definition at line 27 of file HistoUtils.py.

GaudiPython.HistoUtils.__doc__
private

Definition at line 921 of file HistoUtils.py.

GaudiPython.HistoUtils.__repr__
private

Definition at line 507 of file HistoUtils.py.

GaudiPython.HistoUtils.__str__
private

Definition at line 509 of file HistoUtils.py.

GaudiPython.HistoUtils.aida2root = cpp.Gaudi.Utils.Aida2ROOT.aida2root

Definition at line 476 of file HistoUtils.py.

GaudiPython.HistoUtils.centralMoment

Definition at line 832 of file HistoUtils.py.

GaudiPython.HistoUtils.centralMomentErr

Definition at line 834 of file HistoUtils.py.

GaudiPython.HistoUtils.dumpHisto = __dumpHisto__

Definition at line 926 of file HistoUtils.py.

GaudiPython.HistoUtils.HID = cpp.GaudiAlg.ID

Definition at line 47 of file HistoUtils.py.

GaudiPython.HistoUtils.histoDump = __dumpHisto__

Definition at line 925 of file HistoUtils.py.

GaudiPython.HistoUtils.HistoStats = cpp.Gaudi.Utils.HistoStats

Definition at line 512 of file HistoUtils.py.

GaudiPython.HistoUtils.i1DH = cpp.AIDA.IHistogram1D

Definition at line 825 of file HistoUtils.py.

GaudiPython.HistoUtils.iBH = cpp.AIDA.IBaseHistogram

Definition at line 893 of file HistoUtils.py.

GaudiPython.HistoUtils.kurtosis

Definition at line 850 of file HistoUtils.py.

GaudiPython.HistoUtils.kurtosisErr

Definition at line 852 of file HistoUtils.py.

GaudiPython.HistoUtils.location

Definition at line 899 of file HistoUtils.py.

GaudiPython.HistoUtils.mean

Definition at line 838 of file HistoUtils.py.

GaudiPython.HistoUtils.meanErr

Definition at line 840 of file HistoUtils.py.

GaudiPython.HistoUtils.moment

Definition at line 828 of file HistoUtils.py.

GaudiPython.HistoUtils.momentErr

Definition at line 830 of file HistoUtils.py.

GaudiPython.HistoUtils.nEff

Definition at line 836 of file HistoUtils.py.

GaudiPython.HistoUtils.nEntries

Definition at line 873 of file HistoUtils.py.

GaudiPython.HistoUtils.nEntriesFrac

Definition at line 875 of file HistoUtils.py.

GaudiPython.HistoUtils.nEntriesFracErr

Definition at line 877 of file HistoUtils.py.

GaudiPython.HistoUtils.overflowEntriesFrac

Definition at line 855 of file HistoUtils.py.

GaudiPython.HistoUtils.overflowEntriesFracErr

Definition at line 857 of file HistoUtils.py.

GaudiPython.HistoUtils.overflowIntegralFrac

Definition at line 864 of file HistoUtils.py.

GaudiPython.HistoUtils.overflowIntegralFracErr

Definition at line 866 of file HistoUtils.py.

GaudiPython.HistoUtils.path

Definition at line 895 of file HistoUtils.py.

GaudiPython.HistoUtils.rms

Definition at line 842 of file HistoUtils.py.

GaudiPython.HistoUtils.rmsErr

Definition at line 844 of file HistoUtils.py.

GaudiPython.HistoUtils.skewness

Definition at line 846 of file HistoUtils.py.

GaudiPython.HistoUtils.skewnessErr

Definition at line 848 of file HistoUtils.py.

GaudiPython.HistoUtils.TESpath

Definition at line 897 of file HistoUtils.py.

GaudiPython.HistoUtils.underflowEntriesFrac

Definition at line 859 of file HistoUtils.py.

GaudiPython.HistoUtils.underflowEntriesFracErr

Definition at line 861 of file HistoUtils.py.

GaudiPython.HistoUtils.underflowIntegralFrac

Definition at line 868 of file HistoUtils.py.

GaudiPython.HistoUtils.underflowIntegralFracErr

Definition at line 870 of file HistoUtils.py.

bool GaudiPython.HistoUtils.useROOT = False

global flag

Definition at line 50 of file HistoUtils.py.