Skip to content
Snippets Groups Projects
Commit b6c1505a authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'fc-fix-16oct' into 'master'

Avoid double inclusion of PixelChargeCalibCondAlg

See merge request atlas/athena!27253
parents 757d25ab 4f321261
No related branches found
No related tags found
No related merge requests found
...@@ -180,8 +180,9 @@ def BasicPixelDigitizationTool(name="PixelDigitizationTool", **kwargs): ...@@ -180,8 +180,9 @@ def BasicPixelDigitizationTool(name="PixelDigitizationTool", **kwargs):
# Setup charge calibration # # Setup charge calibration #
############################ ############################
conddb.addFolder("PIXEL_OFL", "/PIXEL/PixCalib", className="CondAttrListCollection") conddb.addFolder("PIXEL_OFL", "/PIXEL/PixCalib", className="CondAttrListCollection")
from PixelConditionsAlgorithms.PixelConditionsAlgorithmsConf import PixelChargeCalibCondAlg if not hasattr(condSeq, 'PixelChargeCalibCondAlg'):
condSeq += PixelChargeCalibCondAlg(name="PixelChargeCalibCondAlg", ReadKey="/PIXEL/PixCalib") from PixelConditionsAlgorithms.PixelConditionsAlgorithmsConf import PixelChargeCalibCondAlg
condSeq += PixelChargeCalibCondAlg(name="PixelChargeCalibCondAlg", ReadKey="/PIXEL/PixCalib")
################# #################
# Setup deadmap # # Setup deadmap #
......
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