14basf2.set_log_level(basf2.LogLevel.INFO)
16main = basf2.create_path()
18main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=100)
21phokhara = basf2.register_module(
'PhokharaInput')
24phokhara.set_log_level(basf2.LogLevel.INFO)
32phokhara.param(
'FinalState', 0)
37phokhara.param(
'Epsilon', 0.0001)
40phokhara.param(
'SearchMax', 5000)
43phokhara.param(
'nMaxTrials', 25000)
47phokhara.param(
'LO', 0)
51phokhara.param(
'NLO', 1)
55phokhara.param(
'QED', 0)
59phokhara.param(
'IFSNLO', 0)
62phokhara.param(
'Alpha', 0)
66phokhara.param(
'PionFF', 0)
70phokhara.param(
'KaonFF', 0)
74phokhara.param(
'PionStructure', 0)
78phokhara.param(
'NarrowRes', 0)
82phokhara.param(
'ProtonFF', 1)
86phokhara.param(
'ScatteringAngleRangePhoton', [0., 180.])
90phokhara.param(
'ScatteringAngleRangeFinalStates', [0., 180.])
94phokhara.param(
'MinInvMassHadronsGamma', 0.)
98phokhara.param(
'MinInvMassHadrons', 0.5)
102phokhara.param(
'MaxInvMassHadrons', 105.0)
106phokhara.param(
'MinEnergyGamma', 0.25)
109output = basf2.register_module(
'RootOutput')
110output.param(
'outputFileName',
'./phokhara_out.root')
113main.add_module(
"Progress")
114main.add_module(phokhara)
115main.add_module(output)
116main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
122print(basf2.statistics)