16 print(
'Usage : DummyDataPacker.py <# of events> <output filename>')
20b2.set_log_level(b2.LogLevel.ERROR)
21b2.set_log_level(b2.LogLevel.INFO)
24max_event = int(argvs[1])
25packer = b2.register_module(
'DummyDataPacker')
26packer.param(
'MaxEventNum', max_event)
30dump = b2.register_module(
'RootOutput')
31dump.param(
'outputFileName', argvs[2])
34main = b2.create_path()
37main.add_module(packer)