ATLAS Offline Software
Loading...
Searching...
No Matches
python.EGammaVariableCorrectionConfig Namespace Reference

Functions

 ElectronVariableCorrectionToolCfg (flags, name="ElectronVariableCorrectionTool", **kwargs)
 PhotonVariableCorrectionToolCfg (flags, name="PhotonVariableCorrectionTool", **kwargs)

Function Documentation

◆ ElectronVariableCorrectionToolCfg()

python.EGammaVariableCorrectionConfig.ElectronVariableCorrectionToolCfg ( flags,
name = "ElectronVariableCorrectionTool",
** kwargs )
Configure the e/gamma variable correction tool

Definition at line 5 of file EGammaVariableCorrectionConfig.py.

6 flags, name="ElectronVariableCorrectionTool", **kwargs):
7 """Configure the e/gamma variable correction tool"""
8 acc = ComponentAccumulator()
9 # Can ultimately be configured differently between Run 2 and Run 3 configs
10 kwargs.setdefault("ConfigFile", "EGammaVariableCorrection/TUNE27/ElVariableNominalCorrection.conf")
11 acc.setPrivateTools(
12 CompFactory.ElectronPhotonVariableCorrectionTool(name, **kwargs))
13 return acc
14

◆ PhotonVariableCorrectionToolCfg()

python.EGammaVariableCorrectionConfig.PhotonVariableCorrectionToolCfg ( flags,
name = "PhotonVariableCorrectionTool",
** kwargs )
Configure the e/gamma variable correction tool

Definition at line 15 of file EGammaVariableCorrectionConfig.py.

16 flags, name="PhotonVariableCorrectionTool", **kwargs):
17 """Configure the e/gamma variable correction tool"""
18 acc = ComponentAccumulator()
19 # Use TUNE 25 for now for photons
20 kwargs.setdefault("ConfigFile", "EGammaVariableCorrection/TUNE25/ElPhVariableNominalCorrection.conf")
21 acc.setPrivateTools(
22 CompFactory.ElectronPhotonVariableCorrectionTool(name, **kwargs))
23 return acc
24
25