13 b2.logging.log_level = b2.LogLevel.WARNING
19 progress = b2.register_module(
'Progress')
20 paramloader = b2.register_module(
'Gearbox')
21 geometry = b2.register_module(
'Geometry')
22 geometry.param(
'Components', [
'TOP'])
23 input = b2.register_module(
'RootInput')
24 topdigi = b2.register_module(
'TOPDigitizer')
25 topback = b2.register_module(
'TOPBackground')
27 param_back = {
'TimeOfSimulation': 10.0,
'Type':
'Touschek_HER',
28 'Output':
'Background_Touschek_HER.root'}
32 topback.param(param_back)
37 input.param(
'inputFileName',
'/home/belle/petric/Touschek_HER.root')
40 main = b2.create_path()
44 main.add_module(input)
45 main.add_module(progress)
46 main.add_module(paramloader)
47 main.add_module(geometry)
48 main.add_module(topdigi)
49 main.add_module(topback)