31 b2.set_log_level(b2.LogLevel.ERROR)
32 b2.set_log_level(b2.LogLevel.INFO)
40 packer = b2.register_module(
'DummyDataSource')
41 packer.param(
'NodeID', int(argvs[2]))
42 use_shm_flag = int(argvs[4])
43 packer.param(
'UseShmFlag', use_shm_flag)
44 packer.param(
'NodeName', argvs[5])
47 dump = b2.register_module(
'RootOutput')
48 dump.param(
'outputFileName',
'root_output.root')
51 sender = b2.register_module(
'Serializer')
52 sender.param(
'DestPort', 30000)
54 sender.param(
'LocalHostName', argvs[1])
57 main = b2.create_path()
60 main.add_module(packer)
65 main.add_module(sender)