Skip to content
Snippets Groups Projects
Commit 5cc9df7b authored by scott snyder's avatar scott snyder
Browse files

PixelConditionsAlgorithms: Fix run 1 configuration.

Don't try to configure the PixelModuleFeMask folder for run 1 configurations.
parent cbd3667c
No related branches found
No related tags found
11 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!46538Draft: Added missing xAOD::TrigConfKeys from DESDM_MCP,!46514TGC Digitization: Implementation of signal propagation time between the sensor edge and ASD,!46389URGENT : egamma monitoring tag for reprocessing,!46095Draft: fix TrackingGeometry reordering bugs in serial athena,!45942PixelConditionsAlgorithms: Fix run 1 configuration.
......@@ -424,11 +424,11 @@ def PixelDeadMapCondAlgCfg(flags, name="PixelDeadMapCondAlg", **kwargs):
"""Return a ComponentAccumulator with configured PixelDeadMapCondAlg"""
acc = ComponentAccumulator()
acc.merge(PixelConfigCondAlgCfg(flags))
acc.merge(addFoldersSplitOnline(flags, "PIXEL", "/PIXEL/Onl/PixelModuleFeMask", "/PIXEL/PixelModuleFeMask", className="CondAttrListCollection"))
if flags.GeoModel.Run == "RUN1":
kwargs.setdefault("ReadKey", "")
else:
kwargs.setdefault("ReadKey", "/PIXEL/PixelModuleFeMask")
acc.merge(addFoldersSplitOnline(flags, "PIXEL", "/PIXEL/Onl/PixelModuleFeMask", "/PIXEL/PixelModuleFeMask", className="CondAttrListCollection"))
kwargs.setdefault("WriteKey", "PixelDeadMapCondData")
acc.addCondAlgo(CompFactory.PixelDeadMapCondAlg(name, **kwargs))
return acc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment