| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# GaudiPython::Bindings::iNTupleSvc Class Reference

Inheritance diagram for GaudiPython::Bindings::iNTupleSvc:

[legend]
Collaboration diagram for GaudiPython::Bindings::iNTupleSvc:

[legend]

List of all members.

## Public Member Functions
def | __init__
def | book
def | defineOutput
def | __getitem__
## Public Attributes
| Output
## Static Public Attributes
int | RowWiseTuple = 42
int | ColumnWiseTuple = 43

## Detailed Description

Definition at line 516 of file Bindings.py.

## Member Function Documentation

def GaudiPython::Bindings::iNTupleSvc::__init__ | ( |  | self,
|  |  | name,
|  |  | ints |
| ) |  |  |

Reimplemented from GaudiPython::Bindings::iDataSvc.

Definition at line 519 of file Bindings.py.

    00519                                    :
    00520         self.__dict__['_ints'] = InterfaceCast(gbl.INTupleSvc)(ints)
    00521         iDataSvc.__init__(self, name, ints)
        def book(self, *args) :

def GaudiPython::Bindings::iNTupleSvc::book | ( |  | self,
|  |  | args |
| ) |  |  |

Definition at line 522 of file Bindings.py.

    00522                           :
    00523         return apply(self._ints.book, args)
        def defineOutput(self, files, typ='ROOT') :

def GaudiPython::Bindings::iNTupleSvc::defineOutput | ( |  | self,
|  |  | files,
|  |  | typ = `'ROOT'` |
| ) |  |  |

    Defines dthe mapping between logical names and the output file
        Usage:
          defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, typ='ROOT')

Definition at line 524 of file Bindings.py.

    00524                                               :
    00525         """ Defines dthe mapping between logical names and the output file
    00526             Usage:
    00527               defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, typ='ROOT')
    00528         """
    00529         out = []
    00530         for o in files :
    00531             out.append( "%s DATAFILE='%s' OPT='RECREATE' TYP='%s'" % ( o, files[o], typ ) )
    00532         self.Output = out
    00533         if AppMgr().HistogramPersistency == 'NONE' : AppMgr().HistogramPersistency = typ
        def __getitem__ ( self, path ) :

def GaudiPython::Bindings::iNTupleSvc::__getitem__ | ( |  | self,
|  |  | path |
| ) |  |  |

Reimplemented from GaudiPython::Bindings::iDataSvc.

Definition at line 534 of file Bindings.py.

    00534                                    :
    00535         return iDataSvc.__getitem__( self , path )
    00536
    00537
    00538 #----iToolSvc class---------------------------------------------------------------------
    class iToolSvc(iService) :

## Member Data Documentation

int GaudiPython::Bindings::iNTupleSvc::RowWiseTuple = 42`[static]`

Definition at line 517 of file Bindings.py.

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.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r10p1/GaudiPython/python/GaudiPython/Bindings.py