14basf2.set_log_level(basf2.LogLevel.INFO)
17basf2.set_random_seed(888)
19main = basf2.create_path()
21main.add_module(
'EventInfoSetter',
28cry = main.add_module(
'CRYInput')
35cry.param(
'acceptance', [125, 125])
37cry.param(
'maxTrials', 100000)
39cry.param(
'kineticEnergyThreshold', 0.01)
41main.add_module(
'Progress')
42main.add_module(
'RootOutput', outputFileName=
'./cry-outfile-test.root')
44main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
50print(basf2.statistics)