28b2.set_log_level(b2.LogLevel.ERROR)
31b2.logging.set_package(
'top', b2.LogConfig(b2.LogLevel.DEBUG, 10000))
34main = b2.create_path()
37eventinfosetter = b2.register_module(
'EventInfoSetter')
38eventinfosetter.param(
'evtNumList', [1])
39main.add_module(eventinfosetter)
42gearbox = b2.register_module(
'Gearbox')
46 gearbox.param(
'fileName', fileName)
47main.add_module(gearbox)
50geometry = b2.register_module(
'Geometry')
51geometry.param(
'useDB',
False)
52geometry.param(
'components', [
'TOP'])
53main.add_module(geometry)