![]() |
The Gaudi Framework
v27r0
|
Functions | |
| def | _getToolSvc (kwargs) |
| Helper private auxillary utility to get Tool Service. More... | |
| def | _nTuple_ (s, args) |
| Retrive N-Tuple ( book on demand ) More... | |
| def | nTuple |
| Retrieve (book-on-demand) 'Smart'-N-tuple object. More... | |
| def | activeTuples () |
| Return the list of active tools. More... | |
| def | releaseTuples () |
| Release the active tool/tuples. More... | |
| def | _TupleUtils_AtExit_ () |
Variables | |
| string | __author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu" |
| This module contains set of simple and useful utilities to booking and manipulation with N-Tuples (in the spirit of GaudiTuples<TYPE>) More... | |
| tuple | __all__ |
| _Tool = cpp.ITupleTool | |
| _Deco = cpp.GaudiPython.TupleToolDecorator | |
| list | _TOOLS_ = [] |
| ntuple = nTuple | |
| getNTuple = nTuple | |
| getNtuple = nTuple | |
| getntuple = nTuple | |
| getTuple = nTuple | |
| gettuple = nTuple | |
|
private |
Helper private auxillary utility to get Tool Service.
Helper private auxillary utility to get Tool Service
Definition at line 39 of file TupleUtils.py.
|
private |
Retrive N-Tuple ( book on demand )
Retrive N-tuple ( book on demand )
Definition at line 53 of file TupleUtils.py.
|
private |
AtExit function for GaudiPython.TupleUtils module
Definition at line 177 of file TupleUtils.py.
| def GaudiPython.TupleUtils.activeTuples | ( | ) |
Return the list of active tools.
Return the list of active tools
Definition at line 148 of file TupleUtils.py.
| def GaudiPython.TupleUtils.nTuple | ( | dirpath, | |
| ID, | |||
ID2 = None, |
|||
topdir = None, |
|||
LUN = 'FILE1' |
|||
| ) |
Retrieve (book-on-demand) 'Smart'-N-tuple object.
Retrieve 'Smart'-N-tuple object.
N-tuple is booked on-demand.
Atetntion !!
The logical unit LUN must be configured by N-Tuple Service
Retrieve (book-n-demand) N-Tuple using
the directory name and the title:
>>> t = nTuple ( 'the/path/to/directory' , ## the path to the directory
'N-tuple title' , ## the title for N-Tuple
LUN = 'FILE1' ) ## logical file unit
Retrieve (book-n-demand) N-Tuple using
the directory name, literal ID and the title:
>>> t = nTuple ( 'the/path/to/directory' , ## the path to the directory
'Tuple1' , ## the literal ID for N-Tuple
'N-tuple title' , ## the title for N-Tuple
LUN = 'FILE1' ) ## logical file unit
Retrieve (book-n-demand) N-Tuple using
the directory name, numerical ID and the title:
>>> t = nTuple ( 'the/path/to/directory' , ## the path to the directory
124 , ## the numerical ID for N-Tuple
'N-tuple title' , ## the title for N-Tuple
LUN = 'FILE1' ) ## logical file unit
Definition at line 66 of file TupleUtils.py.
| def GaudiPython.TupleUtils.releaseTuples | ( | ) |
Release the active tool/tuples.
Release the active tool/tuples The method needs to be invoked explicitely at the end of the job
Definition at line 156 of file TupleUtils.py.
| tuple GaudiPython.TupleUtils.__all__ |
Definition at line 16 of file TupleUtils.py.
| string GaudiPython.TupleUtils.__author__ = "Vanya BELYAEV ibelyaev@physics.syr.edu" |
This module contains set of simple and useful utilities to booking and manipulation with N-Tuples (in the spirit of GaudiTuples<TYPE>)
Definition at line 14 of file TupleUtils.py.
| GaudiPython.TupleUtils._Deco = cpp.GaudiPython.TupleToolDecorator |
Definition at line 32 of file TupleUtils.py.
| GaudiPython.TupleUtils._Tool = cpp.ITupleTool |
Definition at line 31 of file TupleUtils.py.
| list GaudiPython.TupleUtils._TOOLS_ = [] |
Definition at line 35 of file TupleUtils.py.
| GaudiPython.TupleUtils.getNTuple = nTuple |
Definition at line 140 of file TupleUtils.py.
| GaudiPython.TupleUtils.getNtuple = nTuple |
Definition at line 141 of file TupleUtils.py.
| GaudiPython.TupleUtils.getntuple = nTuple |
Definition at line 142 of file TupleUtils.py.
| GaudiPython.TupleUtils.getTuple = nTuple |
Definition at line 143 of file TupleUtils.py.
| GaudiPython.TupleUtils.gettuple = nTuple |
Definition at line 144 of file TupleUtils.py.
| GaudiPython.TupleUtils.ntuple = nTuple |
Definition at line 139 of file TupleUtils.py.