28 b2.set_log_level(b2.LogLevel.ERROR)
32 input = b2.register_module(
'RootInput')
37 output = b2.register_module(
'PrintData')
40 dump = b2.register_module(
'RootOutput')
41 dump.param(
'outputFileName',
'temp.root')
47 main = b2.create_path()
50 main.add_module(input)
51 main.add_module(output)