7 <output>../CharmoniumPsi.dst.root</output>
8 <contact>jiasen@buaa.edu.cn</contact>
13 from simulation
import add_simulation
14 from reconstruction
import add_reconstruction, add_mdst_output
15 from ROOT
import Belle2
18 b2.set_random_seed(12345)
21 bg = glob.glob(
'./BG/[A-Z]*.root')
27 eventinfosetter = b2.register_module(
'EventInfoSetter')
28 eventinfosetter.param(
'evtNumList', [500])
29 eventinfosetter.param(
'runList', [1])
30 eventinfosetter.param(
'expList', [0])
31 path.add_module(eventinfosetter)
34 evtgeninput = b2.register_module(
'EvtGenInput')
36 path.add_module(evtgeninput)
42 add_reconstruction(path)
45 output_filename =
"../CharmoniumPsi.dst.root"
46 add_mdst_output(path, filename=output_filename)