|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |


Public Member Functions | |
| def | __init__ |
| def | retrieve1D |
| def | retrieve2D |
| def | retrieve3D |
| def | retrieveProfile1D |
| def | retrieveProfile2D |
| def | retrieve |
| def | book |
| def | bookProf |
| def | __getitem__ |
| def | getAsAIDA |
| def | getAsROOT |
Definition at line 447 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::__init__ | ( | self, | |
| name, | |||
| ihs | |||
| ) |
Reimplemented from GaudiPython::Bindings::iDataSvc.
Definition at line 448 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::__getitem__ | ( | self, | |
| path | |||
| ) |
Retrieve the object from Histogram Transient Store (by path) The reference to AIDA histogram is returned (if possible) >>> svc = ... >>> histo = svc['path/to/my/histogram']
Reimplemented from GaudiPython::Bindings::iDataSvc.
Definition at line 487 of file Bindings.py.
00488 : 00489 """ 00490 Retrieve the object from Histogram Transient Store (by path) 00491 The reference to AIDA histogram is returned (if possible) 00492 >>> svc = ... 00493 >>> histo = svc['path/to/my/histogram'] 00494 """ 00495 h = self.retrieve ( path ) 00496 if h : return h return iDataSvc.__getitem__( self , path )
| def GaudiPython::Bindings::iHistogramSvc::book | ( | self, | |
| args | |||
| ) |
Book the histograms(1D,2D&3D) , see IHistogramSvc::book >>> svc = ... >>> histo = svc.book( .... )
Definition at line 473 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::bookProf | ( | self, | |
| args | |||
| ) |
Book the profile(1D&2D) histograms, see IHistogramSvc::bookProf >>> svc = ... >>> histo = svc.bookProf( .... )
Definition at line 480 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::getAsAIDA | ( | self, | |
| path | |||
| ) |
Retrieve the histogram from Histogram Transient Store (by path) The reference to AIDA histogram is returned (if possible) >>> svc = ... >>> histo = svc.getAsAIDA ( 'path/to/my/histogram' )
Definition at line 497 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::getAsROOT | ( | self, | |
| path | |||
| ) |
Retrieve the histogram from Histogram Transient Store (by path) The Underlying native ROOT object is returned (if possible) >>> svc = ... >>> histo = svc.getAsROOT ( 'path/to/my/histogram' )
Definition at line 505 of file Bindings.py.
00506 : 00507 """ 00508 Retrieve the histogram from Histogram Transient Store (by path) 00509 The Underlying native ROOT object is returned (if possible) 00510 >>> svc = ... 00511 >>> histo = svc.getAsROOT ( 'path/to/my/histogram' ) 00512 """ 00513 fun=gbl.Gaudi.Utils.Aida2ROOT.aida2root 00514 return fun( self.getAsAIDA( path ) ) 00515 #----iNTupleSvc class---------------------------------------------------------------------
| def GaudiPython::Bindings::iHistogramSvc::retrieve | ( | self, | |
| path | |||
| ) |
Retrieve AIDA histogram or AIDA profile histogram by path in Histogram Transient Store >>> svc = ... >>> histo = svc.retrieve ( 'path/to/my/histogram' )
Definition at line 461 of file Bindings.py.
00462 : 00463 """ 00464 Retrieve AIDA histogram or AIDA profile histogram by path in Histogram Transient Store 00465 >>> svc = ... 00466 >>> histo = svc.retrieve ( 'path/to/my/histogram' ) 00467 """ 00468 h = self.retrieve1D(path) 00469 if not h : h = self.retrieve2D(path) 00470 if not h : h = self.retrieve3D(path) 00471 if not h : h = self.retrieveProfile1D(path) 00472 if not h : h = self.retrieveProfile2D(path) return h
| def GaudiPython::Bindings::iHistogramSvc::retrieve1D | ( | self, | |
| path | |||
| ) |
Definition at line 451 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::retrieve2D | ( | self, | |
| path | |||
| ) |
Definition at line 453 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::retrieve3D | ( | self, | |
| path | |||
| ) |
Definition at line 455 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::retrieveProfile1D | ( | self, | |
| path | |||
| ) |
Definition at line 457 of file Bindings.py.
| def GaudiPython::Bindings::iHistogramSvc::retrieveProfile2D | ( | self, | |
| path | |||
| ) |
Definition at line 459 of file Bindings.py.