86 """Configure the derivation framework driving algorithm (kernel)"""
90 if not flags.Input.isMC:
92 skimmingTool += [triggers]
98 from InDetConfig.InDetTrackSelectionToolConfig
import InDetTrackSelectionTool_HILoose_Cfg
101 name =
"HION14TrackSelectionToolLoose",
106 acc.addPublicTool(HILooseTrackSelector)
108 HION14TrackThinningTool = CompFactory.DerivationFramework.HITrackParticleThinningTool(name=
"HION14TrackThinningTool",
110 PrimaryVertexKey=
"PrimaryVertices",
111 PrimaryVertexSelection=
"sumPt2",
112 TrackSelectionTool=HILooseTrackSelector
115 acc.addPublicTool(HION14TrackThinningTool)
116 thinningTool += [HION14TrackThinningTool]
119 muonThinningTool = CompFactory.DerivationFramework.MuonTrackParticleThinning(name=
"HION14MuonThinningTool",
121 InDetTrackParticlesKey =
"InDetTrackParticles")
123 acc.addPublicTool(muonThinningTool)
124 thinningTool += [muonThinningTool]
128 truth_thinning_expression =
"(TruthParticles.status == 1) && ( (TruthParticles.pdgId != 2112 && TruthParticles.pdgId != 2212) || TruthParticles.pt > 0.1 )"
130 from DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import GenericTruthThinningCfg
133 name=
"HION14TruthThinningTool",
134 StreamName=kwargs[
'StreamName'],
135 ParticleSelectionString=truth_thinning_expression
139 thinningTool += [HION14TruthThinningTool]
146 augmentationTool = [globalAugmentationTool, tightAugmentationTool, centralityAugmentatioTool]
148 DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
150 SkimmingTools= skimmingTool,
151 ThinningTools=thinningTool,
152 AugmentationTools=augmentationTool