Gaudi Framework, version v25r2

Home   Generated: Wed Jun 4 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GaudiPython.Bindings.iNTupleSvc Class Reference
Inheritance diagram for GaudiPython.Bindings.iNTupleSvc:
Inheritance graph
[legend]
Collaboration diagram for GaudiPython.Bindings.iNTupleSvc:
Collaboration graph
[legend]

Public Member Functions

def __init__
 
def book
 
def defineOutput
 
def __getitem__
 
- Public Member Functions inherited from GaudiPython.Bindings.iDataSvc
def __init__
 
def registerObject
 
def unregisterObject
 
def retrieveObject
 
def findObject
 get object from TES
 
def getObject
 get or retrieve object, possible switch-off 'on-demand' actions
 
def __getitem__
 
def __setitem__
 
def __delitem__
 
def leaves
 
def dump
 
def getList
 
def getHistoNames
 
def setRoot
 
def clearStore
 
- Public Member Functions inherited from GaudiPython.Bindings.iService
def __init__
 
def retrieveInterface
 
def isValid
 
- Public Member Functions inherited from GaudiPython.Bindings.iProperty
def __init__
 
def getInterface
 
def retrieveInterface
 
def __call_interface_method__
 
def __setattr__
 
def __getattr__
 
def properties
 
def name
 

Public Attributes

 Output
 

Static Public Attributes

int RowWiseTuple 42
 
int ColumnWiseTuple 43
 

Detailed Description

Definition at line 543 of file Bindings.py.

Constructor & Destructor Documentation

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

Definition at line 546 of file Bindings.py.

547  def __init__(self, name, ints) :
548  self.__dict__['_ints'] = InterfaceCast(gbl.INTupleSvc)(ints)
iDataSvc.__init__(self, name, ints)

Member Function Documentation

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

Definition at line 562 of file Bindings.py.

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

Definition at line 549 of file Bindings.py.

550  def book(self, *args) :
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 551 of file Bindings.py.

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

Member Data Documentation

int GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple 43
static

Definition at line 545 of file Bindings.py.

GaudiPython.Bindings.iNTupleSvc.Output

Definition at line 559 of file Bindings.py.

int GaudiPython.Bindings.iNTupleSvc.RowWiseTuple 42
static

Definition at line 544 of file Bindings.py.


The documentation for this class was generated from the following file:
Generated at Wed Jun 4 2014 14:49:06 for Gaudi Framework, version v25r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004