ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_ConditionsAlgorithmsConfig.py
Go to the documentation of this file.
1"""Define functions to configure HGTD conditions algorithms
2
3Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4"""
5
6def 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
HGTD_DetectorElementCondAlgCfg(flags, name="HGTD_DetectorElementCondAlg", **kwargs)