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