21 from simulation
import add_simulation
24 eventinfosetter = b2.register_module(
'EventInfoSetter')
25 eventinfosetter.param(
'evtNumList', [5000])
30 main.add_module(eventinfosetter)
32 main.add_module(
'EvtGenInput')
38 display = main.add_module(
'Display')
39 conditionpath = b2.Path()
40 conditionpath.add_module(
'RootOutput', outputFileName=
'saved_from_display.root')
41 display.if_true(conditionpath)