10 from generators
import *
13 print(
'*** Used steering script:')
14 with open(sys.argv[0],
'r')
as fin:
15 print(fin.read(), end=
"")
16 print(
'*** end of the script.')
20 localdb_dir = sys.argv[2]
24 use_local_database(localdb_dir +
"/database.txt", localdb_dir, invertLogging=
True)
33 main.add_module(
"EventInfoSetter", expList=1002, runList=0, evtNumList=100)
35 main.add_module(
'Gearbox')
36 main.add_module(
'Geometry')
39 add_evtgen_generator(path=main, finalstate=final_state, signaldecfile=dec_file)
42 main.add_module(
'FullSim', StoreAllSecondaries=
True)
45 main.add_module(
'SVDDigitizer')
47 main.add_module(
"Progress")
48 main.add_module(
'RootOutput', outputFileName=fileOUT)