12 from basf2
import set_log_level, LogLevel, register_module, create_path, process, statistics
15 set_log_level(LogLevel.INFO)
21 main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=100)
24 teegg = register_module(
'TeeggInput')
27 teegg.param(
'UNWEIGHTED', 1)
30 teegg.param(
'CONFIG',
'GAMMA')
33 teegg.param(
'RADCOR',
'HARD')
34 teegg.param(
'WGHT1M', 1.001)
35 teegg.param(
'WGHTMX', 1.150)
38 teegg.param(
'TEVETO', 5.0)
39 teegg.param(
'EEVETO', 0.5)
42 teegg.param(
'TGMIN', 12.5)
48 teegg.param(
'CUTOFF', 0.0070)
57 teegg.param(
'EGMIN', 0.50)
63 output = register_module(
'RootOutput')
64 output.param(
'outputFileName',
'./teegg-outfile.root')
67 main.add_module(
"Progress")
68 main.add_module(teegg)
69 main.add_module(output)
71 main.add_module(
"PrintMCParticles", logLevel=LogLevel.DEBUG, onlyPrimaries=
False)