27 sys.exit(
"TrgCdcTsfUnpacker.py> # of arg is strange.\n 1.rootname\n Exit.")
33 b2.set_log_level(b2.LogLevel.ERROR)
37 input = b2.register_module(
'RootInput')
39 unpacker = b2.register_module(
'TRGCDCTSFUnpacker')
41 output = b2.register_module(
'RootOutput')
44 main = b2.create_path()
47 main.add_module(input)
48 main.add_module(unpacker)
50 input.param(
"inputFileName", f_in_root)
51 output.param(
"outputFileName", f_out_root)
54 main.add_module(output, branchNames=[
"TRGCDCTSFUnpackerStores"])