| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Namespaces | Functions
GaudiSvc Namespace Reference

## Namespaces
| ExtraModules

## Functions
def | getMetaData (path)

## Function Documentation

def GaudiSvc.getMetaData | ( |  | path | ) |

    Extract job metadata recorded by Gaudi::MetaDataSvc from a file.

Definition at line 1 of file __init__.py.

1 def getMetaData(path):
2 '''
3 Extract job metadata recorded by Gaudi::MetaDataSvc from a file.
4 '''
5 from cppyy.gbl import TFile
6 f = TFile.Open(path)
7 if not f:
8 raise RuntimeError('cannot open {0}'.format(path))
9 try:
10 return dict((i.first, i.second) for i in f.info)
11 except AttributeError:
12 return {}
13
format
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition: MsgStream.cpp:119
GaudiSvc.getMetaData
def getMetaData(path)
Definition: __init__.py:1