Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 2013
 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 516 of file Bindings.py.

Constructor & Destructor Documentation

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

Definition at line 519 of file Bindings.py.

520  def __init__(self, name, ints) :
521  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 535 of file Bindings.py.

536  def __getitem__ ( self, path ) :
537  return iDataSvc.__getitem__( self , path )
538 
539 
#----iToolSvc class---------------------------------------------------------------------
def GaudiPython.Bindings.iNTupleSvc.book (   self,
  args 
)

Definition at line 522 of file Bindings.py.

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

525  def defineOutput(self, files, typ="Gaudi::RootCnvSvc"):
526  """ Defines the mapping between logical names and the output file
527  Usage:
528  defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')
529  """
530  import Persistency as prs
531  helper = prs.get(typ)
532  helper.configure(AppMgr())
533  self.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]
534  if AppMgr().HistogramPersistency == 'NONE':
AppMgr().HistogramPersistency = "ROOT"

Member Data Documentation

int GaudiPython.Bindings.iNTupleSvc.ColumnWiseTuple 43
static

Definition at line 518 of file Bindings.py.

GaudiPython.Bindings.iNTupleSvc.Output

Definition at line 532 of file Bindings.py.

int GaudiPython.Bindings.iNTupleSvc.RowWiseTuple 42
static

Definition at line 517 of file Bindings.py.


The documentation for this class was generated from the following file:
Generated at Wed Dec 4 2013 14:33:22 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004