ATLAS Offline Software
PixelToTPIDToolConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 # Configuration of PixelToTPIDTool package
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 
5 def PixelToTPIDToolCfg(flags, name = "PixelToTPIDTool", **kwargs):
6  from PixelConditionsAlgorithms.PixelConditionsConfig import PixeldEdxAlgCfg, PixelChargeCalibCondCfg
7  acc = PixeldEdxAlgCfg(flags) # To produce PixeldEdxData CondHandle
8  acc.merge(PixelChargeCalibCondCfg(flags))
9  acc.setPrivateTools(CompFactory.InDet.PixelToTPIDTool(name, **kwargs))
10  return acc
python.PixelToTPIDToolConfig.PixelToTPIDToolCfg
def PixelToTPIDToolCfg(flags, name="PixelToTPIDTool", **kwargs)
Definition: PixelToTPIDToolConfig.py:5
PixelConditionsConfig.PixelChargeCalibCondCfg
def PixelChargeCalibCondCfg(flags, **kwargs)
Definition: PixelConditionsConfig.py:415
PixelConditionsConfig.PixeldEdxAlgCfg
def PixeldEdxAlgCfg(flags, name="PixeldEdxAlg", **kwargs)
Definition: PixelConditionsConfig.py:320