ATLAS Offline Software
Functions
PLR_ConditionsSummaryConfig Namespace Reference

Functions

def PLR_ConditionsSummaryCfg (flags, name="PLR_ConditionsSummary", **kwargs)
 

Detailed Description

Define a function to configure PLR_ConditionsSummaryCfg

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

Function Documentation

◆ PLR_ConditionsSummaryCfg()

def PLR_ConditionsSummaryConfig.PLR_ConditionsSummaryCfg (   flags,
  name = "PLR_ConditionsSummary",
**  kwargs 
)
Return configured ComponentAccumulator with tool for ITk Pixel Conditions

Definition at line 12 of file PLR_ConditionsSummaryConfig.py.

12 def PLR_ConditionsSummaryCfg(flags, name="PLR_ConditionsSummary", **kwargs):
13  """Return configured ComponentAccumulator with tool for ITk Pixel Conditions"""
14  acc = PLR_ReadoutManagerCfg(flags)
15  acc.merge(ITkPixelDCSCondStateAlgCfg(flags))
16  acc.merge(ITkPixelDCSCondStatusAlgCfg(flags))
17  acc.merge(ITkPixelDeadMapCondAlgCfg(flags))
18 
19  kwargs.setdefault("PixelReadoutManager", "PLR_ReadoutManager")
20  kwargs.setdefault("PixelDetEleCollKey", "PLR_DetectorElementCollection")
21  kwargs.setdefault("PixelDCSStateCondData", "ITkPixelDCSStateCondData")
22  kwargs.setdefault("PixelDCSStatusCondData", "ITkPixelDCSStatusCondData")
23  kwargs.setdefault("PixelDeadMapCondData", "ITkPixelDeadMapCondData")
24  kwargs.setdefault("UseByteStreamFEI4", not flags.Input.isMC)
25  kwargs.setdefault("UseByteStreamFEI3", not flags.Input.isMC)
26  kwargs.setdefault("UseByteStreamRD53", False) # Turned off until BS format is defined
27 
28  if flags.InDet.usePixelDCS:
29  kwargs.setdefault("IsActiveStates", [ 'READY', 'ON', 'UNKNOWN', 'TRANSITION', 'UNDEFINED' ])
30  kwargs.setdefault("IsActiveStatus", [ 'OK', 'WARNING', 'ERROR', 'FATAL' ])
31 
32  acc.setPrivateTools(CompFactory.PixelConditionsSummaryTool(name=name + "Tool", **kwargs))
33  return acc
PLR_ConditionsSummaryConfig.PLR_ConditionsSummaryCfg
def PLR_ConditionsSummaryCfg(flags, name="PLR_ConditionsSummary", **kwargs)
Definition: PLR_ConditionsSummaryConfig.py:12
ITkPixelConditionsConfig.ITkPixelDCSCondStateAlgCfg
def ITkPixelDCSCondStateAlgCfg(flags, name="ITkPixelDCSCondStateAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:104
ITkPixelConditionsConfig.ITkPixelDeadMapCondAlgCfg
def ITkPixelDeadMapCondAlgCfg(flags, name="ITkPixelDeadMapCondAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:129
python.PixelReadoutGeometryConfig.PLR_ReadoutManagerCfg
def PLR_ReadoutManagerCfg(flags, name="PLR_ReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:19
ITkPixelConditionsConfig.ITkPixelDCSCondStatusAlgCfg
def ITkPixelDCSCondStatusAlgCfg(flags, name="ITkPixelDCSCondStatusAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:112