13 Extract job metadata recorded by Gaudi::MetaDataSvc from a file. 15 from cppyy.gbl
import TFile
18 raise RuntimeError(
'cannot open {0}'.
format(path))
23 cppyy.gbl.gInterpreter.Declare(
r''' 27 auto get_keys(const std::map<std::string, std::string>& m) { 35 keys = str(cppyy.gbl.get_keys(f.info)).strip().split(
'\n')
36 return dict((k, f.info[k])
for k
in keys)
37 except AttributeError:
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
def getMetaData(path)
(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations # # This software i...