6def createTrigJetConfigFlags():
7 flags = AthConfigFlags()
8
9 flags.addFlag('Trigger.Jet.doJetSuperPrecisionTracking', False,
10 help='enable precision tracking in jet super-ROI before fast b-tagging (EMTopo jets)')
11
12 flags.addFlag("Trigger.Jet.fastbtagPFlow", True,
13 help='enable fast b-tagging for all fully calibrated HLT PFlow jets')
14
15 flags.addFlag("Trigger.Jet.fastbtagVertex", True,
16 help='enable the addition of the super ROI PV to the b-tagging')
17
18 flags.addFlag("Trigger.Jet.doVRJets", False,
19 help='enable the addition of the VR track jet reconstruction sequence')
20
21 flags.addFlag("Trigger.Jet.hitZNetwork",
22 "BTagging/20261007trig/HitZV01/antikt4emtopo/network.onnx",
23 help='ONNX file for the hit-based per-jet z regression, resolved by PathResolver')
24
25 flags.addFlag("Trigger.Jet.hitZSlimConverters", True,
26 help='let the Si cluster converters skip everything HitZ does not read; '
27 'unset to compare against the full converter output')
28
29 flags.addFlag("Trigger.Jet.hitZExecutionProvider", "CPU",
30 help='onnx execution provider for the HitZ regression, CPU or CUDA')
31
32 flags.addFlag("Trigger.Jet.hitZDeviceId", 0,
33 help='device the HitZ CUDA execution provider runs on')
34
35 flags.addFlag("Trigger.Jet.hitZUseTF32", False,
36 help='let tensor cores evaluate the HitZ fp32 matmuls in TF32')
37
38
39
40
41 flags.addFlag("Trigger.Jet.pflowCalibKey", lambda prevFlags: "TrigHIUPC" if 'HI' in prevFlags.Trigger.triggerMenuSetup else "TrigR22Prerec",
42 help='calibration config file for HLT small-R jets')
43
44 flags.addFlag("Trigger.Jet.emtopoCalibKey", "TrigLS2",
45 help='calibration config file for HLT small-R jets')
46
47 flags.addFlag("Trigger.Jet.pflowLJCalibKey", "TrigSoftDrop",
48 help='calibration config file for HLT large-R PFlow jets')
49
50
51 flags.addFlag("Trigger.Jet.nnJVTConfigDir", lambda prevFlags: "JetPileupTag/NNJvt/HLT-2025-05-21",
52 help='config directory containing cut files and neural network for HLT nnjvt')
53
54 flags.addFlag("Trigger.Jet.PFlowTolerance", 1e-2,
55 help='tolerance in STEP Propagator')
56
57 flags.addFlag("Trigger.Jet.PFlowUnifiedChain", False,
58 help='use unified PF tool chain in eflowRec')
59
60 flags.addFlag("Trigger.Jet.TrackVtxAssocWP", "Custom",
61 help='working point for the TVA algorithm')
62
63 flags.addFlag("Trigger.Jet.LowPtFilter", lambda prevFlags: 'HI' in prevFlags.Trigger.triggerMenuSetup,
64 help='apply low pT filter on antiKt4 jets (used for HI UPC jet reco)')
65
66 return flags
67
68