ATLAS Offline Software
Functions
ITkPixelConditionsSummaryConfig Namespace Reference

Functions

def ITkPixelConditionsSummaryCfg (flags, name="ITkPixelConditionsSummary", **kwargs)
 

Detailed Description

Define a function to configure ITkPixelConditionsSummaryCfg

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

Function Documentation

◆ ITkPixelConditionsSummaryCfg()

def ITkPixelConditionsSummaryConfig.ITkPixelConditionsSummaryCfg (   flags,
  name = "ITkPixelConditionsSummary",
**  kwargs 
)
Return configured ComponentAccumulator with tool for ITk Pixel Conditions

Definition at line 12 of file ITkPixelConditionsSummaryConfig.py.

12 def ITkPixelConditionsSummaryCfg(flags, name="ITkPixelConditionsSummary", **kwargs):
13  """Return configured ComponentAccumulator with tool for ITk Pixel Conditions"""
14  acc = ITkPixelReadoutManagerCfg(flags)
15  acc.merge(ITkPixelDCSCondStateAlgCfg(flags))
16  acc.merge(ITkPixelDCSCondStatusAlgCfg(flags))
17  acc.merge(ITkPixelDeadMapCondAlgCfg(flags))
18 
19  kwargs.setdefault("PixelReadoutManager", acc.getPrimary())
20  kwargs.setdefault("PixelDetEleCollKey", "ITkPixelDetectorElementCollection")
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  acc.setPrivateTools(CompFactory.PixelConditionsSummaryTool(name=name + "Tool", **kwargs))
29  return acc
ITkPixelConditionsSummaryConfig.ITkPixelConditionsSummaryCfg
def ITkPixelConditionsSummaryCfg(flags, name="ITkPixelConditionsSummary", **kwargs)
Definition: ITkPixelConditionsSummaryConfig.py:12
ITkPixelConditionsConfig.ITkPixelDCSCondStateAlgCfg
def ITkPixelDCSCondStateAlgCfg(flags, name="ITkPixelDCSCondStateAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:104
python.PixelReadoutGeometryConfig.ITkPixelReadoutManagerCfg
def ITkPixelReadoutManagerCfg(flags, name="ITkPixelReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:13
ITkPixelConditionsConfig.ITkPixelDeadMapCondAlgCfg
def ITkPixelDeadMapCondAlgCfg(flags, name="ITkPixelDeadMapCondAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:129
ITkPixelConditionsConfig.ITkPixelDCSCondStatusAlgCfg
def ITkPixelDCSCondStatusAlgCfg(flags, name="ITkPixelDCSCondStatusAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:112