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

Functions

 ITkPixelSiPropertiesCondAlgCfg (flags, name="ITkPixelSiPropertiesCondAlg", **kwargs)
 ITkPixelSiPropertiesToolCfg (flags, name="ITkPixelSiPropertiesTool", **kwargs)

Detailed Description

Define methods to configure SiPropertiesTool

Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ ITkPixelSiPropertiesCondAlgCfg()

python.ITkPixelSiPropertiesConfig.ITkPixelSiPropertiesCondAlgCfg ( flags,
name = "ITkPixelSiPropertiesCondAlg",
** kwargs )
Return configured ComponentAccumulator and tool for ITkPixelSiPropertiesCondAlg

SiPropertiesTool may be provided in kwargs

Definition at line 12 of file ITkPixelSiPropertiesConfig.py.

12def ITkPixelSiPropertiesCondAlgCfg(flags, name="ITkPixelSiPropertiesCondAlg", **kwargs):
13 """Return configured ComponentAccumulator and tool for ITkPixelSiPropertiesCondAlg
14
15 SiPropertiesTool may be provided in kwargs
16 """
17 acc = ComponentAccumulator()
18 acc.merge(ITkPixelDCSCondHVAlgCfg(flags))
19 acc.merge(ITkPixelDCSCondTempAlgCfg(flags))
20 kwargs.setdefault("PixelDetEleCollKey", "ITkPixelDetectorElementCollection")
21 kwargs.setdefault("ReadKeyeTemp", "ITkPixelDCSTempCondData")
22 kwargs.setdefault("ReadKeyHV", "ITkPixelDCSHVCondData")
23 kwargs.setdefault("WriteKey", "ITkPixelSiliconPropertiesVector")
24 acc.addCondAlgo(CompFactory.PixelSiPropertiesCondAlg(name, **kwargs))
25 return acc
26
27

◆ ITkPixelSiPropertiesToolCfg()

python.ITkPixelSiPropertiesConfig.ITkPixelSiPropertiesToolCfg ( flags,
name = "ITkPixelSiPropertiesTool",
** kwargs )
Return a SiPropertiesTool configured for ITk Pixel

Definition at line 28 of file ITkPixelSiPropertiesConfig.py.

28def ITkPixelSiPropertiesToolCfg(flags, name="ITkPixelSiPropertiesTool", **kwargs):
29 """Return a SiPropertiesTool configured for ITk Pixel"""
30 acc = ITkPixelSiPropertiesCondAlgCfg(flags)
31 kwargs.setdefault("DetectorName", "Pixel")
32 kwargs.setdefault("ReadKey", "ITkPixelSiliconPropertiesVector")
33 acc.setPrivateTools(CompFactory.SiPropertiesTool(name, **kwargs))
34 return acc