7 <output>./WG6_DstToD0pi_D0ToKpi.dst.root</output>
8 <contact>lilongke@ihep.ac.cn</contact>
13 from simulation
import add_simulation
14 from reconstruction
import add_reconstruction, add_mdst_output
15 from ROOT
import Belle2
17 b2.set_random_seed(12345)
23 myMain = b2.create_path()
26 eventinfosetter = b2.register_module(
'EventInfoSetter')
27 eventinfosetter.param(
'evtNumList', [1000])
28 eventinfosetter.param(
'runList', [0])
29 eventinfosetter.param(
'expList', [0])
30 myMain.add_module(eventinfosetter)
34 evtgeninput = b2.register_module(
'EvtGenInput')
35 evtgeninput.param(
'ParentParticle',
'vpho')
37 evtgeninput.param(
'InclusiveParticle',
'D*+')
38 evtgeninput.param(
'InclusiveType', 2)
39 myMain.add_module(evtgeninput)
43 add_simulation(myMain)
46 add_reconstruction(myMain)
50 output_filename =
"../WG6_DstToD0pi_D0ToKpi.dst.root"
51 add_mdst_output(myMain, filename=output_filename)