25 """Return component accumulator with configured TileHid2ReSrcIDCondAlg conditions algorithm"""
27 forHLT = kwargs.get(
'ForHLT',
False)
28 hid2RESrcID =
'TileHid2RESrcIDHLT' if forHLT
else 'TileHid2RESrcID'
29 kwargs.setdefault(
'TileHid2RESrcID', hid2RESrcID)
30 kwargs.setdefault(
'name', f
'{hid2RESrcID}CondAlg')
34 from TileGeoModel.TileGMConfig
import TileGMCfg
40 if flags.IOVDb.DatabaseInstance ==
'COMP200':
42 kwargs[
'FullTileMode'] = 1
43 elif flags.Input.isMC:
44 rodFolder =
'/TILE/OFL02/STATUS/ROD'
46 acc.merge(
addFolders(flags, rodFolder,
'TILE_OFL', tag=
'TileOfl02StatusRod-RUN3-00', className=
'CondAttrListCollection'))
48 rodFolder =
'/TILE/ONL01/STATUS/ROD'
49 acc.merge(
addFolders(flags, rodFolder,
'TILE', className=
'CondAttrListCollection'))
52 TileCondProxyCoolInt = CompFactory.getComp(
"TileCondProxyCool<TileCalibDrawerInt>")
54 kwargs[
'RODStatusProxy'] = rodStatusProxy
56 elif source ==
'FILE':
57 TileCondProxyFileInt = CompFactory.getComp(
"TileCondProxyFile<TileCalibDrawerInt>")
59 kwargs[
'RODStatusProxy'] = rodStatusProxy
61 TileHid2ReSrcIDCondAlg = CompFactory.TileHid2RESrcIDCondAlg
62 acc.addCondAlgo( TileHid2ReSrcIDCondAlg(**kwargs) )