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