27 b2.set_log_level(b2.LogLevel.ERROR)
30 b2.logging.set_package(
'top', b2.LogConfig(b2.LogLevel.DEBUG, 100))
33 main = b2.create_path()
36 eventinfosetter = b2.register_module(
'EventInfoSetter')
37 eventinfosetter.param(
'evtNumList', [1])
38 main.add_module(eventinfosetter)
41 gearbox = b2.register_module(
'Gearbox')
45 gearbox.param(
'fileName', fileName)
46 main.add_module(gearbox)
49 geometry = b2.register_module(
'Geometry')
50 geometry.param(
'useDB',
False)
51 geometry.param(
'components', [
'TOP'])
52 main.add_module(geometry)