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