14basf2.set_log_level(basf2.LogLevel.INFO)
16main = basf2.create_path()
19myinput = basf2.register_module(
'RootInput')
20myinput.param(
'inputFileName',
'./input.root')
23myoutput = basf2.register_module(
'HepevtOutput')
24myoutput.param(
'OutputFilename',
'./output.hepevt')
27myprogress = basf2.register_module(
'Progress')
29main.add_module(myprogress)
30main.add_module(myinput)
31main.add_module(myoutput)
32main.add_module(
"PrintMCParticles", logLevel=basf2.LogLevel.DEBUG, onlyPrimaries=
False)
38print(basf2.statistics)