Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
python.LArHVScaleConfig Namespace Reference

Functions

def LArHVScaleCfg (configFlags)
 

Variables

 flags = initConfigFlags()
 
int nThreads = 1
 
 NumThreads
 
 ShowDataDeps
 
 ShowDataFlow
 
 ShowControlFlow
 
 NumConcurrentEvents
 
 Files
 
 cfg = MainServicesCfg(flags)
 

Function Documentation

◆ LArHVScaleCfg()

def python.LArHVScaleConfig.LArHVScaleCfg (   configFlags)

Definition at line 8 of file LArHVScaleConfig.py.

8 def LArHVScaleCfg(configFlags):
9  result=ComponentAccumulator()
10 
11  from LArBadChannelTool.LArBadChannelConfig import LArBadChannelCfg, LArBadFebCfg
12 
13  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
14  result.merge(LArGMCfg(configFlags))
15 
16  from LArCabling.LArHVCablingConfig import LArHVCablingCfg
17  result.merge(LArHVCablingCfg(configFlags))
18 
19  result.merge(LArBadFebCfg(configFlags))
20 
21  from IOVDbSvc.IOVDbSvcConfig import addFolders
22  LArHVCondAlg=CompFactory.LArHVCondAlg
23 
24  if configFlags.Input.isMC:
25  result.addCondAlgo(LArHVCondAlg(doHV=False, doAffectedHV=False))
26 
27  elif not configFlags.Common.isOnline:
28  result.merge(addFolders(configFlags,["/LAR/DCS/HV/BARREl/I16"], "DCS_OFL", className="CondAttrListCollection"))
29  result.merge(addFolders(configFlags,["/LAR/DCS/HV/BARREL/I8"], "DCS_OFL", className="CondAttrListCollection"))
30 
31  result.merge(addFolders(configFlags,["/LAR/HVPathologiesOfl/Pathologies"], "LAR_OFL", className="AthenaAttributeList"))
32  if configFlags.GeoModel.Run is not LHCPeriod.Run1:
33  result.merge(addFolders(configFlags,["/LAR/HVPathologiesOfl/Rvalues"], "LAR_OFL", className="AthenaAttributeList"))
34 
35  result.merge(LArBadChannelCfg(configFlags))
36 
37  LArHVPathologyDbCondAlg=CompFactory.LArHVPathologyDbCondAlg
38  hvpath = LArHVPathologyDbCondAlg(PathologyFolder="/LAR/HVPathologiesOfl/Pathologies",
39  HVMappingKey="LArHVIdMap",
40  HVPAthologyKey="LArHVPathology")
41  result.addCondAlgo(hvpath)
42 
43  from LArConfiguration.LArElecCalibDBConfig import LArElecCalibDBCfg
44  result.merge(LArElecCalibDBCfg(configFlags,["HVScaleCorr",]))
45 
46  if configFlags.GeoModel.Run is not LHCPeriod.Run1:
47  hvcond = LArHVCondAlg(HVPathologies="LArHVPathology")
48  else:
49  hvcond = LArHVCondAlg(HVPathologies="LArHVPathology",doR=False)
50 
51  hvcond.UndoOnlineHVCorr=True
52  hvcond.keyOutputCorr= "LArHVScaleCorrRecomputed"
53  result.addCondAlgo(hvcond)
54 
55  return result
56 

Variable Documentation

◆ cfg

python.LArHVScaleConfig.cfg = MainServicesCfg(flags)

Definition at line 75 of file LArHVScaleConfig.py.

◆ Files

python.LArHVScaleConfig.Files

Definition at line 70 of file LArHVScaleConfig.py.

◆ flags

python.LArHVScaleConfig.flags = initConfigFlags()

Definition at line 60 of file LArHVScaleConfig.py.

◆ nThreads

int python.LArHVScaleConfig.nThreads = 1

Definition at line 62 of file LArHVScaleConfig.py.

◆ NumConcurrentEvents

python.LArHVScaleConfig.NumConcurrentEvents

Definition at line 68 of file LArHVScaleConfig.py.

◆ NumThreads

python.LArHVScaleConfig.NumThreads

Definition at line 63 of file LArHVScaleConfig.py.

◆ ShowControlFlow

python.LArHVScaleConfig.ShowControlFlow

Definition at line 67 of file LArHVScaleConfig.py.

◆ ShowDataDeps

python.LArHVScaleConfig.ShowDataDeps

Definition at line 65 of file LArHVScaleConfig.py.

◆ ShowDataFlow

python.LArHVScaleConfig.ShowDataFlow

Definition at line 66 of file LArHVScaleConfig.py.

python.LArElecCalibDBConfig.LArElecCalibDBCfg
def LArElecCalibDBCfg(flags, condObjs)
Definition: LArElecCalibDBConfig.py:47
LArHVCondAlg
Definition: LArHVCondAlg.h:55
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArHVCablingConfig.LArHVCablingCfg
def LArHVCablingCfg(flags)
Definition: LArHVCablingConfig.py:7
python.LArBadChannelConfig.LArBadChannelCfg
def LArBadChannelCfg(configFlags, tag=None, isSC=False)
Definition: LArBadChannelConfig.py:8
python.LArBadChannelConfig.LArBadFebCfg
def LArBadFebCfg(configFlags, tag=None)
Definition: LArBadChannelConfig.py:46
LArHVPathologyDbCondAlg
Definition: LArHVPathologyDbCondAlg.h:30
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:81
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
python.LArHVScaleConfig.LArHVScaleCfg
def LArHVScaleCfg(configFlags)
Definition: LArHVScaleConfig.py:8