19 from generators
import add_evtgen_generator
22 print(
'*** Used steering script:')
23 with open(sys.argv[0],
'r')
as fin:
24 print(fin.read(), end=
"")
25 print(
'*** end of the script.')
29 localdb_dir = sys.argv[2]
35 main = b2.create_path()
38 main.add_module(
"EventInfoSetter", expList=1002, runList=0, evtNumList=100)
40 main.add_module(
'Gearbox')
41 main.add_module(
'Geometry')
44 add_evtgen_generator(path=main, finalstate=final_state, signaldecfile=dec_file)
47 main.add_module(
'FullSim', StoreAllSecondaries=
True)
50 main.add_module(
'SVDDigitizer')
52 main.add_module(
"Progress")
53 main.add_module(
'RootOutput', outputFileName=fileOUT)