ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
share
plugin_GlobalSimFromJson.py
Go to the documentation of this file.
1
from
GlobalSimulation.GlobalSimJsonConfig
import
GlobalSimJsonCfg
2
from
TrigValTools.TrigValSteering.Common
import
find_file_in_path
3
4
def
setup
(flags):
5
if
flags.Concurrency.NumThreads==0:
6
flags.Concurrency.NumThreads=1
7
8
# turn off everything else from the steering script
9
flags.DQ.doMonitoring=
False
10
flags.Trigger.enableL1CaloPhase1=
False
11
12
jsonpath = find_file_in_path(
"GlobalSimulation/L0GlobalTestMenuv1_Khoo.json"
,
'DATAPATH'
)
13
14
# List entries below are intentionally commented as examples for running code
15
# that I do not want tested in the CI at present.
16
17
force_TOBs = [
18
# "GlobalSim_JET1Jets",
19
]
20
21
txt_inputs = {
22
# 'GlobalSim_CellTowers': ('topoc_pu_type','/eos/atlas/atlascerngroupdisk/trig-gbl/online/ValidationGate/input_data/hex/mc_events/JET1/myfile_tree.hex.txt'),
23
}
24
25
txt_outputs = {
26
# 'GlobalSim_JET1Jets': ('main_output_type','JET1_out_hex.txt'),
27
}
28
29
cfg.merge( GlobalSimJsonCfg(
30
flags, jsonpath,
31
ignore_menu_items=
True
,
32
force_config_TOBs=force_TOBs,
33
txt_inputs=txt_inputs,
34
txt_outputs=txt_outputs
35
) )
plugin_GlobalSimFromJson.setup
setup(flags)
Definition
plugin_GlobalSimFromJson.py:4
Generated on
for ATLAS Offline Software by
1.17.0