ATLAS Offline Software
HGTD_ConditionsAlgorithmsConfig.py
Go to the documentation of this file.
1 """Define functions to configure HGTD conditions algorithms
2 
3 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4 """
5 
6 def HGTD_DetectorElementCondAlgCfg(flags, name="HGTD_DetectorElementCondAlg", **kwargs):
7  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
8  from AthenaConfiguration.ComponentFactory import CompFactory
9  """Return a ComponentAccumulator with configured HGTD_DetectorElementCondAlg for HGTD"""
10  acc = ComponentAccumulator()
11  kwargs.setdefault("DetManagerName", "HGTD")
12  kwargs.setdefault("WriteKey", "HGTD_DetectorElementCollection")
13  acc.addCondAlgo(CompFactory.HGTD_DetectorElementCondAlg(name, **kwargs))
14  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
HGTD_ConditionsAlgorithmsConfig.HGTD_DetectorElementCondAlgCfg
def HGTD_DetectorElementCondAlgCfg(flags, name="HGTD_DetectorElementCondAlg", **kwargs)
Definition: HGTD_ConditionsAlgorithmsConfig.py:6