26 """Decorate systematically varied generator weights to
27 'EventInfo', with a human-readable name.
29 With systematicsRegex set to 'None', do not add the
33 ca = ComponentAccumulator()
36 if systematicsRegex
is not None:
38 CompFactory.CP.SystematicsSvc(
39 name=
"SystematicsSvc",
41 systematicsRegex=systematicsRegex,
44 ca.merge(MetaDataSvcCfg(flags))
46 CompFactory.CP.PMGTruthWeightAlg(
47 name=
"PMGTruthWeightAlg",
48 truthWeightTool=CompFactory.PMGTools.PMGTruthWeightTool(
49 name=
"PMGTruthWeightTool"
51 decoration =
'generatorWeight_%SYS%',