30 if f_in_root[-6:] ==
".sroot":
31 input = b2.register_module(
'SeqRootInput')
32 if f_in_root[-5:] ==
".root":
33 input = b2.register_module(
'RootInput')
35 b2.set_log_level(b2.LogLevel.ERROR)
40 unpacker = b2.register_module(
'TRGECLUnpacker')
42 output = b2.register_module(
'RootOutput')
45 main = b2.create_path()
48 main.add_module(input)
49 main.add_module(unpacker)
51 input.param(
"inputFileName", f_in_root)
52 output.param(
"outputFileName", f_out_root)
58 "TRGECLUnpackerStores",
59 "TRGECLUnpackerEvtStores",
60 "TRGECLUnpackerSumStores"])