diff --git a/InnerDetector/InDetExample/InDetTrigRecExample/python/InDetTrigConfigConditions.py b/InnerDetector/InDetExample/InDetTrigRecExample/python/InDetTrigConfigConditions.py index d26e6d05b2bd2bfc56a9d310d7a83397a379387f..56539587d4fa1da5ed4ffbce398bc2b8269b8271 100644 --- a/InnerDetector/InDetExample/InDetTrigRecExample/python/InDetTrigConfigConditions.py +++ b/InnerDetector/InDetExample/InDetTrigRecExample/python/InDetTrigConfigConditions.py @@ -125,10 +125,11 @@ class PixelConditionsServicesSetup: # Conditions Summary Setup # ############################ # This is future replacement of the PixelConditionsSummaryTool... - from PixelConditionsAlgorithms.PixelConditionsAlgorithmsConf import PixelConfigCondAlg - condSeq += PixelConfigCondAlg(name="PixelConfigCondAlg", - UseDeadMap=self.usePixMap, - ReadDeadMapKey=PixelDeadMapFolder) + if not hasattr(condSeq, 'PixelConfigCondAlg'): + from PixelConditionsAlgorithms.PixelConditionsAlgorithmsConf import PixelConfigCondAlg + condSeq += PixelConfigCondAlg(name="PixelConfigCondAlg", + UseDeadMap=self.usePixMap, + ReadDeadMapKey=PixelDeadMapFolder) from PixelConditionsTools.PixelConditionsToolsConf import PixelConditionsSummaryTool TrigPixelConditionsSummaryTool = PixelConditionsSummaryTool(name=self.instanceName('PixelConditionsSummaryTool'),