21 flags = AthConfigFlags()
25 Tracks =
"InDetTrackParticles",
26 JetTracks =
"JetSelectedTracks",
27 JetTracksQualityCuts =
"JetSelectedTracks_trackSelOpt",
28 Vertices =
"PrimaryVertices",
29 TVA =
"JetTrackVtxAssoc",
30 GhostTracks =
"PseudoJetGhostTrack",
31 GhostTracksLabel =
"GhostTrack",
32 EventDensity =
"EventDensity",
33 GhostTrackCutLevel =
'NoCut',
37 trackSelOptions = ldict( CutLevel =
"Loose", minPt=500, maxAbsEta=2.5 ),
40 flags.addFlag(
"Jet.Context.Run3" , run3context)
42 flags.addFlag(
"Jet.Context.Run4" , run3context.clone(
43 trackSelOptions = run3context[
"trackSelOptions"].
clone(maxAbsEta=4.0)
45 flags.addFlag(
"Jet.Context.HL_LHC", flags.Jet.Context.Run4)
49 def _defaultFlag(prevFlags):
51 run = prevFlags.GeoModel.Run
52 except (ValueError, RuntimeError) :
55 return prevFlags.Jet.Context.Run3
if run <= LHCPeriod.Run3
else prevFlags.Jet.Context.Run4
56 flags.addFlag(
"Jet.Context.default", _defaultFlag)
63 flags.addFlag(
"Jet.Context.EleRM" , run3context.clone(
64 Tracks =
"InDetTrackParticles_EleRM",
65 TVA =
"JetTrackVtxAssoc_EleRM",
66 JetTracks =
"JetSelectedTracks_EleRM",
67 GhostTracks =
"PseudoJetGhostTrack_EleRM",
68 EventDensity =
"EleRM_EventDensity",
75 flags.addFlag(
"Jet.Context.CommonTrackKeys",[
"Tracks",
"Vertices",
"TVA",
"GhostTracks",
"GhostTracksLabel",
"JetTracks",
"JetTracksQualityCuts"],)
81 from TriggerMenuMT.HLT.Jet.JetRecoCommon
import addJetContextFlags
87 from DerivationFrameworkHiggs.HIGG1D1CustomJetsConfig
import addJetContextFlags