6 from simulation
import add_simulation
7 from reconstruction
import add_reconstruction
8 from reconstruction
import add_mdst_output
19 set_log_level(LogLevel.ERROR)
21 if 'BELLE2_BACKGROUND_MIXING_DIR' not in os.environ:
22 B2ERROR(
'BELLE2_BACKGROUND_MIXING_DIR variable is not set - it must contain the path to BG mixing samples')
26 bg = glob.glob(os.environ[
'BELLE2_BACKGROUND_MIXING_DIR'] +
'/*.root')
28 B2ERROR(
'No files found in ', os.environ[
'BELLE2_BACKGROUND_MIXING_DIR'])
35 eventinfosetter = register_module(
'EventInfoSetter')
36 eventinfosetter.param({
'evtNumList': [10],
'runList': [1]})
37 main.add_module(eventinfosetter)
40 evtgeninput = register_module(
'EvtGenInput')
41 main.add_module(evtgeninput)
44 add_simulation(main, bkgfiles=bg, bkgOverlay=
False)
47 add_reconstruction(main)
53 progress = register_module(
'Progress')
54 main.add_module(progress)