28 import modularAnalysis
as ma
29 import simulation
as si
30 import reconstruction
as re
35 if not os.path.isfile(
'B2A101-Y4SEventGeneration-evtgen.root'):
37 'Required input file (B2A101-Y4SEventGeneration-evtgen.root) does not exist. \n'
38 'Please run B2A101-Y4SEventGeneration.py tutorial script first.')
41 my_path = b2.create_path()
44 ma.inputMdst(
'default',
'B2A101-Y4SEventGeneration-evtgen.root', path=my_path)
47 si.add_simulation(path=my_path)
50 re.add_reconstruction(path=my_path)
53 re.add_mdst_output(path=my_path,
55 filename=
'B2A101-Y4SEventGeneration-gsim-BKGx0.root')
58 my_path.add_module(
'ProgressBar')