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/tau.input.dat'))
31kkgeninput.param(
'KKdefaultFile', b2.find_file(
'data/generators/kkmc/KK2f_defaults.dat'))
32kkgeninput.param(
'taudecaytableFile', b2.find_file(
'data/generators/kkmc/tau_decaytable.dat'))
35kkgeninput.param(
'kkmcoutputfilename',
'kkmc_tautau.txt')
38main.add_module(
"Progress")
39main.add_module(kkgeninput)
40main.add_module(
"RootOutput", outputFileName=
"kkmc_tautau.root")
41main.add_module(
"HepMCOutput", OutputFilename=
'kkmc_tautau.hepmc', StoreVirtualParticles=
True)