31from beamparameters
import add_beamparameters
33b2.set_random_seed(1509)
39output_filename =
'./' + release +
'/TV_data_' + release +
'.root'
43path = b2.create_path()
45eventinfosetter = b2.register_module(
'EventInfoSetter')
46eventinfosetter.param(
'expList', [0])
47eventinfosetter.param(
'runList', [1])
48eventinfosetter.param(
'evtNumList', [10000])
50progress = b2.register_module(
'Progress')
52evtgeninput = b2.register_module(
'EvtGenInput')
53evtgeninput.logging.log_level = b2.LogLevel.WARNING
55beamparameters = add_beamparameters(path,
"Y4S")
57root_output = b2.register_module(
'RootOutput')
58root_output.param(
'outputFileName', output_filename)
60path.add_module(eventinfosetter)
61path.add_module(progress)
62path.add_module(beamparameters)
63path.add_module(evtgeninput)
64path.add_module(root_output)