27 sys.exit(
"ReadEclTrgUnpacker.py> # of arg is strange.\n 1.rootname\n Exit.")
32b2.set_log_level(b2.LogLevel.ERROR)
36input = b2.register_module(
'SeqRootInput')
38unpacker = b2.register_module(
'TRGECLUnpacker')
40output = b2.register_module(
'RootOutput')
42trgeclrawana = b2.register_module(
'TRGECLRawdataAnalysis')
45main = b2.create_path()
49main.add_module(unpacker)
50main.add_module(trgeclrawana)
52input.param(
"inputFileName", f_in_root)
53output.param(
"outputFileName",
"TRGECLRawdataAnalysis_Cluster.root")
56main.add_module(output, branchNames=[
"TRGECLUnpackerStores",
"TRGECLClusters",
"TRGECLTimings"])