13 from ROOT
import Belle2
16 basf2.set_log_level(basf2.LogLevel.INFO)
19 basf2.set_random_seed(888)
21 main = basf2.create_path()
23 main.add_module(
'EventInfoSetter',
30 cry = main.add_module(
'CRYInput')
37 cry.param(
'acceptance', [125, 125])
39 cry.param(
'maxTrials', 100000)
41 cry.param(
'kineticEnergyThreshold', 0.01)
43 main.add_module(
'Progress')
44 main.add_module(
'RootOutput', outputFileName=
'./cry-outfile-test.root')
46 main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
52 print(basf2.statistics)