The Gaudi Framework  master (594c33fa)
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 selectOnlyStore (self)
 
def selectStore (self, n)
 
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 786 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from GaudiPython.Bindings.iDataSvc.

Definition at line 790 of file Bindings.py.

790  def __init__(self, name, ints):
791  self.__dict__["_ints"] = InterfaceCast(gbl.INTupleSvc)(ints)
792  iDataSvc.__init__(self, name, ints)
793 

Member Function Documentation

◆ __getitem__()

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

Reimplemented from GaudiPython.Bindings.iDataSvc.

Definition at line 810 of file Bindings.py.

810  def __getitem__(self, path):
811  return iDataSvc.__getitem__(self, path)
812 
813 
814 # ----iToolSvc class-----------------------------------------------------------

◆ book()

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

Definition at line 794 of file Bindings.py.

794  def book(self, *args):
795  return self._ints.book(*args)
796 

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

797  def defineOutput(self, files, typ="Gaudi::RootCnvSvc"):
798  """Defines the mapping between logical names and the output file
799  Usage:
800  defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')
801  """
802  from . import Persistency as prs
803 
804  helper = prs.get(typ)
805  helper.configure(AppMgr())
806  self.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]
807  if AppMgr().HistogramPersistency == "NONE":
808  AppMgr().HistogramPersistency = "ROOT"
809 

Member Data Documentation

◆ ColumnWiseTuple

GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple
static

Definition at line 788 of file Bindings.py.

◆ Output

GaudiPython.Bindings.iNTupleSvc.Output

Definition at line 806 of file Bindings.py.

◆ RowWiseTuple

GaudiPython.Bindings.iNTupleSvc.RowWiseTuple
static

Definition at line 787 of file Bindings.py.


The documentation for this class was generated from the following file:
GaudiPartProp.Service.AppMgr
AppMgr
Definition: Service.py:41
GaudiPython.Pythonizations.__getitem__
__getitem__
Definition: Pythonizations.py:141
GaudiAlg.HistoUtils.book
def book(*args, **kwargs)
Definition: HistoUtils.py:126
GaudiPartProp.Service.InterfaceCast
InterfaceCast
Definition: Service.py:40