29 b2.set_log_level(b2.LogLevel.ERROR)
32 b2.logging.set_package(
'top', b2.LogConfig(b2.LogLevel.DEBUG, 10000))
35 main = b2.create_path()
38 eventinfosetter = b2.register_module(
'EventInfoSetter')
39 eventinfosetter.param(
'evtNumList', [1])
40 main.add_module(eventinfosetter)
43 gearbox = b2.register_module(
'Gearbox')
47 gearbox.param(
'fileName', fileName)
48 main.add_module(gearbox)
51 geometry = b2.register_module(
'Geometry')
52 geometry.param(
'useDB',
False)
53 geometry.param(
'components', [
'TOP'])
54 main.add_module(geometry)