12from basf2
import set_log_level, LogLevel, process, statistics
13from beamparameters
import add_beamparameters
14from generators
import add_treps_generator
16set_log_level(LogLevel.DEBUG)
19main = basf2.create_path()
22main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=99966)
23main.add_module(
"Progress")
26beamparameters = add_beamparameters(main,
"Y4S")
29add_treps_generator(main,
"e+e-pi+pi-", useDiscreteAndSortedW=
True)
31main.add_module(
"RootOutput", outputFileName=
"utrepsbpipi_100k_dicrete.root")
32main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.INFO, onlyPrimaries=
False)