ATLAS Offline Software
Functions | Variables
python.LArCalib_BadChannelConfig Namespace Reference

Functions

def LArCalibBadChannelCfg (flags)
 

Variables

 LArBadChannelCondAlg
 
 LArBadFebCondAlg
 

Function Documentation

◆ LArCalibBadChannelCfg()

def python.LArCalib_BadChannelConfig.LArCalibBadChannelCfg (   flags)

Definition at line 12 of file LArCalib_BadChannelConfig.py.

12 def LArCalibBadChannelCfg(flags):
13  result=ComponentAccumulator()
14 
15  if not flags.LArCalib.isSC:
16  foldername="/LAR/BadChannelsOfl/BadChannels"
17  foldertag="".join(foldername.split("/"))+flags.LArCalib.BadChannelTag
18 
19  result.merge(addFolders(flags,foldername+"<tag>"+foldertag+"</tag>",flags.LArCalib.BadChannelDB,
20  className="CondAttrListCollection"))
21  theLArBadChannelCondAlgo=LArBadChannelCondAlg(ReadKey=foldername)
22  else:
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"))
27  theLArBadChannelCondAlgo=LArBadChannelCondAlg(ReadKey=foldername, isSC=flags.LArCalib.isSC,
28  CablingKey="LArOnOffIdMapSC",WriteKey="LArBadChannelSC")
29 
30  result.addCondAlgo(theLArBadChannelCondAlgo)
31  return result
32 
33 

Variable Documentation

◆ LArBadChannelCondAlg

python.LArCalib_BadChannelConfig.LArBadChannelCondAlg

Definition at line 8 of file LArCalib_BadChannelConfig.py.

◆ LArBadFebCondAlg

python.LArCalib_BadChannelConfig.LArBadFebCondAlg

Definition at line 8 of file LArCalib_BadChannelConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArBadChannelCondAlg
Definition: LArBadChannelCondAlg.h:17
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
python.LArCalib_BadChannelConfig.LArCalibBadChannelCfg
def LArCalibBadChannelCfg(flags)
Definition: LArCalib_BadChannelConfig.py:12
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10