The Gaudi Framework  v36r6 (b1ee9983)
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

int RowWiseTuple = 42
 
int ColumnWiseTuple = 43
 

Detailed Description

Definition at line 772 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from GaudiPython.Bindings.iDataSvc.

Definition at line 776 of file Bindings.py.

776  def __init__(self, name, ints):
777  self.__dict__["_ints"] = InterfaceCast(gbl.INTupleSvc)(ints)
778  iDataSvc.__init__(self, name, ints)
779 

Member Function Documentation

◆ __getitem__()

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

Reimplemented from GaudiPython.Bindings.iDataSvc.

Definition at line 796 of file Bindings.py.

796  def __getitem__(self, path):
797  return iDataSvc.__getitem__(self, path)
798 
799 
800 # ----iToolSvc class-----------------------------------------------------------

◆ book()

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

Definition at line 780 of file Bindings.py.

780  def book(self, *args):
781  return self._ints.book(*args)
782 

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

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

Member Data Documentation

◆ ColumnWiseTuple

int GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple = 43
static

Definition at line 774 of file Bindings.py.

◆ Output

GaudiPython.Bindings.iNTupleSvc.Output

Definition at line 792 of file Bindings.py.

◆ RowWiseTuple

int GaudiPython.Bindings.iNTupleSvc.RowWiseTuple = 42
static

Definition at line 773 of file Bindings.py.


The documentation for this class was generated from the following file:
GaudiPython.Pythonizations.__getitem__
__getitem__
Definition: Pythonizations.py:144
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:97