13 from beamparameters
import add_beamparameters
15 b2.set_random_seed(12345)
16 b2.set_log_level(b2.LogLevel.INFO)
19 main = b2.create_path()
22 main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=1000000)
25 beamparameters = add_beamparameters(main,
"Y4S")
30 kkgeninput = b2.register_module(
'KKGenInput')
31 kkgeninput.param(
'tauinputFile', b2.find_file(
'data/generators/kkmc/tauola_orig.input.dat'))
32 kkgeninput.param(
'KKdefaultFile', b2.find_file(
'data/generators/kkmc/KK2f_defaults.dat'))
35 kkgeninput.param(
'taudecaytableFile',
'')
36 kkgeninput.param(
'kkmcoutputfilename',
'kkmc_tautau_orig.txt')
39 main.add_module(
"Progress")
40 main.add_module(kkgeninput)
41 main.add_module(
"RootOutput", outputFileName=
"kkmc_tautau_orig.root")
42 main.add_module(
"HepMCOutput", OutputFilename=
'kkmc_tautau_orig.hepmc', StoreVirtualParticles=
True)