3 """Define methods to construct configured RegSelCondAlg_Tile conditions algorithm"""
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
9 """Return component accumulator with configured RegSelCondAlg_Tile conditions algorithm"""
11 kwargs.setdefault(
'name',
'RegSelCondAlg_Tile')
15 from TileGeoModel.TileGMConfig
import TileGMCfg
18 from TileByteStream.TileHid2RESrcIDConfig
import TileHid2RESrcIDCondAlgCfg
21 RegSelCondAlg_Tile = CompFactory.RegSelCondAlg_Tile
28 if __name__ ==
"__main__":
30 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
31 from AthenaConfiguration.TestDefaults
import defaultGeometryTags, defaultTestFiles
32 from AthenaCommon.Logging
import log
39 flags.Input.Files = defaultTestFiles.RAW_RUN2
40 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
44 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
47 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamReadCfg
52 cfg.printConfig(withDetails =
True, summariseProps =
True)
53 cfg.store(
open(
'RegSelCondAlg_Tile.pkl',
'wb') )
59 sys.exit(
not sc.isSuccess())