2from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory
import CompFactory
6 flags, name="ElectronVariableCorrectionTool", **kwargs):
7 """Configure the e/gamma variable correction tool"""
8 acc = ComponentAccumulator()
10 kwargs.setdefault(
"ConfigFile",
"EGammaVariableCorrection/TUNE27/ElVariableNominalCorrection.conf")
12 CompFactory.ElectronPhotonVariableCorrectionTool(name, **kwargs))
16 flags, name="PhotonVariableCorrectionTool", **kwargs):
17 """Configure the e/gamma variable correction tool"""
18 acc = ComponentAccumulator()
20 kwargs.setdefault(
"ConfigFile",
"EGammaVariableCorrection/TUNE25/ElPhVariableNominalCorrection.conf")
22 CompFactory.ElectronPhotonVariableCorrectionTool(name, **kwargs))
ElectronVariableCorrectionToolCfg(flags, name="ElectronVariableCorrectionTool", **kwargs)
PhotonVariableCorrectionToolCfg(flags, name="PhotonVariableCorrectionTool", **kwargs)