|
ATLAS Offline Software
|
|
def | SCT_ByteStreamErrorsToolCfg (flags, name="SCT_ByteStreamErrorsTool", **kwargs) |
|
def | SCT_ConditionsParameterCfg (flags, name="SCT_ConditionsParameter", **kwargs) |
|
def | SCT_ConditionsSummaryToolBaseCfg (flags, name="InDetSCT_ConditionsSummaryToolAddFlagged", **kwargs) |
|
def | SCT_DetectorElementStatusAddFlaggedToolCfg (flags, name="InDetSCT_DetectorElementStatusAddFlaggedTool", **kwargs) |
|
def | SCT_DetectorElementStatusAddByteStreamErrorsToolCfg (flags, name="InDetSCT_DetectorElementStatusAddByteStreamErrorsTool", **kwargs) |
|
def | SCT_ConditionsSummaryToolCfg (flags, name="InDetSCT_ConditionsSummaryTool", **kwargs) |
|
def | SCT_ConfigurationConditionsToolCfg (flags, name="InDetSCT_ConfigurationConditionsTool", **kwargs) |
|
def | SCT_DCSConditionsCfg (flags, name="InDetSCT_DCSConditions", **kwargs) |
|
def | SCT_FlaggedConditionToolCfg (flags, name="InDetSCT_FlaggedConditionTool", **kwargs) |
|
def | SCT_LinkMaskingCfg (flags, name="SCT_LinkMasking", **kwargs) |
|
def | SCT_MajorityConditionsCfg (flags, name="InDetSCT_MajorityConditions", **kwargs) |
|
def | SCT_ModuleVetoCfg (flags, name="InDetSCT_ModuleVeto", **kwargs) |
|
def | SCT_MonitorConditionsToolCfg (flags, name="InDetSCT_MonitorConditionsTool", cond_kwargs={}, **kwargs) |
|
def | SCT_ReadCalibChipDataCfg (flags, name="SCT_ReadCalibChip", **kwargs) |
|
def | SCT_ReadCalibDataToolCfg (flags, name="InDetSCT_ReadCalibDataTool", cond_kwargs={}, **kwargs) |
|
def | SCT_ReadoutToolCfg (flags, name="SCT_ReadoutTool", **kwargs) |
|
def | SCT_RODVetoCfg (flags, name="SCT_RODVeto", **kwargs) |
|
def | SCT_SensorsCfg (flags, name="SCT_Sensors", **kwargs) |
|
def | SCT_SiliconConditionsCfg (flags, name="SCT_Silicon", **kwargs) |
|
def | SCT_StripVetoCfg (flags, name="SCT_StripVeto", **kwargs) |
|
def | SCT_TdaqEnabledToolCfg (flags, name="InDetSCT_TdaqEnabledTool", **kwargs) |
|
◆ SCT_ByteStreamErrorsToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_ByteStreamErrorsToolCfg |
( |
|
flags, |
|
|
|
name = "SCT_ByteStreamErrorsTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 12 of file SCT_ConditionsToolsConfig.py.
14 kwargs.setdefault(
"ConfigTool", acc.popPrivateTools())
16 if flags.Input.Format
is Format.BS
and not flags.Trigger.doHLT:
18 from SCT_RawDataByteStreamCnv.SCT_RawDataByteStreamCnvConfig
import (
19 SCTRawDataProviderCfg)
22 acc.setPrivateTools(CompFactory.SCT_ByteStreamErrorsTool(name, **kwargs))
◆ SCT_ConditionsParameterCfg()
def python.SCT_ConditionsToolsConfig.SCT_ConditionsParameterCfg |
( |
|
flags, |
|
|
|
name = "SCT_ConditionsParameter" , |
|
|
** |
kwargs |
|
) |
| |
Configure necessary condition folder, condition algorithm
for SCT_ConditionsParameterTool and return it.
Definition at line 26 of file SCT_ConditionsToolsConfig.py.
27 """Configure necessary condition folder, condition algorithm
28 for SCT_ConditionsParameterTool and return it.
36 folder =
"/SCT/DAQ/Configuration/Chip"
38 acc.merge(
addFolders(flags, folder, dbInstance, className=
"CondAttrListVec"))
41 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingToolCfg
42 acc.addCondAlgo(CompFactory.SCT_ConditionsParameterCondAlg(name=f
"{name}CondAlg",
47 acc.setPrivateTools(CompFactory.SCT_ConditionsParameterTool(name=f
"{name}Tool"))
◆ SCT_ConditionsSummaryToolBaseCfg()
def python.SCT_ConditionsToolsConfig.SCT_ConditionsSummaryToolBaseCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_ConditionsSummaryToolAddFlagged" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 51 of file SCT_ConditionsToolsConfig.py.
55 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig
import SCT_DetectorElementCondAlgCfg
58 acc.setPrivateTools(CompFactory.SCT_ConditionsSummaryTool(name, **kwargs))
◆ SCT_ConditionsSummaryToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_ConditionsSummaryToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_ConditionsSummaryTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 80 of file SCT_ConditionsToolsConfig.py.
84 withFlaggedCondTool = kwargs.pop(
"withFlaggedCondTool",
True)
85 withByteStreamErrorsTool = kwargs.pop(
"withByteStreamErrorsTool",
True)
86 withTdaqTool = kwargs.pop(
"withTdaqTool",
True)
90 ConditionsTools += [ SCT_ConfigurationConditionsTool ]
92 if withFlaggedCondTool:
95 name +=
"WithoutFlagged"
98 if not flags.Input.isMC
and withByteStreamErrorsTool :
101 if flags.InDet.useSctDCS:
104 if withTdaqTool
and not flags.Input.isMC :
112 if not flags.Common.isOnline:
116 if flags.InDet.doSCTModuleVeto:
119 kwargs.setdefault(
"ConditionsTools", ConditionsTools)
◆ SCT_ConfigurationConditionsToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_ConfigurationConditionsToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_ConfigurationConditionsTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 126 of file SCT_ConditionsToolsConfig.py.
129 folder_path =
"/SCT/DAQ/Config/"
131 if flags.IOVDb.DatabaseInstance ==
"COMP200":
132 folder_path =
"/SCT/DAQ/Configuration/"
134 if flags.InDet.ForceCoraCool:
135 folder_path =
"/SCT/DAQ/Configuration/"
136 if flags.InDet.ForceCoolVectorPayload:
137 folder_path =
"/SCT/DAQ/Config/"
139 if flags.InDet.ForceCoolVectorPayload
and flags.InDet.ForceCoraCool:
140 print (
"*** SCT DB CONFIGURATION FLAG CONFLICT: Both CVP and CoraCool selected****")
144 cond_kwargs[
"ChannelFolder"] = folder_path + (
"Chip" if flags.IOVDb.DatabaseInstance ==
"COMP200" else "ChipSlim")
145 cond_kwargs[
"ModuleFolder"] = f
"{folder_path}Module"
146 cond_kwargs[
"MurFolder"] = f
"{folder_path}MUR"
147 cond_kwargs[
"dbInstance"] =
"SCT"
148 cond_kwargs[
"SCT_ConfigurationCondAlgName"] =
"SCT_ConfigurationCondAlg"
153 if "ChannelFolderDB" not in cond_kwargs:
155 detDb=cond_kwargs[
"dbInstance"],
156 onlineFolders=cond_kwargs[
"ChannelFolder"],
157 offlineFolders=cond_kwargs[
"ChannelFolder"],
158 className=
"CondAttrListVec",
161 acc.merge(
addFolders(flags, [cond_kwargs[
"ChannelFolderDB"]], detDb = cond_kwargs[
"dbInstance"], className=
"CondAttrListVec"))
162 if "ModuleFolderDB" not in cond_kwargs:
164 detDb=cond_kwargs[
"dbInstance"],
165 onlineFolders=cond_kwargs[
"ModuleFolder"],
166 offlineFolders=cond_kwargs[
"ModuleFolder"],
167 className=
"CondAttrListVec",
170 acc.merge(
addFolders(flags, [cond_kwargs[
"ModuleFolderDB"]], detDb = cond_kwargs[
"dbInstance"], className=
"CondAttrListVec"))
171 if "MurFolderDB" not in cond_kwargs:
173 detDb=cond_kwargs[
"dbInstance"],
174 onlineFolders=cond_kwargs[
"MurFolder"],
175 offlineFolders=cond_kwargs[
"MurFolder"],
176 className=
"CondAttrListVec",
179 acc.merge(
addFolders(flags, [cond_kwargs[
"MurFolderDB"]], detDb = cond_kwargs[
"dbInstance"], className=
"CondAttrListVec"))
181 ConfigCondAlg_kwargs={}
182 ConfigCondAlg_kwargs[
"ReadKeyChannel"] = cond_kwargs[
"ChannelFolder"]
183 ConfigCondAlg_kwargs[
"ReadKeyModule"] = cond_kwargs[
"ModuleFolder"]
184 ConfigCondAlg_kwargs[
"ReadKeyMur"] = cond_kwargs[
"MurFolder"]
185 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig
import SCT_ConfigurationCondAlgCfg
188 acc.setPrivateTools(CompFactory.SCT_ConfigurationConditionsTool(name, **kwargs))
◆ SCT_DCSConditionsCfg()
def python.SCT_ConditionsToolsConfig.SCT_DCSConditionsCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_DCSConditions" , |
|
|
** |
kwargs |
|
) |
| |
Configure necessary condition folders, condition algorithms
for SCT_DCSConditionsTool and return it.
Definition at line 192 of file SCT_ConditionsToolsConfig.py.
193 """Configure necessary condition folders, condition algorithms
194 for SCT_DCSConditionsTool and return it.
199 isDataHLT = flags.Common.isOnline
and not flags.Input.isMC
200 dcsFolder =
"/SCT/HLT/DCS" if isDataHLT
else "/SCT/DCS"
201 dbInstance = kwargs.get(
"dbInstance",
"SCT" if isDataHLT
else "DCS_OFL")
202 hvFolder = kwargs.get(
"hvFolder", dcsFolder +
"/HV")
203 tempFolder = kwargs.get(
"tempFolder", dcsFolder +
"/MODTEMP")
204 stateFolder = kwargs.get(
"stateFolder", dcsFolder +
"/CHANSTAT")
205 ReadAllDBFolders = kwargs.get(
"ReadAllDBFolders",
not flags.Common.isOnline)
206 ReturnHVTemp = kwargs.get(
"ReturnHVTemp",
True)
209 if ReadAllDBFolders == ReturnHVTemp
and not flags.Common.isOnline:
210 acc.merge(
addFolders(flags, stateFolder, dbInstance, className=
"CondAttrListCollection"))
213 "name": f
"{name}StatCondAlg",
214 "ReturnHVTemp": ReturnHVTemp,
215 "ReadKeyHV": hvFolder,
216 "ReadKeyState": stateFolder,
218 acc.addCondAlgo(CompFactory.SCT_DCSConditionsStatCondAlg(**statArgs))
220 acc.merge(
addFolders(flags, [hvFolder, tempFolder], dbInstance, className=
"CondAttrListCollection"))
221 acc.addCondAlgo(CompFactory.SCT_DCSConditionsHVCondAlg(name=f
"{name}HVCondAlg", ReadKey=hvFolder))
222 acc.addCondAlgo(CompFactory.SCT_DCSConditionsTempCondAlg(name=f
"{name}TempCondAlg", ReadKey=tempFolder))
227 toolkwargs[
"ReadAllDBFolders"] = ReadAllDBFolders
228 toolkwargs[
"ReturnHVTemp"] = ReturnHVTemp
229 acc.setPrivateTools(CompFactory.SCT_DCSConditionsTool(name=f
"{name}Tool", **toolkwargs))
◆ SCT_DetectorElementStatusAddByteStreamErrorsToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_DetectorElementStatusAddByteStreamErrorsToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_DetectorElementStatusAddByteStreamErrorsTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 69 of file SCT_ConditionsToolsConfig.py.
71 if not flags.Input.isMC
and flags.Input.Format
is Format.BS :
72 if "ConditionsTools" not in kwargs :
74 kwargs.setdefault(
"ConditionsTools", [ acc.popToolsAndMerge(
SCT_ByteStreamErrorsToolCfg(flags, **{
"ConfigTool" : SCT_ConfigurationConditionsTool})) ])
◆ SCT_DetectorElementStatusAddFlaggedToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_DetectorElementStatusAddFlaggedToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_DetectorElementStatusAddFlaggedTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 61 of file SCT_ConditionsToolsConfig.py.
63 if "ConditionsTools" not in kwargs :
65 kwargs.setdefault(
"SCTDetElStatusEventDataBaseKey",
"SCTDetectorElementStatusWithoutFlagged")
◆ SCT_FlaggedConditionToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_FlaggedConditionToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_FlaggedConditionTool" , |
|
|
** |
kwargs |
|
) |
| |
◆ SCT_LinkMaskingCfg()
def python.SCT_ConditionsToolsConfig.SCT_LinkMaskingCfg |
( |
|
flags, |
|
|
|
name = "SCT_LinkMasking" , |
|
|
** |
kwargs |
|
) |
| |
Configure necessary condition folder, condition algorithm
for SCT_LinkMaskingTool and return it.
Definition at line 244 of file SCT_ConditionsToolsConfig.py.
245 """Configure necessary condition folder, condition algorithm
246 for SCT_LinkMaskingTool and return it.
252 folder =
"/purple/pants"
254 dbConnection =
"<dbConnection>sqlite://;schema=mycool.db;dbname=CONDBR2</dbConnection>"
255 acc.merge(
addFolders(flags, folderStrings=folder, className=
"CondAttrListCollection", db=dbConnection))
258 kwargs.setdefault(
"ReadKey", folder)
259 acc.addCondAlgo(CompFactory.SCT_LinkMaskingCondAlg(name=f
"{name}CondAlg", **kwargs))
262 acc.setPrivateTools(CompFactory.SCT_LinkMaskingTool(name=f
"{name}Tool"))
◆ SCT_MajorityConditionsCfg()
def python.SCT_ConditionsToolsConfig.SCT_MajorityConditionsCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_MajorityConditions" , |
|
|
** |
kwargs |
|
) |
| |
Configure necessary condition folder, condition algorithm
for SCT_MajorityConditionsTool and return it.
Definition at line 267 of file SCT_ConditionsToolsConfig.py.
268 """Configure necessary condition folder, condition algorithm
269 for SCT_MajorityConditionsTool and return it.
274 folder =
"/SCT/DCS/MAJ"
275 dbInstance =
"DCS_OFL"
278 acc.merge(
addFolders(flags, folder, dbInstance, className=
"CondAttrListCollection"))
279 acc.addCondAlgo(CompFactory.SCT_MajorityCondAlg())
282 acc.setPrivateTools(CompFactory.SCT_MajorityConditionsTool(name=f
"{name}Tool"))
◆ SCT_ModuleVetoCfg()
def python.SCT_ConditionsToolsConfig.SCT_ModuleVetoCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_ModuleVeto" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator configured for SCT_ModuleVetoTool
Definition at line 287 of file SCT_ConditionsToolsConfig.py.
288 """Return a ComponentAccumulator configured for SCT_ModuleVetoTool
296 folderStrings=
"/SCT/Manual/BadModules",
298 className=
"AthenaAttributeList",
299 tag=kwargs[
"folderTag"]))
301 acc.addCondAlgo(CompFactory.SCT_ModuleVetoCondAlg())
305 toolArgs[
"BadModuleIdentifiers"] = kwargs[
"BadModuleIdentifiers"]
306 acc.setPrivateTools(CompFactory.SCT_ModuleVetoTool(name=f
"{name}Tool", **toolArgs))
◆ SCT_MonitorConditionsToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_MonitorConditionsToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_MonitorConditionsTool" , |
|
|
|
cond_kwargs = {} , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 311 of file SCT_ConditionsToolsConfig.py.
312 cond_kwargs.setdefault(
"Folder",
"/SCT/Derived/Monitoring")
313 cond_kwargs.setdefault(
"dbInstance",
"SCT_OFL")
314 cond_kwargs.setdefault(
"MonitorCondAlgName",
"SCT_MonitorCondAlg")
317 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
320 if "FolderDb" not in cond_kwargs:
321 cond_kwargs[
"FolderDb"] = cond_kwargs[
"Folder"]
322 if "Modifiers" not in cond_kwargs:
323 cond_kwargs[
"Modifiers"] =
""
324 if "FolderTag" not in cond_kwargs:
325 cond_kwargs[
"FolderTag"] =
None
326 acc.merge(
addFolders(flags, cond_kwargs[
"FolderDb"], cond_kwargs[
"dbInstance"], className=
"CondAttrListCollection", tag=cond_kwargs[
"FolderTag"], modifiers=cond_kwargs[
"Modifiers"]))
328 acc.addCondAlgo(CompFactory.SCT_MonitorCondAlg(name=cond_kwargs[
"MonitorCondAlgName"],
329 ReadKey=cond_kwargs[
"Folder"]))
331 acc.setPrivateTools(CompFactory.SCT_MonitorConditionsTool(name, **kwargs))
◆ SCT_ReadCalibChipDataCfg()
def python.SCT_ConditionsToolsConfig.SCT_ReadCalibChipDataCfg |
( |
|
flags, |
|
|
|
name = "SCT_ReadCalibChip" , |
|
|
** |
kwargs |
|
) |
| |
Return configured ComponentAccumulator with SCT_ReadCalibChipDataCfg tool
Accepts optional noiseFolder and gainFolder keyword arguments
Definition at line 336 of file SCT_ConditionsToolsConfig.py.
337 """Return configured ComponentAccumulator with SCT_ReadCalibChipDataCfg tool
339 Accepts optional noiseFolder and gainFolder keyword arguments
344 noiseFolder = kwargs.get(
"noiseFolder",
"/SCT/DAQ/Calibration/ChipNoise")
345 gainFolder = kwargs.get(
"gainFolder",
"/SCT/DAQ/Calibration/ChipGain")
350 acc.addCondAlgo(CompFactory.SCT_ReadCalibChipNoiseCondAlg(name=f
"{name}NoiseCondAlg", ReadKey=noiseFolder))
351 acc.addCondAlgo(CompFactory.SCT_ReadCalibChipGainCondAlg(name=f
"{name}GainCondAlg", ReadKey=gainFolder))
354 acc.setPrivateTools(CompFactory.SCT_ReadCalibChipDataTool(name=
"InDetSCT_ReadCalibChipDataTool"))
◆ SCT_ReadCalibDataToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_ReadCalibDataToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_ReadCalibDataTool" , |
|
|
|
cond_kwargs = {} , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 359 of file SCT_ConditionsToolsConfig.py.
363 cond_kwargs.setdefault(
"NoiseFolder",
"/SCT/DAQ/Calibration/NoiseOccupancyDefects")
364 cond_kwargs.setdefault(
"GainFolder",
"/SCT/DAQ/Calibration/NPtGainDefects")
365 cond_kwargs.setdefault(
"ReadCalibDataCondAlgName",
"SCT_ReadCalibDataCondAlg")
369 onlineFolders=cond_kwargs[
"NoiseFolder"],
370 offlineFolders=cond_kwargs[
"NoiseFolder"],
371 className=
"CondAttrListCollection",
375 onlineFolders=cond_kwargs[
"GainFolder"],
376 offlineFolders=cond_kwargs[
"GainFolder"],
377 className=
"CondAttrListCollection",
380 ignore_defects = [
"NOISE_SLOPE",
"OFFSET_SLOPE",
"GAIN_SLOPE",
"BAD_OPE",
"NO_HI",
"HI_GAIN",
"LO_GAIN"]
381 from AthenaConfiguration.Enums
import LHCPeriod
382 if flags.GeoModel.Run >= LHCPeriod.Run3:
383 ignore_defects_parameters = [-1000.,-1000.,-1000.,-1000.,-1000.,-1000.,-1000.]
385 ignore_defects_parameters = [-1000.,-1000.,-1000.,-1000.,-1000.,-1000.,15.]
387 acc.addCondAlgo(CompFactory.SCT_ReadCalibDataCondAlg(name=cond_kwargs[
"ReadCalibDataCondAlgName"],
388 ReadKeyGain=cond_kwargs[
"GainFolder"],
389 ReadKeyNoise=cond_kwargs[
"NoiseFolder"],
390 IgnoreDefects=ignore_defects,
391 IgnoreDefectsParameters=ignore_defects_parameters))
392 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingToolCfg
395 acc.setPrivateTools(CompFactory.SCT_ReadCalibDataTool(name, **kwargs))
◆ SCT_ReadoutToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_ReadoutToolCfg |
( |
|
flags, |
|
|
|
name = "SCT_ReadoutTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 399 of file SCT_ConditionsToolsConfig.py.
400 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingToolCfg
402 kwargs.setdefault(
"SCT_CablingTool", acc.popPrivateTools())
403 acc.setPrivateTools(CompFactory.SCT_ReadoutTool(name, **kwargs))
◆ SCT_RODVetoCfg()
def python.SCT_ConditionsToolsConfig.SCT_RODVetoCfg |
( |
|
flags, |
|
|
|
name = "SCT_RODVeto" , |
|
|
** |
kwargs |
|
) |
| |
Configure necessary condition folders, condition algorithms
for SCT_DCSConditionsTool and return it.
Definition at line 407 of file SCT_ConditionsToolsConfig.py.
408 """Configure necessary condition folders, condition algorithms
409 for SCT_DCSConditionsTool and return it.
415 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingToolCfg
419 acc.addEventAlgo(CompFactory.SCT_RODVetoCondAlg(name=f
"{name}CondAlg", **kwargs))
422 acc.setPrivateTools(CompFactory.SCT_RODVetoTool(name=f
"{name}Tool"))
◆ SCT_SensorsCfg()
def python.SCT_ConditionsToolsConfig.SCT_SensorsCfg |
( |
|
flags, |
|
|
|
name = "SCT_Sensors" , |
|
|
** |
kwargs |
|
) |
| |
Configure necessary condition folder, condition algorithm
for SCT_MajorityConditionsTool and return it.
Definition at line 427 of file SCT_ConditionsToolsConfig.py.
428 """Configure necessary condition folder, condition algorithm
429 for SCT_MajorityConditionsTool and return it.
434 folder =
"/SCT/Sensors"
435 dbInstance =
"SCT_OFL"
437 if "folderTag" in kwargs:
438 acc.merge(
addFolders(flags, folder, dbInstance, className=
"CondAttrListCollection", tag=kwargs[
"folderTag"]))
440 acc.merge(
addFolders(flags, folder, dbInstance, className=
"CondAttrListCollection"))
443 acc.addCondAlgo(CompFactory.SCT_SensorsCondAlg())
446 acc.setPrivateTools(CompFactory.SCT_SensorsTool(name=f
"{name}Tool"))
◆ SCT_SiliconConditionsCfg()
def python.SCT_ConditionsToolsConfig.SCT_SiliconConditionsCfg |
( |
|
flags, |
|
|
|
name = "SCT_Silicon" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator configured for SiliconConditions DB
DCSConditionsTool may be provided in kwargs
Definition at line 451 of file SCT_ConditionsToolsConfig.py.
452 """Return a ComponentAccumulator configured for SiliconConditions DB
454 DCSConditionsTool may be provided in kwargs
462 useDCS = kwargs.get(
"useDCS", flags.InDet.useSctDCS
or flags.Common.isOnline)
465 DCSConditionsTool = kwargs.get(
"DCSConditionsTool")
466 if DCSConditionsTool:
467 algkwargs[
"DCSConditionsTool"] = DCSConditionsTool
470 algkwargs[
"DCSConditionsTool"] = DCSConditionsTool
472 algkwargs[
"UseState"] = DCSConditionsTool.ReadAllDBFolders
474 acc.addCondAlgo(CompFactory.SCT_SiliconHVCondAlg(name=f
"{name}HVCondAlg", **algkwargs))
475 acc.addCondAlgo(CompFactory.SCT_SiliconTempCondAlg(name=f
"{name}TempCondAlg", **algkwargs))
477 toolkwargs[
"UseDB"] = kwargs.get(
"UseDB",
True)
478 toolkwargs[
"ForceUseGeoModel"] = kwargs.get(
"ForceUseGeoModel",
False)
480 toolkwargs[
"UseDB"] = kwargs.get(
"UseDB",
False)
481 toolkwargs[
"ForceUseGeoModel"] = kwargs.get(
"ForceUseGeoModel",
True)
483 acc.setPrivateTools(CompFactory.SCT_SiliconConditionsTool(name=f
"{name}ConditionsTool", **toolkwargs))
◆ SCT_StripVetoCfg()
def python.SCT_ConditionsToolsConfig.SCT_StripVetoCfg |
( |
|
flags, |
|
|
|
name = "SCT_StripVeto" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator configured for SCT_StripVetoTool
Definition at line 488 of file SCT_ConditionsToolsConfig.py.
489 """Return a ComponentAccumulator configured for SCT_StripVetoTool
497 kwargs.setdefault(
"BadStripIdentifiers", [
"576522359582752768",
498 "576522475009998848",
499 "576522475278434304",
504 acc.setPrivateTools(CompFactory.SCT_StripVetoTool(name=f
"{name}Tool", **kwargs))
◆ SCT_TdaqEnabledToolCfg()
def python.SCT_ConditionsToolsConfig.SCT_TdaqEnabledToolCfg |
( |
|
flags, |
|
|
|
name = "InDetSCT_TdaqEnabledTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 509 of file SCT_ConditionsToolsConfig.py.
514 folder =
"/TDAQ/Resources/ATLAS/SCT/Robins" if (flags.IOVDb.DatabaseInstance !=
"COMP200")
else "/TDAQ/EnabledResources/ATLAS/SCT/Robins"
515 acc.merge(
addFolders(flags, [folder], detDb=
"TDAQ", className=
"CondAttrListCollection") )
518 from SCT_Cabling.SCT_CablingConfig
import SCT_CablingToolCfg
520 acc.addCondAlgo(CompFactory.SCT_TdaqEnabledCondAlg(ReadKey = folder, **kwargs))
523 acc.setPrivateTools(CompFactory.SCT_TdaqEnabledTool(name))
def SCTRawDataProviderCfg(flags, prefix="InDet", suffix="", **kwargs)
def SCT_ConfigurationCondAlgCfg(flags, name="SCT_ConfigurationCondAlg", **kwargs)
def SCT_ReadoutGeometryCfg(flags)
def SCT_CablingToolCfg(flags, name="SCT_CablingTool")
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
def addFoldersSplitOnline(flags, detDb, onlineFolders, offlineFolders, className=None, extensible=False, addMCString='_OFL', splitMC=False, tag=None, forceDb=None, modifiers='')
def SCT_DetectorElementCondAlgCfg(flags, name="SCT_DetectorElementCondAlg", **kwargs)