| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Public Member Functions | Public Attributes | Static Public Attributes

# 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.

## Constructor & Destructor Documentation

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

Reimplemented from GaudiPython::Bindings::iDataSvc.

Definition at line 519 of file Bindings.py.

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

## Member Function Documentation

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

Reimplemented from GaudiPython::Bindings::iDataSvc.

Definition at line 535 of file Bindings.py.

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

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

Definition at line 522 of file Bindings.py.

    00523                           :
            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.

    00525                                                         :
    00526         """ Defines the mapping between logical names and the output file
    00527             Usage:
    00528               defineOutput({'LUN1':'MyFile1.root', 'LUN2':'Myfile2.root'}, svc='Gaudi::RootCnvSvc')
    00529         """
    00530         import Persistency as prs
    00531         helper = prs.get(typ)
    00532         helper.configure(AppMgr())
    00533         self.Output = [helper.formatOutput(files[lun], lun=lun) for lun in files]
    00534         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 527 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:

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines