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
 
def __getitem__ (self, path)
 
def __init__ (self, name, ints)
 
def book (self, args)
 
def defineOutput
 
def __getitem__ (self, path)
 
- Public Member Functions inherited from GaudiPython.Bindings.iDataSvc
def __init__ (self, name, idp)
 
def registerObject (self, path, obj)
 
def unregisterObject (self, path)
 
def retrieveObject (self, path)
 
def findObject (self, path)
 get object from TES More...
 
def getObject (self, path, args)
 get or retrieve object, possible switch-off 'on-demand' actions More...
 
def __getitem__ (self, path)
 
def __setitem__ (self, path, obj)
 
def __delitem__ (self, path)
 
def leaves
 
def dump
 
def getList
 
def getHistoNames
 
def setRoot (self, name, obj)
 
def clearStore (self)
 
def __init__ (self, name, idp)
 
def registerObject (self, path, obj)
 
def unregisterObject (self, path)
 
def retrieveObject (self, path)
 
def findObject (self, path)
 get object from TES More...
 
def getObject (self, path, args)
 get or retrieve object, possible switch-off 'on-demand' actions More...
 
def __getitem__ (self, path)
 
def __setitem__ (self, path, obj)
 
def __delitem__ (self, path)
 
def leaves
 
def dump
 
def getList
 
def getHistoNames
 
def setRoot (self, name, obj)
 
def clearStore (self)
 
- Public Member Functions inherited from GaudiPython.Bindings.iService
def __init__
 
def retrieveInterface (self)
 
def isValid (self)
 
def __init__
 
def retrieveInterface (self)
 
def isValid (self)
 
- Public Member Functions inherited from GaudiPython.Bindings.iProperty
def __init__
 
def getInterface (self)
 
def retrieveInterface (self)
 
def __call_interface_method__ (self, ifname, method, args)
 
def __setattr__ (self, name, value)
 
def __getattr__ (self, name)
 
def properties (self)
 
def name (self)
 
def __init__
 
def getInterface (self)
 
def retrieveInterface (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
 
- Static Public Attributes inherited from GaudiPython.Bindings.iService
tuple initialize = lambdaself:self.__call_interface_method__("_isvc","initialize")
 
tuple start = lambdaself:self.__call_interface_method__("_isvc","start")
 
tuple stop = lambdaself:self.__call_interface_method__("_isvc","stop")
 
tuple finalize = lambdaself:self.__call_interface_method__("_isvc","finalize")
 
tuple reinitialize = lambdaself:self.__call_interface_method__("_isvc","reinitialize")
 
tuple restart = lambdaself:self.__call_interface_method__("_isvc","restart")
 

Detailed Description

Definition at line 542 of file Bindings.py.

Constructor & Destructor Documentation

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

Definition at line 545 of file Bindings.py.

545  def __init__(self, name, ints) :
546  self.__dict__['_ints'] = InterfaceCast(gbl.INTupleSvc)(ints)
547  iDataSvc.__init__(self, name, ints)
def __init__(self, name, ints)
Definition: Bindings.py:545
def GaudiPython.Bindings.iNTupleSvc.__init__ (   self,
  name,
  ints 
)

Definition at line 545 of file Bindings.py.

545  def __init__(self, name, ints) :
546  self.__dict__['_ints'] = InterfaceCast(gbl.INTupleSvc)(ints)
547  iDataSvc.__init__(self, name, ints)
def __init__(self, name, ints)
Definition: Bindings.py:545

Member Function Documentation

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

Definition at line 561 of file Bindings.py.

561  def __getitem__ ( self, path ) :
562  return iDataSvc.__getitem__( self , path )
563 
564 
565 #----iToolSvc class---------------------------------------------------------------------
def __getitem__(self, path)
Definition: Bindings.py:561
def GaudiPython.Bindings.iNTupleSvc.__getitem__ (   self,
  path 
)

Definition at line 561 of file Bindings.py.

561  def __getitem__ ( self, path ) :
562  return iDataSvc.__getitem__( self , path )
563 
564 
565 #----iToolSvc class---------------------------------------------------------------------
def __getitem__(self, path)
Definition: Bindings.py:561
def GaudiPython.Bindings.iNTupleSvc.book (   self,
  args 
)

Definition at line 548 of file Bindings.py.

548  def book(self, *args) :
549  return apply(self._ints.book, args)
def GaudiPython.Bindings.iNTupleSvc.book (   self,
  args 
)

Definition at line 548 of file Bindings.py.

548  def book(self, *args) :
549  return apply(self._ints.book, args)
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 550 of file Bindings.py.

550  def defineOutput(self, files, typ="Gaudi::RootCnvSvc"):
551  """ Defines the mapping between logical names and the output file
552  Usage:
553  defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')
554  """
555  import Persistency as prs
556  helper = prs.get(typ)
557  helper.configure(AppMgr())
558  self.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]
559  if AppMgr().HistogramPersistency == 'NONE':
560  AppMgr().HistogramPersistency = "ROOT"
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 550 of file Bindings.py.

550  def defineOutput(self, files, typ="Gaudi::RootCnvSvc"):
551  """ Defines the mapping between logical names and the output file
552  Usage:
553  defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')
554  """
555  import Persistency as prs
556  helper = prs.get(typ)
557  helper.configure(AppMgr())
558  self.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]
559  if AppMgr().HistogramPersistency == 'NONE':
560  AppMgr().HistogramPersistency = "ROOT"

Member Data Documentation

int GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple = 43
static

Definition at line 544 of file Bindings.py.

GaudiPython.Bindings.iNTupleSvc.Output

Definition at line 558 of file Bindings.py.

int GaudiPython.Bindings.iNTupleSvc.RowWiseTuple = 42
static

Definition at line 543 of file Bindings.py.


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