def loadHltConfiguration(process, menu, **args): args['menu'] = menu args['fragment'] = True options = _build_options(**args) hlt = _imp.new_module('hlt') exec(_confdb.HLTProcess(options).dump(), globals(), hlt.__dict__) process.extend( hlt )
def getHltConfiguration(menu, **args): args['menu'] = menu args['fragment'] = False options = _build_options(**args) hlt = _imp.new_module('hlt') exec(_confdb.HLTProcess(options).dump(), globals(), hlt.__dict__) return hlt.process