21 from L1trigger
import add_trigger_simulation
27 sys.exit(
"ztsim02.py> # of arg is strange. Exit.")
37 b2.set_log_level(b2.LogLevel.ERROR)
42 gearbox = b2.register_module(
'Gearbox')
45 rootinput1 = b2.register_module(
'RootInput')
46 rootinput1.param(
'inputFileName', f_in_root)
50 rootoutput = b2.register_module(
'RootOutput')
51 rootoutput.param(
'outputFileName', f_out_root)
54 progress = b2.register_module(
'Progress')
58 main = b2.create_path()
60 main.add_module(rootinput1)
62 main.add_module(progress)
63 main.add_module(gearbox)
65 add_trigger_simulation(main, component=[
"ECL"])
68 main.add_module(rootoutput, branchNames=[
"TRGECLTrgs",
"TRGECLHits",
"TRGECLClusters"])