13 basf2.set_log_level(basf2.LogLevel.INFO)
15 main = basf2.create_path()
18 main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=100)
21 bhwide = basf2.register_module(
'BHWideInput')
22 bhwide.set_log_level(basf2.LogLevel.INFO)
25 bhwide.param(
'ScatteringAngleRangePositron', [15., 165.])
28 bhwide.param(
'ScatteringAngleRangeElectron', [15., 165.])
31 bhwide.param(
'MaxAcollinearity', 180.0)
34 bhwide.param(
'MinEnergy', 0.10)
37 bhwide.param(
'VacuumPolarization',
'burkhardt')
40 bhwide.param(
'WeakCorrections',
True)
43 bhwide.param(
'WtMax', 3.0)
46 gearbox = basf2.register_module(
'Gearbox')
49 main.add_module(
"Progress")
50 main.add_module(gearbox)
51 main.add_module(bhwide)
52 main.add_module(
"RootOutput", outputFileName=
"bhwide.root")
54 main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
60 print(basf2.statistics)