6 from simulation
import add_simulation
7 from reconstruction
import add_reconstruction
8 from reconstruction
import add_mdst_output
18 set_log_level(LogLevel.ERROR)
20 if 'BELLE2_BACKGROUND_MIXING_DIR' not in os.environ:
21 B2ERROR(
'BELLE2_BACKGROUND_MIXING_DIR variable is not set - it must contain the path to BG mixing samples')
25 bg = glob.glob(os.environ[
'BELLE2_BACKGROUND_MIXING_DIR'] +
'/*.root')
27 B2ERROR(
'No files found in ', os.environ[
'BELLE2_BACKGROUND_MIXING_DIR'])
34 eventinfosetter = register_module(
'EventInfoSetter')
35 eventinfosetter.param({
'evtNumList': [10],
'runList': [1]})
36 main.add_module(eventinfosetter)
39 add_simulation(main, bkgfiles=bg, bkgOverlay=
False)
42 add_reconstruction(main)
48 progress = register_module(
'Progress')
49 main.add_module(progress)