ATLAS Offline Software
TBDetDescrAlgConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def TBDetDescrLoaderCfg(flags, **kwargs):
7  result = ComponentAccumulator()
8  kwargs.setdefault("TBElementContainer", "TBElementCnt")
9  kwargs.setdefault("TBDetDescrManager", "TBDetDescrMgr")
10  # do not read anything from StoreGate
11  kwargs.setdefault("ReadAction", 0)
12  # and write TBDetDescrContainer to StoreGate every event
13  kwargs.setdefault("WriteAction", 2)
14  kwargs.setdefault("OutputLevel", 5)
15  result.addEventAlgo(CompFactory.TBDetDescrLoader(**kwargs))
16  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TBDetDescrAlgConfig.TBDetDescrLoaderCfg
def TBDetDescrLoaderCfg(flags, **kwargs)
Definition: TBDetDescrAlgConfig.py:6