The Gaudi Framework
v38r1p1 (ae26267b)
__init__.py
Go to the documentation of this file.
1
11
def
getMetaData
(path):
12
"""
13
Extract job metadata recorded by Gaudi::MetaDataSvc from a file.
14
"""
15
from
ROOT
import
TFile
16
17
f = TFile.Open(path)
18
if
not
f:
19
raise
RuntimeError(
"cannot open {0}"
.
format
(path))
20
try
:
21
return
dict(f.info)
22
except
AttributeError:
23
return
{}
GaudiSvc.getMetaData
def getMetaData(path)
(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations # # This software i...
Definition:
__init__.py:11
format
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition:
MsgStream.cpp:119
GaudiSvc
python
GaudiSvc
__init__.py
Generated on Fri Oct 18 2024 13:27:42 for The Gaudi Framework by
1.8.18