84 """Configure the derivation framework driving algorithm (kernel)"""
88 if not flags.Input.isMC:
90 skimmingTool += [triggers]
96 from InDetConfig.InDetTrackSelectionToolConfig
import InDetTrackSelectionTool_HILoose_Cfg
99 name =
"HION14TrackSelectionToolLoose",
104 acc.addPublicTool(HILooseTrackSelector)
106 HION14TrackThinningTool = CompFactory.DerivationFramework.HITrackParticleThinningTool(name=
"HION14TrackThinningTool",
108 PrimaryVertexKey=
"PrimaryVertices",
109 PrimaryVertexSelection=
"sumPt2",
110 TrackSelectionTool=HILooseTrackSelector
113 acc.addPublicTool(HION14TrackThinningTool)
114 thinningTool += [HION14TrackThinningTool]
117 muonThinningTool = CompFactory.DerivationFramework.MuonTrackParticleThinning(name=
"HION14MuonThinningTool",
119 InDetTrackParticlesKey =
"InDetTrackParticles")
121 acc.addPublicTool(muonThinningTool)
122 thinningTool += [muonThinningTool]
126 truth_thinning_expression =
"(TruthParticles.status == 1) && ( (TruthParticles.pdgId != 2112 && TruthParticles.pdgId != 2212) || TruthParticles.pt > 0.1 )"
128 from DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import GenericTruthThinningCfg
131 name=
"HION14TruthThinningTool",
132 StreamName=kwargs[
'StreamName'],
133 ParticleSelectionString=truth_thinning_expression
137 thinningTool += [HION14TruthThinningTool]
144 augmentationTool = [globalAugmentationTool, tightAugmentationTool, centralityAugmentatioTool]
146 DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
148 SkimmingTools= skimmingTool,
149 ThinningTools=thinningTool,
150 AugmentationTools=augmentationTool