| The Gaudi Framework v30r0 (c919700c)

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

- File List
- File Members

__init__.py
Go to the documentation of this file.
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 {}
format
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition: MsgStream.cpp:120
GaudiSvc.getMetaData
def getMetaData(path)
Definition: __init__.py:1