The Gaudi Framework  v37r0 (b608885e)
GaudiPython.Bindings.iNTupleSvc Class Reference
Inheritance diagram for GaudiPython.Bindings.iNTupleSvc:
Collaboration diagram for GaudiPython.Bindings.iNTupleSvc:

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=cppyy.nullptr)
 
def dump (self, node=cppyy.nullptr)
 
def getList (self, node=cppyy.nullptr, lst=[], rootFID=None)
 
def getHistoNames (self, node=cppyy.nullptr, 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

 RowWiseTuple
 
 ColumnWiseTuple
 

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

792  def __getitem__(self, path):
793  return iDataSvc.__getitem__(self, path)
794 
795 
796 # ----iToolSvc class-----------------------------------------------------------

◆ 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 

◆ 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  from . import Persistency as prs
785 
786  helper = prs.get(typ)
787  helper.configure(AppMgr())
788  self.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]
789  if AppMgr().HistogramPersistency == "NONE":
790  AppMgr().HistogramPersistency = "ROOT"
791 

Member Data Documentation

◆ ColumnWiseTuple

GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple
static

Definition at line 770 of file Bindings.py.

◆ Output

GaudiPython.Bindings.iNTupleSvc.Output

Definition at line 788 of file Bindings.py.

◆ RowWiseTuple

GaudiPython.Bindings.iNTupleSvc.RowWiseTuple
static

Definition at line 769 of file Bindings.py.


The documentation for this class was generated from the following file:
GaudiPython.Pythonizations.__getitem__
__getitem__
Definition: Pythonizations.py:144
GaudiAlg.HistoUtils.book
def book(*args, **kwargs)
Definition: HistoUtils.py:127