ATLAS Offline Software
Loading...
Searching...
No Matches
python.LArHVScaleConfig Namespace Reference

Functions

 LArHVScaleCfg (configFlags)

Variables

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

Function Documentation

◆ LArHVScaleCfg()

python.LArHVScaleConfig.LArHVScaleCfg ( configFlags)

Definition at line 8 of file LArHVScaleConfig.py.

8def 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.