14from generators
import add_evtgen_generator
20 dec_file = os.path.abspath(sys.argv[1])
21 final_state =
'signal'
22 print(
"using following decay file: " + dec_file)
26main = basf2.create_path()
29main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=100)
32add_evtgen_generator(path=main, finalstate=final_state, signaldecfile=dec_file)
35main.add_module(
"Progress")
36main.add_module(
"RootOutput", outputFileName=
"evtgen_upsilon4s.root")
37main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
43print(basf2.statistics)