25 sys.exit(
"trggdlDST.py> # of arg is strange. Exit.")
30b2.set_log_level(b2.LogLevel.INFO)
32main = b2.create_path()
35if f_in_root[-6:] ==
".sroot":
36 rootfiletype =
"sroot"
37 input = b2.register_module(
'SeqRootInput')
38if f_in_root[-5:] ==
".root":
40 input = b2.register_module(
'RootInput')
42input.param(
'inputFileName', f_in_root)
46trggdlUnpacker = b2.register_module(
"TRGGDLUnpacker")
47main.add_module(trggdlUnpacker)
50trggdldst = b2.register_module(
'TRGGDLDST')
51main.add_module(trggdldst)
53output = b2.register_module(
'RootOutput')
54output.param(
"outputFileName",
"gdldst.root")
55main.add_module(output, branchNames=[
"TRGGDLDST"])
57progress = b2.register_module(
'Progress')
58main.add_module(progress)