|
ATLAS Offline Software
|
|
| flags = initConfigFlags() |
|
| isMC |
|
| Files |
|
| cfg = ComponentAccumulator() |
|
| f = open("LArBCCondAlgos.pkl","wb") |
|
◆ LArBadChannelCfg()
def python.LArBadChannelConfig.LArBadChannelCfg |
( |
|
configFlags, |
|
|
|
tag = None , |
|
|
|
isSC = False |
|
) |
| |
Definition at line 8 of file LArBadChannelConfig.py.
15 rekey=
"/LAR/BadChannels/BadChannels"
16 algname=
"LArBadChannelCondAlg"
19 rekey=
"/LAR/BadChannels/BadChannelsSC"
20 algname=
"LArBadChannelCondSCAlg"
22 if configFlags.Overlay.DataOverlay:
24 result.merge(
addFolders(configFlags,
"/LAR/BadChannels/BadChannels",
"LAR_OFL", className=
"CondAttrListCollection", tag=
"LARBadChannelsBadChannels-HECAQ3Missing", db=
"OFLP200"))
25 elif configFlags.Input.isMC:
26 result.merge(
addFolders(configFlags,
"/LAR/BadChannels/BadChannels",
"LAR_OFL",tag=tag,
27 className=
"CondAttrListCollection"))
31 f
"/LAR/BadChannelsOfl/BadChannels<key>{rekey}</key>",tag=tag,
32 className=
"CondAttrListCollection"))
34 result.merge(
addFolders(configFlags,
"/LAR/BadChannels/BadChannelsSC",
36 className=
"CondAttrListCollection"))
37 theLArBadChannelCondAlgo=CompFactory.LArBadChannelCondAlg(name=algname,ReadKey=rekey,isSC=isSC)
39 theLArBadChannelCondAlgo.WriteKey=
"LArBadChannelSC"
40 theLArBadChannelCondAlgo.CablingKey=
"LArOnOffIdMapSC"
41 result.addCondAlgo(theLArBadChannelCondAlgo)
◆ LArBadFebCfg()
def python.LArBadChannelConfig.LArBadFebCfg |
( |
|
configFlags, |
|
|
|
tag = None |
|
) |
| |
Definition at line 45 of file LArBadChannelConfig.py.
47 rekey=
"/LAR/BadChannels/MissingFEBs"
49 if configFlags.Input.isMC:
50 result.merge(
addFolders(configFlags,
"/LAR/BadChannels/MissingFEBs",
"LAR_OFL",tag=tag,
51 className=
"AthenaAttributeList"))
54 f
"/LAR/BadChannelsOfl/MissingFEBs<key>{rekey}</key>",tag=tag,
55 className=
"AthenaAttributeList"))
56 result.addCondAlgo(CompFactory.LArBadFebCondAlg(ReadKey=rekey))
◆ LArMaskedSCCfg()
def python.LArBadChannelConfig.LArMaskedSCCfg |
( |
|
configFlags | ) |
|
Definition at line 59 of file LArBadChannelConfig.py.
62 from IOVDbSvc.IOVDbSvcConfig
import addFolders
63 result.merge(
addFolders(configFlags,
"/LAR/BadChannels/MaskedSC",
"LAR_ONL",
64 tag=
"LARBadChannelsMaskedSC-RUN3-UPD1-00",
65 className=
"CondAttrListCollection",
66 extensible=configFlags.Common.isOnline ))
67 condAlgo = CompFactory.LArBadChannelCondAlg(name=
"MaskedSCCondAlg",ReadKey=
"/LAR/BadChannels/MaskedSC",isSC=
True,
68 CablingKey=
"LArOnOffIdMapSC",WriteKey=
"LArMaskedSC")
69 result.addCondAlgo(condAlgo)
◆ cfg
python.LArBadChannelConfig.cfg = ComponentAccumulator() |
python.LArBadChannelConfig.f = open("LArBCCondAlgos.pkl","wb") |
◆ Files
python.LArBadChannelConfig.Files |
◆ flags
python.LArBadChannelConfig.flags = initConfigFlags() |
◆ isMC
python.LArBadChannelConfig.isMC |
def LArOnOffIdMappingSCCfg(configFlags)
def LArBadChannelCfg(configFlags, tag=None, isSC=False)
def LArBadFebCfg(configFlags, tag=None)
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
def LArOnOffIdMappingCfg(configFlags)
def LArMaskedSCCfg(configFlags)
def addFoldersSplitOnline(flags, detDb, onlineFolders, offlineFolders, className=None, extensible=False, addMCString='_OFL', splitMC=False, tag=None, forceDb=None, modifiers='')