6 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7 from AthenaConfiguration.ComponentFactory
import CompFactory
8 LArBadChannelCondAlg, LArBadFebCondAlg =CompFactory.getComps(
"LArBadChannelCondAlg",
"LArBadFebCondAlg")
9 from IOVDbSvc.IOVDbSvcConfig
import addFolders
15 if not flags.LArCalib.isSC:
16 foldername=
"/LAR/BadChannelsOfl/BadChannels"
17 foldertag=
"".
join(foldername.split(
"/"))+flags.LArCalib.BadChannelTag
19 result.merge(
addFolders(flags,foldername+
"<tag>"+foldertag+
"</tag>",flags.LArCalib.BadChannelDB,
20 className=
"CondAttrListCollection"))
23 foldername=
"/LAR/BadChannelsOfl/BadChannelsSC"
24 foldertag=
"".
join(foldername.split(
"/"))+flags.LArCalib.BadChannelTagSC
25 result.merge(
addFolders(flags,foldername+
"<tag>"+foldertag+
"</tag>",flags.LArCalib.BadChannelDB,
26 className=
"CondAttrListCollection"))
28 CablingKey=
"LArOnOffIdMapSC",WriteKey=
"LArBadChannelSC")
30 result.addCondAlgo(theLArBadChannelCondAlgo)