|
ATLAS Offline Software
|
◆ _larCablingCfg()
def LArCablingConfig._larCablingCfg |
( |
|
configFlags, |
|
|
|
algo, |
|
|
|
folder, |
|
|
|
algName = None |
|
) |
| |
|
private |
Definition at line 8 of file LArCablingConfig.py.
14 tagsperFolder={
"/LAR/Identifier/OnOffIdMap":
"LARIdentifierOnOffIdMap-012",
15 "/LAR/Identifier/FebRodMap":
"LARIdentifierFebRodMap-005",
16 "/LAR/Identifier/CalibIdMap":
"LARIdentifierCalibIdMap-012",
19 if configFlags.Input.isMC:
21 if folder
in tagsperFolder:
22 ft=tagsperFolder[folder]
23 folderwithtag=folder+
"<tag>"+ft+
"</tag>"
31 result.addCondAlgo(algo(ReadKey=folder),primary=
True)
33 result.addCondAlgo(algo(name=algName, ReadKey=folder),primary=
True)
34 result.merge(
addFolders(configFlags,folderwithtag,className=
"AthenaAttributeList",detDb=db))
◆ _larLatomeCfg()
def LArCablingConfig._larLatomeCfg |
( |
|
configFlags, |
|
|
|
algo, |
|
|
|
folder, |
|
|
|
outkey |
|
) |
| |
|
private |
Definition at line 37 of file LArCablingConfig.py.
43 tagsperFolder={
"/LAR/IdentifierSC/LatomeMapping":
"LARIdentifierSCLatomeMapping-UPD1-00"
46 if configFlags.Input.isMC:
48 if folder
in tagsperFolder:
49 ft=tagsperFolder[folder]
50 folderwithtag=folder+
"<tag>"+ft+
"</tag>"
57 result.addCondAlgo(algo(ReadKey=folder,WriteKey=outkey),primary=
True)
58 result.merge(
addFolders(configFlags,folderwithtag,className=
"CondAttrListCollection",detDb=db))
◆ LArCalibIdMappingCfg()
def LArCablingConfig.LArCalibIdMappingCfg |
( |
|
configFlags | ) |
|
◆ LArCalibIdMappingSCCfg()
def LArCablingConfig.LArCalibIdMappingSCCfg |
( |
|
configFlags | ) |
|
Definition at line 86 of file LArCablingConfig.py.
88 if not configFlags.Input.isMC:
89 result.merge(
_larCablingCfg(configFlags,LArCalibLineMappingAlg,
"/LAR/Identifier/CalibIdMap_SC",
"LArCalibLineMappingAlgSC"))
90 result.getCondAlgo(
"LArCalibLineMappingAlgSC").WriteKey=
"LArCalibIdMapSC"
91 result.getCondAlgo(
"LArCalibLineMappingAlgSC").isSuperCell=
True
92 result.getCondAlgo(
"LArCalibLineMappingAlgSC").MaxCL=16
◆ LArFebRodMappingCfg()
def LArCablingConfig.LArFebRodMappingCfg |
( |
|
configFlags | ) |
|
◆ LArIdMapCfg()
def LArCablingConfig.LArIdMapCfg |
( |
|
configFlags | ) |
|
Return ComponentAccumulator configured with Identifier Map in POOL/COOL
Definition at line 99 of file LArCablingConfig.py.
100 """Return ComponentAccumulator configured with Identifier Map in POOL/COOL"""
◆ LArLATOMEMappingCfg()
def LArCablingConfig.LArLATOMEMappingCfg |
( |
|
configFlags | ) |
|
Definition at line 95 of file LArCablingConfig.py.
96 if not configFlags.Input.isMC:
97 return _larLatomeCfg(configFlags,LArLATOMEMappingAlg,
"/LAR/Identifier/LatomeMapping",
"LArLATOMEMap")
◆ LArOnOffIdMappingCfg()
def LArCablingConfig.LArOnOffIdMappingCfg |
( |
|
configFlags | ) |
|
◆ LArOnOffIdMappingSCCfg()
def LArCablingConfig.LArOnOffIdMappingSCCfg |
( |
|
configFlags | ) |
|
Definition at line 65 of file LArCablingConfig.py.
68 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
70 if configFlags.Input.isMC:
71 result.merge(
_larCablingCfg(configFlags,LArOnOffMappingAlg,
"/LAR/IdentifierOfl/OnOffIdMap_SC",
"LArOnOffMappingAlgSC"))
72 from IOVDbSvc.IOVDbSvcConfig
import addOverride
73 result.merge(
addOverride(configFlags,
"/LAR/IdentifierOfl/OnOffIdMap_SC",
"LARIdentifierOflOnOffIdMap_SC-000"))
75 result.merge(
_larCablingCfg(configFlags,LArOnOffMappingAlg,
"/LAR/Identifier/OnOffIdMap_SC",
"LArOnOffMappingAlgSC"))
76 result.getCondAlgo(
"LArOnOffMappingAlgSC").WriteKey =
"LArOnOffIdMapSC"
77 result.getCondAlgo(
"LArOnOffMappingAlgSC").isSuperCell =
True
◆ acc
◆ Files
◆ flags
LArCablingConfig.flags = initConfigFlags() |
◆ LArCalibLineMappingAlg
LArCablingConfig.LArCalibLineMappingAlg |
◆ LArFebRodMappingAlg
LArCablingConfig.LArFebRodMappingAlg |
◆ LArLATOMEMappingAlg
LArCablingConfig.LArLATOMEMappingAlg |
◆ LArOnOffMappingAlg
LArCablingConfig.LArOnOffMappingAlg |
def LArOnOffIdMappingSCCfg(configFlags)
def _larLatomeCfg(configFlags, algo, folder, outkey)
def LArFebRodMappingCfg(configFlags)
def _larCablingCfg(configFlags, algo, folder, algName=None)
def LArLATOMEMappingCfg(configFlags)
def addOverride(flags, folder, tag, db=None)
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
def IOVDbSvcCfg(flags, **kwargs)
def LArOnOffIdMappingCfg(configFlags)
def LArCalibIdMappingSCCfg(configFlags)
def LArIdMapCfg(configFlags)
def LArCalibIdMappingCfg(configFlags)