12from beamparameters
import add_beamparameters
14b2.set_random_seed(12345)
15b2.set_log_level(b2.LogLevel.INFO)
18main = b2.create_path()
21main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=1000000)
24beamparameters = add_beamparameters(main,
"Y4S")
29kkgeninput = b2.register_module(
'KKGenInput')
30kkgeninput.param(
'tauinputFile', b2.find_file(
'data/generators/kkmc/tauola_bbb.input.dat'))
31kkgeninput.param(
'KKdefaultFile', b2.find_file(
'data/generators/kkmc/KK2f_defaults.dat'))
34kkgeninput.param(
'taudecaytableFile',
'')
35kkgeninput.param(
'kkmcoutputfilename',
'kkmc_tautau_bbb.txt')
38main.add_module(
"Progress")
39main.add_module(kkgeninput)
40main.add_module(
"RootOutput", outputFileName=
"kkmc_tautau_bbb.root")
41main.add_module(
"HepMCOutput", OutputFilename=
'kkmc_tautau_bbb.hepmc', StoreVirtualParticles=
True)