ATLAS Offline Software
Loading...
Searching...
No Matches
plugin_GlobalSimFromJson.py
Go to the documentation of this file.
1from GlobalSimulation.GlobalSimJsonConfig import GlobalSimJsonCfg
2from TrigValTools.TrigValSteering.Common import find_file_in_path
3
4def setup(flags):
5 if flags.Concurrency.NumThreads==0:
6 flags.Concurrency.NumThreads=1
7
8#jsonpath = find_file_in_path("L0GlobalTestMenuv1_Khoo.json", 'DATAPATH')
9jsonpath = find_file_in_path("GlobalSimulation/L0GlobalTestMenuv1_AllChainsCfg.json", 'DATAPATH')
10
11force_TOBs = [
12 # 'LArCellMux'
13 "gFexRhoTOBs",
14]
15
16ignore_prereqs = [
17 # 'LArCellMux'
18]
19
20cfg.merge( GlobalSimJsonCfg(flags, jsonpath, force_TOBs, ignore_prereqs) )