25def SKIMKernelCfg(flags, name='SKIMKernel', **kwargs):
26 """Configure the derivation framework driving algorithm (kernel)"""
27 acc = ComponentAccumulator()
28 acc.addSequence( seqAND("SKIMSequence") )
29 acc.getSequence("SKIMSequence").ExtraDataForDynamicConsumers = flags.Derivation.dynamicConsumers
30 acc.getSequence("SKIMSequence").ProcessDynamicDataDependencies = True
31 skimmingTool = acc.getPrimaryAndMerge(SKIMSkimmingToolCfg(flags))
32 DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
33 acc.addEventAlgo(DerivationKernel(name, SkimmingTools = [skimmingTool]), sequenceName="SKIMSequence")
34 return acc
35
36