ATLAS Offline Software
Functions
python.PixelLorentzAngleConfig Namespace Reference

Functions

def PixelLorentzAngleToolCfg (flags, name="PixelLorentzAngleTool", **kwargs)
 
def PixelLorentzAngleCondAlgCfg (flags, name="PixelSiLorentzAngleCondAlg", **kwargs)
 

Function Documentation

◆ PixelLorentzAngleCondAlgCfg()

def python.PixelLorentzAngleConfig.PixelLorentzAngleCondAlgCfg (   flags,
  name = "PixelSiLorentzAngleCondAlg",
**  kwargs 
)

Definition at line 23 of file PixelLorentzAngleConfig.py.

23 def PixelLorentzAngleCondAlgCfg(flags, name="PixelSiLorentzAngleCondAlg", **kwargs):
24  acc = AtlasFieldCacheCondAlgCfg(flags)
25  acc.merge(PixelReadoutGeometryCfg(flags)) # To produce PixelDetectorElementCollection
26  acc.merge(PixelDCSCondHVAlgCfg(flags))
27  acc.merge(PixelDCSCondTempAlgCfg(flags))
28  kwargs.setdefault("SiPropertiesTool", acc.popToolsAndMerge(PixelSiPropertiesToolCfg(flags)))
29  kwargs.setdefault("UseMagFieldCache", True)
30  kwargs.setdefault("UseMagFieldDcs", not flags.Common.isOnline)
31  acc.addCondAlgo(CompFactory.PixelSiLorentzAngleCondAlg(name, **kwargs))
32  return acc
33 

◆ PixelLorentzAngleToolCfg()

def python.PixelLorentzAngleConfig.PixelLorentzAngleToolCfg (   flags,
  name = "PixelLorentzAngleTool",
**  kwargs 
)
Return a SiLorentzAngleTool configured for Pixel

Definition at line 13 of file PixelLorentzAngleConfig.py.

13 def PixelLorentzAngleToolCfg(flags, name="PixelLorentzAngleTool", **kwargs):
14  """Return a SiLorentzAngleTool configured for Pixel"""
15  acc = PixelLorentzAngleCondAlgCfg(flags)
16  kwargs.setdefault("DetectorName", "Pixel")
17  kwargs.setdefault("SiLorentzAngleCondData", "PixelSiLorentzAngleCondData")
18  kwargs.setdefault("DetEleCollKey", "PixelDetectorElementCollection")
19  kwargs.setdefault("UseMagFieldCache", True)
20  acc.setPrivateTools(CompFactory.SiLorentzAngleTool(name, **kwargs))
21  return acc
22 
PixelConditionsConfig.PixelDCSCondTempAlgCfg
def PixelDCSCondTempAlgCfg(flags, name="PixelDCSCondTempAlg", **kwargs)
Definition: PixelConditionsConfig.py:201
PixelConditionsConfig.PixelDCSCondHVAlgCfg
def PixelDCSCondHVAlgCfg(flags, name="PixelDCSCondHVAlg", **kwargs)
Definition: PixelConditionsConfig.py:162
python.PixelLorentzAngleConfig.PixelLorentzAngleToolCfg
def PixelLorentzAngleToolCfg(flags, name="PixelLorentzAngleTool", **kwargs)
Definition: PixelLorentzAngleConfig.py:13
python.PixelSiPropertiesConfig.PixelSiPropertiesToolCfg
def PixelSiPropertiesToolCfg(flags, name="PixelSiPropertiesTool", **kwargs)
Definition: PixelSiPropertiesConfig.py:25
PixelGeoModelConfig.PixelReadoutGeometryCfg
def PixelReadoutGeometryCfg(flags)
Definition: PixelGeoModelConfig.py:42
python.PixelLorentzAngleConfig.PixelLorentzAngleCondAlgCfg
def PixelLorentzAngleCondAlgCfg(flags, name="PixelSiLorentzAngleCondAlg", **kwargs)
Definition: PixelLorentzAngleConfig.py:23
python.MagFieldServicesConfig.AtlasFieldCacheCondAlgCfg
def AtlasFieldCacheCondAlgCfg(flags, **kwargs)
Definition: MagFieldServicesConfig.py:8