The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
GaudiPython.Bindings.iNTupleSvc Class Reference
Inheritance diagram for GaudiPython.Bindings.iNTupleSvc:
Collaboration diagram for GaudiPython.Bindings.iNTupleSvc:

Public Member Functions

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

Public Attributes

list Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]

Static Public Attributes

int RowWiseTuple = 42
int ColumnWiseTuple = 43

Additional Inherited Members

Protected Attributes inherited from GaudiPython.Bindings.iDataSvc
 _idp
 _idm
 _ihwb
Protected Attributes inherited from GaudiPython.Bindings.iService
 _isvc
Protected Attributes inherited from GaudiPython.Bindings.iProperty
 _ip
 _svcloc
 _name

Detailed Description

Definition at line 800 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 804 of file Bindings.py.

804 def __init__(self, name, ints):
805 self.__dict__["_ints"] = InterfaceCast(gbl.INTupleSvc)(ints)
806 iDataSvc.__init__(self, name, ints)
807

Member Function Documentation

◆ __getitem__()

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

Definition at line 824 of file Bindings.py.

824 def __getitem__(self, path):
825 return iDataSvc.__getitem__(self, path)
826
827
828# ----iToolSvc class-----------------------------------------------------------

◆ book()

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

Definition at line 808 of file Bindings.py.

808 def book(self, *args):
809 return self._ints.book(*args)
810

◆ defineOutput()

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 811 of file Bindings.py.

811 def defineOutput(self, files, typ="Gaudi::RootCnvSvc"):
812 """Defines the mapping between logical names and the output file
813 Usage:
814 defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')
815 """
816 from . import Persistency as prs
817
818 helper = prs.get(typ)
819 helper.configure(AppMgr())
820 self.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]
821 if AppMgr().HistogramPersistency == "NONE":
822 AppMgr().HistogramPersistency = "ROOT"
823

Member Data Documentation

◆ ColumnWiseTuple

int GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple = 43
static

Definition at line 802 of file Bindings.py.

◆ Output

list GaudiPython.Bindings.iNTupleSvc.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]

Definition at line 820 of file Bindings.py.

◆ RowWiseTuple

int GaudiPython.Bindings.iNTupleSvc.RowWiseTuple = 42
static

Definition at line 801 of file Bindings.py.


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