2 from AthenaServices.MetaDataSvcConfig 
import MetaDataSvcCfg
 
    3 from AthenaConfiguration.ComponentAccumulator 
import ComponentAccumulator
 
    4 from AthenaConfiguration.ComponentFactory 
import CompFactory
 
   26     """Decorate systematically varied generator weights to 
   27     'EventInfo', with a human-readable name. 
   29     With systematicsRegex set to 'None', do not add the 
   36     if systematicsRegex 
is not None:
 
   38             CompFactory.CP.SystematicsSvc(
 
   39                 name=
"SystematicsSvc",
 
   41                 systematicsRegex=systematicsRegex,
 
   46         CompFactory.CP.PMGTruthWeightAlg(
 
   47             name=
"PMGTruthWeightAlg",
 
   48             truthWeightTool=CompFactory.PMGTools.PMGTruthWeightTool(
 
   49                 name=
"PMGTruthWeightTool" 
   51             decoration = 
'generatorWeight_%SYS%',