7 <output>../CharmlessHad2BodyCharged.dst.root</output>
8 <contact>khsmith@student.unimelb.edu.au</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')
24 charmless2chargedpath = b2.Path()
27 eventinfosetter = b2.register_module(
'EventInfoSetter')
28 eventinfosetter.param(
'evtNumList', [1000])
29 eventinfosetter.param(
'runList', [1])
30 eventinfosetter.param(
'expList', [0])
31 charmless2chargedpath.add_module(eventinfosetter)
34 evtgeninput = b2.register_module(
'EvtGenInput')
37 charmless2chargedpath.add_module(evtgeninput)
40 add_simulation(path=charmless2chargedpath)
43 add_reconstruction(path=charmless2chargedpath)
47 output_filename =
"../CharmlessHad2BodyCharged.dst.root"
48 add_mdst_output(charmless2chargedpath, filename=output_filename)
51 b2.process(charmless2chargedpath)