3 from AthenaConfiguration.AthConfigFlags
import AthConfigFlags
4 from tauRec.TauConfigFlags
import createTauConfigFlags
7 flags = AthConfigFlags()
15 flags.Trigger.Offline.Tau.tauRecToolsCVMFSPath =
'TrigTauRec/00-11-02'
18 flags.Trigger.Offline.Tau.MvaTESConfig =
'OnlineMvaTES_BRT_MC23a_v2.weights.root'
26 flags.addFlag(
'Trigger.Offline.Tau.DeepSet.NetworkConfig', [
'DeepSetID_MC23_v2_0p.json',
27 'DeepSetID_MC23_v2_1p.json',
28 'DeepSetID_MC23_v2_mp.json'])
29 flags.addFlag(
'Trigger.Offline.Tau.DeepSet.MaxTracks', 10)
30 flags.addFlag(
'Trigger.Offline.Tau.DeepSet.MaxClusters', 6)
31 flags.addFlag(
'Trigger.Offline.Tau.DeepSet.ScoreFlatteningConfig', [
'DeepSetID_MC23_v2_newPerf_flat_0p.root',
32 'DeepSetID_MC23_v2_newPerf_flat_1p.root',
33 'DeepSetID_MC23_v2_newPerf_flat_mp.root'])
34 flags.addFlag(
'Trigger.Offline.Tau.DeepSet.WPNames', [
'VeryLoose',
'Loose',
'Medium',
'Tight'])
35 flags.addFlag(
'Trigger.Offline.Tau.DeepSet.TargetEff', [[0.98, 0.90, 0.65, 0.50],
36 [0.992, 0.99, 0.97, 0.94],
37 [0.99, 0.94, 0.895, 0.80]])
45 flags.addFlag(
'Trigger.Offline.Tau.RNNLLP.NetworkConfig', [
'llpdev/net_experimental_llz_0p.json',
46 'llpdev/net_experimental_llz_1p.json',
47 'llpdev/net_experimental_llz_mp.json'])
48 flags.addFlag(
'Trigger.Offline.Tau.RNNLLP.MaxTracks', 10)
49 flags.addFlag(
'Trigger.Offline.Tau.RNNLLP.MaxClusters', 6)
50 flags.addFlag(
'Trigger.Offline.Tau.RNNLLP.ScoreFlatteningConfig', [
'llpdev/rnnid_flat_llp_llz0p_050621-v1.root',
51 'llpdev/rnnid_flat_llp_llz1p_050621-v1.root',
52 'llpdev/rnnid_flat_llp_llzmp_050621-v1.root'])
53 flags.addFlag(
'Trigger.Offline.Tau.RNNLLP.WPNames', [
'VeryLoose',
'Loose',
'Medium',
'Tight'])
54 flags.addFlag(
'Trigger.Offline.Tau.RNNLLP.TargetEff', [[0.98, 0.90, 0.65, 0.50],
55 [0.992, 0.99, 0.965, 0.94],
56 [0.99, 0.98, 0.865, 0.80]])
62 if __name__ ==
'__main__':
63 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
64 from AthenaConfiguration.TestDefaults
import defaultTestFiles
66 flags.Input.Files = defaultTestFiles.RAW_RUN2
69 flags.Tau.MvaTESConfig
71 flags.dump(
'Tau|Trigger')
73 assert flags.Tau.MvaTESConfig != flags.Trigger.Offline.Tau.MvaTESConfig,
'No difference between trigger customization'
74 flags.dump(
'Tau|Trigger')