ATLAS Offline Software
LArFebConfigCondAlgConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
2 from IOVDbSvc.IOVDbSvcConfig import addFolders
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 
5 def LArFebConfigCondAlgCfg(flags, name="LArFEBConfigCondAlg", **kwargs):
6  """Return ComponentAccumulator with configured LArFEBConfigCondAlg"""
7  defaultFolders = [
8  "/LAR/Configuration/FEBConfig/Physics/EMBA1",
9  "/LAR/Configuration/FEBConfig/Physics/EMBA2",
10  "/LAR/Configuration/FEBConfig/Physics/EMBA3",
11  "/LAR/Configuration/FEBConfig/Physics/EMBA4",
12  "/LAR/Configuration/FEBConfig/Physics/EMBC1",
13  "/LAR/Configuration/FEBConfig/Physics/EMBC2",
14  "/LAR/Configuration/FEBConfig/Physics/EMBC3",
15  "/LAR/Configuration/FEBConfig/Physics/EMBC4",
16  "/LAR/Configuration/FEBConfig/Physics/EMECA1",
17  "/LAR/Configuration/FEBConfig/Physics/EMECA2",
18  "/LAR/Configuration/FEBConfig/Physics/EMECA3",
19  "/LAR/Configuration/FEBConfig/Physics/EMECC1",
20  "/LAR/Configuration/FEBConfig/Physics/EMECC2",
21  "/LAR/Configuration/FEBConfig/Physics/EMECC3",
22  "/LAR/Configuration/FEBConfig/Physics/FCALA",
23  "/LAR/Configuration/FEBConfig/Physics/FCALC",
24  "/LAR/Configuration/FEBConfig/Physics/HECA",
25  "/LAR/Configuration/FEBConfig/Physics/HECC",
26  ]
27  LArFebConfigFolders = kwargs.setdefault("ListOfFolders", defaultFolders)
28  kwargs.setdefault("keyOutput", "LArFebConfig")
29  acc = addFolders(flags, LArFebConfigFolders, "LAR_ONL", "CondAttrListCollection")
30  acc.addCondAlgo(CompFactory.LArFEBConfigCondAlg(name, **kwargs))
31  return acc
32 
python.LArFebConfigCondAlgConfig.LArFebConfigCondAlgCfg
def LArFebConfigCondAlgCfg(flags, name="LArFEBConfigCondAlg", **kwargs)
Definition: LArFebConfigCondAlgConfig.py:5
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72