14 basf2.set_log_level(basf2.LogLevel.INFO)
16 main = basf2.create_path()
19 main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=100)
22 bhwide = basf2.register_module(
'BHWideInput')
23 bhwide.set_log_level(basf2.LogLevel.INFO)
26 bhwide.param(
'ScatteringAngleRangePositron', [15., 165.])
29 bhwide.param(
'ScatteringAngleRangeElectron', [15., 165.])
32 bhwide.param(
'MaxAcollinearity', 180.0)
35 bhwide.param(
'MinEnergy', 0.10)
38 bhwide.param(
'VacuumPolarization',
'burkhardt')
41 bhwide.param(
'WeakCorrections',
True)
44 bhwide.param(
'WtMax', 3.0)
47 gearbox = basf2.register_module(
'Gearbox')
50 main.add_module(
"Progress")
51 main.add_module(gearbox)
52 main.add_module(bhwide)
53 main.add_module(
"RootOutput", outputFileName=
"bhwide.root")
55 main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
61 print(basf2.statistics)