31 import generators
as ge
32 import modularAnalysis
as ma
41 my_path = b2.create_path()
44 ma.setupEventInfo(noEvents=100, path=my_path)
47 ge.add_evtgen_generator(path=my_path,
49 signaldecfile=b2.find_file(
50 'analysis/examples/simulations/B2A101-Y4SEventGeneration.dec'))
53 my_path.add_module(
'RootOutput', outputFileName=
'B2A101-Y4SEventGeneration-evtgen.root')
56 b2.process(path=my_path)