ATLAS Offline Software
Functions
python.LArCalibBaseConfig Namespace Reference

Functions

def LArCalibBaseCfg (flags)
 
def chanSelStr (flags)
 

Function Documentation

◆ chanSelStr()

def python.LArCalibBaseConfig.chanSelStr (   flags)

Definition at line 33 of file LArCalibBaseConfig.py.

33 def chanSelStr(flags):
34  inp=flags.LArCalib.Input.ChannelSelection
35  if inp=="": return ""
36  if inp.startswith("<channelSelection>"): return inp
37 
38  return "<channelSelection>"+inp+"</channelSelection>"

◆ LArCalibBaseCfg()

def python.LArCalibBaseConfig.LArCalibBaseCfg (   flags)

Definition at line 5 of file LArCalibBaseConfig.py.

5 def LArCalibBaseCfg(flags):
6  result=ComponentAccumulator()
7 
8  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
9  result.merge(LArGMCfg(flags))
10 
11  if flags.LArCalib.isSC:
12  #Setup SuperCell cabling
13  from LArCabling.LArCablingConfig import LArOnOffIdMappingSCCfg, LArCalibIdMappingSCCfg, LArLATOMEMappingCfg
14  result.merge(LArOnOffIdMappingSCCfg(flags))
15  result.merge(LArCalibIdMappingSCCfg(flags))
16  result.merge(LArLATOMEMappingCfg(flags))
17  else:
18  #Setup regular cabling
19  from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg, LArCalibIdMappingCfg
20  result.merge(LArOnOffIdMappingCfg(flags))
21  result.merge(LArCalibIdMappingCfg(flags))
22 
23  #Set up bad-channel config
24  from LArCalibProcessing.LArCalib_BadChannelConfig import LArCalibBadChannelCfg
25 
26  result.merge(LArCalibBadChannelCfg(flags))
27  return result
28 
29 
30 
31 
32 #Helper method to maipulate channel selection string
LArCablingConfig.LArOnOffIdMappingSCCfg
def LArOnOffIdMappingSCCfg(configFlags)
Definition: LArCablingConfig.py:65
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.LArCalibBaseConfig.chanSelStr
def chanSelStr(flags)
Definition: LArCalibBaseConfig.py:33
LArCablingConfig.LArLATOMEMappingCfg
def LArLATOMEMappingCfg(configFlags)
Definition: LArCablingConfig.py:95
LArCablingConfig.LArOnOffIdMappingCfg
def LArOnOffIdMappingCfg(configFlags)
Definition: LArCablingConfig.py:62
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
python.LArCalib_BadChannelConfig.LArCalibBadChannelCfg
def LArCalibBadChannelCfg(flags)
Definition: LArCalib_BadChannelConfig.py:12
python.LArCalibBaseConfig.LArCalibBaseCfg
def LArCalibBaseCfg(flags)
Definition: LArCalibBaseConfig.py:5
LArCablingConfig.LArCalibIdMappingSCCfg
def LArCalibIdMappingSCCfg(configFlags)
Definition: LArCablingConfig.py:86
LArCablingConfig.LArCalibIdMappingCfg
def LArCalibIdMappingCfg(configFlags)
Definition: LArCablingConfig.py:83