ATLAS Offline Software
Functions | Variables
python.LArBadFebsConfig Namespace Reference

Functions

def LArKnownBadFebCfg (configFlags, tag=None)
 
def LArKnownMNBFebCfg (configFlags, tag=None)
 

Variables

 LArBadFebCondAlg = CompFactory.LArBadFebCondAlg
 
 flags = initConfigFlags()
 
 isMC
 
 Files
 
 cfg = ComponentAccumulator()
 
 f = open("LArBadFebCondAlgos.pkl","wb")
 

Function Documentation

◆ LArKnownBadFebCfg()

def python.LArBadFebsConfig.LArKnownBadFebCfg (   configFlags,
  tag = None 
)

Definition at line 11 of file LArBadFebsConfig.py.

11 def LArKnownBadFebCfg(configFlags, tag=None):
12  result=ComponentAccumulator()
13 
14  if configFlags.GeoModel.Run is LHCPeriod.Run1:
15  rekey=""
16  else:
17  rekey="/LAR/BadChannels/KnownBADFEBs"
18  result.merge(addFoldersSplitOnline(configFlags,"LAR","/LAR/BadChannels/KnownBADFEBs",
19  f"/LAR/BadChannelsOfl/KnownBADFEBs<key>{rekey}</key>",tag=tag,
20  className="AthenaAttributeList"))
21 
22  result.addCondAlgo(LArBadFebCondAlg("LArKnownBadFebAlg",ReadKey=rekey,WriteKey="LArKnownBadFEBs"))
23  return result
24 

◆ LArKnownMNBFebCfg()

def python.LArBadFebsConfig.LArKnownMNBFebCfg (   configFlags,
  tag = None 
)

Definition at line 25 of file LArBadFebsConfig.py.

25 def LArKnownMNBFebCfg(configFlags, tag=None):
26  result=ComponentAccumulator()
27 
28  if configFlags.GeoModel.Run is LHCPeriod.Run1:
29  rekey=""
30  else:
31  rekey="/LAR/BadChannels/KnownMNBFEBs"
32  result.merge(addFoldersSplitOnline(configFlags,"LAR","/LAR/BadChannels/KnownMNBFEBs",
33  f"/LAR/BadChannelsOfl/KnownMNBFEBs<key>{rekey}</key>",tag=tag,
34  className="AthenaAttributeList"))
35 
36  result.addCondAlgo(LArBadFebCondAlg("LArKnownMNBFebAlg",ReadKey=rekey,WriteKey="LArKnownMNBFEBs"))
37  return result
38 
39 
40 

Variable Documentation

◆ cfg

python.LArBadFebsConfig.cfg = ComponentAccumulator()

Definition at line 53 of file LArBadFebsConfig.py.

◆ f

python.LArBadFebsConfig.f = open("LArBadFebCondAlgos.pkl","wb")

Definition at line 57 of file LArBadFebsConfig.py.

◆ Files

python.LArBadFebsConfig.Files

Definition at line 50 of file LArBadFebsConfig.py.

◆ flags

python.LArBadFebsConfig.flags = initConfigFlags()

Definition at line 48 of file LArBadFebsConfig.py.

◆ isMC

python.LArBadFebsConfig.isMC

Definition at line 49 of file LArBadFebsConfig.py.

◆ LArBadFebCondAlg

python.LArBadFebsConfig.LArBadFebCondAlg = CompFactory.LArBadFebCondAlg

Definition at line 8 of file LArBadFebsConfig.py.

python.LArBadFebsConfig.LArKnownMNBFebCfg
def LArKnownMNBFebCfg(configFlags, tag=None)
Definition: LArBadFebsConfig.py:25
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.LArBadFebsConfig.LArKnownBadFebCfg
def LArKnownBadFebCfg(configFlags, tag=None)
Definition: LArBadFebsConfig.py:11
python.IOVDbSvcConfig.addFoldersSplitOnline
def addFoldersSplitOnline(flags, detDb, onlineFolders, offlineFolders, className=None, extensible=False, addMCString='_OFL', splitMC=False, tag=None, forceDb=None, modifiers='')
Definition: IOVDbSvcConfig.py:153
LArBadFebCondAlg
Definition: LArBadFebCondAlg.h:16