13 from basf2
import set_log_level, LogLevel, process, statistics
14 from beamparameters
import add_beamparameters
15 from generators
import add_treps_generator
17 set_log_level(LogLevel.DEBUG)
20 main = basf2.create_path()
23 main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=100000)
24 main.add_module(
"Progress")
27 beamparameters = add_beamparameters(main,
"Y4S")
30 add_treps_generator(main,
"e+e-pi+pi-", useDiscreteAndSortedW=
False)
32 main.add_module(
"RootOutput", outputFileName=
"utrepsbpipi_100k.root")
33 main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.INFO, onlyPrimaries=
False)