14basf2.set_log_level(basf2.LogLevel.ERROR)
17cosmics = basf2.register_module(
'Cosmics')
18cosmics.param(
'level', 1)
19cosmics.param(
'ipRequirement', 0)
35eventinfosetter = basf2.register_module(
'EventInfoSetter')
37progress = basf2.register_module(
'Progress')
40output = basf2.register_module(
'RootOutput')
43eventinfosetter.param({
'evtNumList': [100],
'runList': [1]})
46output.param(
'outputFileName',
'CosmicsOutput.root')
51main = basf2.create_path()
52main.add_module(eventinfosetter)
53main.add_module(progress)
54main.add_module(cosmics)
55main.add_module(output)
61print(basf2.statistics)