3 from AthenaConfiguration.AthConfigFlags
import AthConfigFlags
4 from AthenaConfiguration.Enums
import LHCPeriod
7 flags = AthConfigFlags()
10 flags.addFlag(
"TrkSel.minPt",
lambda pcf: (
11 pcf.Tracking.__getattr__(pcf.Tracking.PrimaryPassConfig.value+
'Pass').minPT
12 if pcf.GeoModel.Run <= LHCPeriod.Run3
else
13 pcf.Tracking.__getattr__(pcf.Tracking.ITkPrimaryPassConfig.value+
'Pass').minPT[0]
16 flags.addFlag(
"TrkSel.RatioCut1", 0.0)
18 flags.addFlag(
"TrkSel.RatioCut2", 0.1)
20 flags.addFlag(
"TrkSel.RatioCut3", 0.1)
22 flags.addFlag(
"TrkSel.RatioTRT", 0.51)
24 flags.addFlag(
"TrkSel.TRTTrksEtaBins", [
25 0.7, 0.8, 0.9, 1.2, 1.3, 1.6, 1.7, 1.8, 1.9, 999])
27 flags.addFlag(
"TrkSel.TRTTrksBinnedRatioTRT",
lambda pcf: (
28 [0.51, 0.80, 0.90, 0.80, 0.51, 0.51, 0.51, 0.51, 0.51, 0.51]
29 if pcf.GeoModel.Run
is LHCPeriod.Run3
30 else [0.60, 0.80, 0.90, 0.80, 0.51, 0.51, 0.51, 0.51, 0.51, 0.51]))
34 flags.addFlag(
"TrkPairSel.MaxDistBetweenTracks", [10., 50., 50.])
36 flags.addFlag(
"TrkPairSel.MaxEta", [0.3, 0.5, 0.5])
37 flags.addFlag(
"TrkPairSel.MinTrackAngle", 0.0)
40 flags.addFlag(
"VtxPt.MinDeltaR", [-5., -25., -50.])
41 flags.addFlag(
"VtxPt.MaxDeltaR", [5., 10., 10.])
42 flags.addFlag(
"VtxPt.MaxPhi", [0.05, 0.2, 0.2])
45 flags.addFlag(
"SecVtxPost.MinRadius", [20.0, 70.0, 250.0])
46 flags.addFlag(
"SecVtxPost.MaxPhiVtxTrk", 0.2)
49 flags.addFlag(
"SingleTrk.MaxBLayerHits", 0)
50 flags.addFlag(
"SingleTrk.MinInitialHitRadius", 70.)
51 flags.addFlag(
"SingleTrk.MinInitialHitRadius_noBlay", 120.)
53 flags.addFlag(
"SingleTrk.MinRatioOfHLhits",
lambda pcf: (
54 0.40
if pcf.GeoModel.Run
is LHCPeriod.Run3
else 0.51))
57 flags.addFlag(
"Finder.RemoveTrtTracks",
False)
58 flags.addFlag(
"Finder.MinDistVtxHit", -350.)
59 flags.addFlag(
"Finder.MaxDistVtxHit", 250.)
60 flags.addFlag(
"Finder.MinFlightAngle", 0.)
61 flags.addFlag(
"Finder.MinInitVtxR", 0.)