3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
27 "cleanup": [
"DropFeatures",
"Reload",
"SyncThinning",
"Save"],
28 "cleanup_noreload": [
"DropFeatures",
"SyncThinning",
"Save"],
34 assert "name" in thinningConfig,
"name of the configuration is missing"
35 assert "mode" in thinningConfig,
"mode of slimming has to be configured"
38 svc = CompFactory.TrigNavigationThinningSvc(
39 thinningConfig[
"name"] +
"ThinSvc", Actions=
_actions(thinningConfig[
"mode"])
41 if "chains" in thinningConfig:
42 svc.ChainsRegex = thinningConfig[
"chains"]
43 if "features" in thinningConfig:
44 svc.FeatureInclusionList = thinningConfig[
"features"]
45 if "Print" in svc.Actions:
48 svc.OutputLevel = DEBUG
49 acc.addService(svc, primary =
True)