| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GaudiPython.Bindings.iNTupleSvc Class Reference
Inheritance diagram for GaudiPython.Bindings.iNTupleSvc:
[legend]
Collaboration diagram for GaudiPython.Bindings.iNTupleSvc:
[legend]

## Public Member Functions
def | __init__ (self, name, ints)
def | book (self, *args)
def | defineOutput (self, files, typ="Gaudi::RootCnvSvc")
def | __getitem__ (self, path)
Public Member Functions inherited from GaudiPython.Bindings.iDataSvc
def | registerObject (self, path, obj)
def | unregisterObject (self, path)
def | retrieveObject (self, path)
def | findObject (self, path)
def | getObject (self, path, *args)
def | __setitem__ (self, path, obj)
def | __delitem__ (self, path)
def | leaves (self, node=None)
def | dump (self, node=None)
def | getList (self, node=None, lst=[], rootFID=None)
def | getHistoNames (self, node=None, lst=[])
def | setRoot (self, name, obj)
def | clearStore (self)
Public Member Functions inherited from GaudiPython.Bindings.iService
def | retrieveInterface (self)
def | initialize (self)
def | start (self)
def | stop (self)
def | finalize (self)
def | reinitialize (self)
def | restart (self)
def | isValid (self)
Public Member Functions inherited from GaudiPython.Bindings.iProperty
def | getInterface (self)
def | __call_interface_method__ (self, ifname, method, *args)
def | __setattr__ (self, name, value)
def | __getattr__ (self, name)
def | properties (self)
def | name (self)

## Public Attributes
| Output

## Static Public Attributes
int | RowWiseTuple = 42
int | ColumnWiseTuple = 43

## Detailed Description

Definition at line 768 of file Bindings.py.

## Constructor & Destructor Documentation

## ◆ __init__()

def GaudiPython.Bindings.iNTupleSvc.__init__ | ( |  | self,
|  |  | name,
|  |  | ints
| ) |  |

Reimplemented from GaudiPython.Bindings.iDataSvc.

Definition at line 772 of file Bindings.py.

772 def __init__(self, name, ints):
773 self.__dict__['_ints'] = InterfaceCast(gbl.INTupleSvc)(ints)
774 iDataSvc.__init__(self, name, ints)
775

## Member Function Documentation

## ◆ __getitem__()

def GaudiPython.Bindings.iNTupleSvc.__getitem__ | ( |  | self,
|  |  | path
| ) |  |

Reimplemented from GaudiPython.Bindings.iDataSvc.

Definition at line 793 of file Bindings.py.

793 def __getitem__(self, path):
794 return iDataSvc.__getitem__(self, path)
795
796
797 # ----iToolSvc class-----------------------------------------------------------
GaudiPython.Pythonizations.__getitem__
__getitem__
Definition: Pythonizations.py:115

## ◆ book()

def GaudiPython.Bindings.iNTupleSvc.book | ( |  | self,
|  | * | args
| ) |  |

Definition at line 776 of file Bindings.py.

776 def book(self, *args):
777 return self._ints.book(*args)
778
Gaudi::Histos::book
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
Definition: HistoDef.cpp:87

## ◆ defineOutput()

def GaudiPython.Bindings.iNTupleSvc.defineOutput | ( |  | self,
|  |  | files,
|  |  | typ = `"Gaudi::RootCnvSvc"`
| ) |  |

    Defines the mapping between logical names and the output file
        Usage:
          defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')

Definition at line 779 of file Bindings.py.

779 def defineOutput(self, files, typ="Gaudi::RootCnvSvc"):
780 """ Defines the mapping between logical names and the output file
781 Usage:
782 defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')
783 """
784 import Persistency as prs
785 helper = prs.get(typ)
786 helper.configure(AppMgr())
787 self.Output = [
788 helper.formatOutput(files[lun], lun=lun) for lun in files
789 ]
790 if AppMgr().HistogramPersistency == 'NONE':
791 AppMgr().HistogramPersistency = "ROOT"
792

## Member Data Documentation

## ◆ ColumnWiseTuple

int GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple = 43
| static

Definition at line 770 of file Bindings.py.

## ◆ Output

GaudiPython.Bindings.iNTupleSvc.Output

Definition at line 787 of file Bindings.py.

## ◆ RowWiseTuple

int GaudiPython.Bindings.iNTupleSvc.RowWiseTuple = 42
| static

Definition at line 769 of file Bindings.py.

The documentation for this class was generated from the following file:

- GaudiPython/python/GaudiPython/Bindings.py