12from beamparameters
import add_beamparameters
16main = basf2.create_path()
17main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=10000)
20beamparameters = add_beamparameters(main,
"Y4S")
23beamparameters.param(
"covHER", [0.01, 0.01, 0.01])
24beamparameters.param(
"smearDirection",
False)
27basf2.print_params(beamparameters)
30main.add_module(
"RootOutput", outputFileName=
"BeamParameters.root")