ATLAS Offline Software
Loading...
Searching...
No Matches
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
3from AthenaConfiguration.ComponentFactory import CompFactory
4
5def 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
PixelToTPIDToolCfg(flags, name="PixelToTPIDTool", **kwargs)