The Gaudi Framework  v36r1 (3e2fb5a8)
__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  f = TFile.Open(path)
17  if not f:
18  raise RuntimeError('cannot open {0}'.format(path))
19  try:
20  return dict(f.info)
21  except AttributeError:
22  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