20from L1trigger
import add_trigger_simulation
26 sys.exit(
"ztsim02.py> # of arg is strange. Exit.")
36b2.set_log_level(b2.LogLevel.ERROR)
41gearbox = b2.register_module(
'Gearbox')
44rootinput1 = b2.register_module(
'RootInput')
45rootinput1.param(
'inputFileName', f_in_root)
49rootoutput = b2.register_module(
'RootOutput')
50rootoutput.param(
'outputFileName', f_out_root)
53progress = b2.register_module(
'Progress')
57main = b2.create_path()
59main.add_module(rootinput1)
61main.add_module(progress)
62main.add_module(gearbox)
64add_trigger_simulation(main, component=[
"ECL"])
67main.add_module(rootoutput, branchNames=[
"TRGECLTrgs",
"TRGECLHits",
"TRGECLClusters"])