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