ATLAS Offline Software
Functions
python.PLR_SiPropertiesConfig Namespace Reference

Functions

def PLR_SiPropertiesCondAlgCfg (flags, name="PLR_SiPropertiesCondAlg", **kwargs)
 
def PLR_SiPropertiesToolCfg (flags, name="PLR_SiPropertiesTool", **kwargs)
 

Detailed Description

Define methods to configure SiPropertiesTool for PLR

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

Function Documentation

◆ PLR_SiPropertiesCondAlgCfg()

def python.PLR_SiPropertiesConfig.PLR_SiPropertiesCondAlgCfg (   flags,
  name = "PLR_SiPropertiesCondAlg",
**  kwargs 
)
Return configured ComponentAccumulator and tool for PLR_SiPropertiesCondAlg

SiPropertiesTool may be provided in kwargs

Definition at line 13 of file PLR_SiPropertiesConfig.py.

13 def PLR_SiPropertiesCondAlgCfg(flags, name="PLR_SiPropertiesCondAlg", **kwargs):
14  """Return configured ComponentAccumulator and tool for PLR_SiPropertiesCondAlg
15 
16  SiPropertiesTool may be provided in kwargs
17  """
18  acc = ComponentAccumulator()
19  acc.merge(PLR_DCSCondHVAlgCfg(flags))
20  acc.merge(PLR_DCSCondTempAlgCfg(flags))
21  kwargs.setdefault("PixelIDName", "PLR_ID")
22  kwargs.setdefault("PixelDetEleCollKey", "PLR_DetectorElementCollection")
23  kwargs.setdefault("ReadKeyeTemp", "PLR_DCSTempCondData")
24  kwargs.setdefault("ReadKeyHV", "PLR_DCSHVCondData")
25  kwargs.setdefault("WriteKey", "PLR_SiliconPropertiesVector")
26  acc.addCondAlgo(CompFactory.PixelSiPropertiesCondAlg(name, **kwargs))
27  return acc
28 
29 

◆ PLR_SiPropertiesToolCfg()

def python.PLR_SiPropertiesConfig.PLR_SiPropertiesToolCfg (   flags,
  name = "PLR_SiPropertiesTool",
**  kwargs 
)
Return a SiPropertiesTool configured for PLR

Definition at line 30 of file PLR_SiPropertiesConfig.py.

30 def PLR_SiPropertiesToolCfg(flags, name="PLR_SiPropertiesTool", **kwargs):
31  """Return a SiPropertiesTool configured for PLR"""
32  acc = PLR_SiPropertiesCondAlgCfg(flags)
33  kwargs.setdefault("DetectorName", "PLR")
34  kwargs.setdefault("ReadKey", "PLR_SiliconPropertiesVector")
35  acc.setPrivateTools(CompFactory.SiPropertiesTool(name, **kwargs))
36  return acc
PLR_ConditionsConfig.PLR_DCSCondHVAlgCfg
def PLR_DCSCondHVAlgCfg(flags, name="PLR_DCSCondHVAlg", **kwargs)
Definition: PLR_ConditionsConfig.py:59
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.PLR_SiPropertiesConfig.PLR_SiPropertiesToolCfg
def PLR_SiPropertiesToolCfg(flags, name="PLR_SiPropertiesTool", **kwargs)
Definition: PLR_SiPropertiesConfig.py:30
PLR_ConditionsConfig.PLR_DCSCondTempAlgCfg
def PLR_DCSCondTempAlgCfg(flags, name="PLR_DCSCondTempAlg", **kwargs)
Definition: PLR_ConditionsConfig.py:70
python.PLR_SiPropertiesConfig.PLR_SiPropertiesCondAlgCfg
def PLR_SiPropertiesCondAlgCfg(flags, name="PLR_SiPropertiesCondAlg", **kwargs)
Definition: PLR_SiPropertiesConfig.py:13