21basf2.set_log_level(basf2.LogLevel.INFO)
23main = basf2.create_path()
25main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=10000)
28bbbrem = basf2.register_module(
'BBBremInput')
34bbbrem.param(
'Unweighted',
True)
37bbbrem.param(
'MaxWeight', 5.0e6)
40bbbrem.param(
'DensityCorrectionMode', 1)
43bbbrem.param(
'DensityCorrectionParameter', 1.68e-17)
49progress = basf2.register_module(
'Progress')
52output = basf2.register_module(
'RootOutput')
53output.param(
'outputFileName',
'./bbbremgen.root')
57main.add_module(progress)
58main.add_module(bbbrem)
60main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
62main.add_module(output)
68print(basf2.statistics)