The Gaudi Framework
v29r0 (ff2e7097)
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
GaudiSvc
python
GaudiSvc
__init__.py
Generated on Tue Sep 26 2017 11:39:00 for The Gaudi Framework by
1.8.11