4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from AthenaConfiguration.Enums
import LHCPeriod
11 kwargs.setdefault(
"JetContainer",
"AntiKt4EMPFlowJets")
12 kwargs.setdefault(
"TrackClassificationTool",acc.popToolsAndMerge(
15 acc.addEventAlgo(CompFactory.TCTDecorCheckInTool(name, **kwargs))
20 kwargs.setdefault(
"trkSctHits", 4
if flags.GeoModel.Run <= LHCPeriod.Run3
else -1)
21 kwargs.setdefault(
"useFivePtJetBinVersion", flags.BTagging.TrkClassFiveBinMode)
23 if "VertexFitterTool" not in kwargs:
24 from TrkConfig.TrkVKalVrtFitterConfig
import TrkVKalVrtFitterCfg
25 kwargs.setdefault(
"VertexFitterTool", acc.popToolsAndMerge(
28 acc.setPrivateTools(CompFactory.InDet.InDetTrkInJetType(name, **kwargs))
34 from TrkConfig.TrkVKalVrtFitterConfig
import BTAG_TrkVKalVrtFitterCfg
37 if "TrackClassTool" not in kwargs:
38 kwargs.setdefault(
"TrackClassTool", acc.popToolsAndMerge(
41 kwargs.setdefault(
"ExistIBL", flags.GeoModel.Run
in [LHCPeriod.Run2, LHCPeriod.Run3])
42 kwargs.setdefault(
"getNegativeTag",
"Flip" in name)
43 kwargs.setdefault(
"UseFrozenVersion",
True)
44 kwargs.setdefault(
"VertexFitterTool", VertexFitter)
46 if flags.GeoModel.Run >= LHCPeriod.Run4:
47 from InDetConfig.InDetEtaDependentCutsConfig
import IDEtaDependentCuts_SV1_SvcCfg
49 kwargs.setdefault(
"InDetEtaDependentCutsSvc", acc.getService(
"IDEtaDepCutsSvc_" + name))
50 kwargs.setdefault(
"useVertexCleaningPix",
False)
51 kwargs.setdefault(
"useITkMaterialRejection",
True)
53 acc.setPrivateTools(CompFactory.InDet.InDetVKalVxInJetTool(name,**kwargs))
57 kwargs.setdefault(
"getNegativeTail",
False)
58 kwargs.setdefault(
"ConeForTag", 1.0)
59 kwargs.setdefault(
"MultiVertex",
True)
63 kwargs.setdefault(
"CutSharedHits", 0)
64 kwargs.setdefault(
"Sel2VrtChi2Cut", 4.)
65 kwargs.setdefault(
"CutBVrtScore", 0.002)