ATLAS Offline Software
Loading...
Searching...
No Matches
TBDetDescrAlgConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6def 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
TBDetDescrLoaderCfg(flags, **kwargs)