3 from AthenaConfiguration.AthConfigFlags
import AthConfigFlags
4 from tauRec.TauConfigFlags
import createTauConfigFlags
7 flags = AthConfigFlags()
10 flags.Trigger.Offline.Tau.tauRecToolsCVMFSPath =
'TrigTauRec/00-11-02'
12 flags.Trigger.Offline.Tau.MvaTESConfig =
'OnlineMvaTES_BRT_MC23a_v2.weights.root'
14 flags.Trigger.Offline.Tau.TauJetRNNConfig = [
'DeepSetID_MC23_v2_0p.json',
15 'DeepSetID_MC23_v2_1p.json',
16 'DeepSetID_MC23_v2_mp.json']
18 flags.Trigger.Offline.Tau.TauJetRNNWPConfig = [
'DeepSetID_MC23_v2_newPerf_flat_0p.root',
19 'DeepSetID_MC23_v2_newPerf_flat_1p.root',
20 'DeepSetID_MC23_v2_newPerf_flat_mp.root']
25 flags.addFlag(
"Trigger.Offline.Tau.TauJetRNNTargetEff", [ [0.98, 0.90, 0.65, 0.50],
26 [0.992, 0.99, 0.97, 0.94],
27 [0.99, 0.94, 0.895, 0.80] ] )
29 flags.addFlag(
"Trigger.Offline.Tau.TauJetRNNConfigLLP", [
'llpdev/net_experimental_llz_0p.json',
30 'llpdev/net_experimental_llz_1p.json',
31 'llpdev/net_experimental_llz_mp.json'])
33 flags.addFlag(
"Trigger.Offline.Tau.TauJetRNNWPConfigLLP", [
'llpdev/rnnid_flat_llp_llz0p_050621-v1.root',
34 'llpdev/rnnid_flat_llp_llz1p_050621-v1.root',
35 'llpdev/rnnid_flat_llp_llzmp_050621-v1.root'])
37 flags.addFlag(
"Trigger.Offline.Tau.TauJetRNNLLPTargetEff", [ [0.98, 0.90, 0.65, 0.50],
38 [0.992, 0.99, 0.965, 0.94],
39 [0.99, 0.98, 0.865, 0.80] ] )
45 if __name__ ==
"__main__":
46 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
47 from AthenaConfiguration.TestDefaults
import defaultTestFiles
49 flags.Input.Files = defaultTestFiles.RAW_RUN2
52 flags.Tau.MvaTESConfig
54 flags.dump(
"Tau|Trigger")
56 assert flags.Tau.MvaTESConfig != flags.Trigger.Offline.Tau.MvaTESConfig,
"No difference between trigger customization"
57 flags.dump(
"Tau|Trigger")