26b2.set_log_level(b2.LogLevel.ERROR)
29b2.logging.set_package(
'top', b2.LogConfig(b2.LogLevel.DEBUG, 100))
32main = b2.create_path()
35eventinfosetter = b2.register_module(
'EventInfoSetter')
36eventinfosetter.param(
'evtNumList', [1])
37main.add_module(eventinfosetter)
40gearbox = b2.register_module(
'Gearbox')
44 gearbox.param(
'fileName', fileName)
45main.add_module(gearbox)
48geometry = b2.register_module(
'Geometry')
49geometry.param(
'useDB',
False)
50geometry.param(
'components', [
'TOP'])
51main.add_module(geometry)