From 6c564a1c1dea2e047525538d202f57b5bad11a90 Mon Sep 17 00:00:00 2001 From: Walter Lampl <Walter.Lampl@cern.ch> Date: Tue, 12 Feb 2019 16:54:33 +0100 Subject: [PATCH] add LArHVCondAlg to TrigEgammaToolFactories since this is now producing the AffectedRegion CDO that cluster corrections are using --- .../TrigEgammaRec/python/TrigEgammaToolFactories.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Trigger/TrigAlgorithms/TrigEgammaRec/python/TrigEgammaToolFactories.py b/Trigger/TrigAlgorithms/TrigEgammaRec/python/TrigEgammaToolFactories.py index c01f6a3ac5bf..befd1e2ce4be 100644 --- a/Trigger/TrigAlgorithms/TrigEgammaRec/python/TrigEgammaToolFactories.py +++ b/Trigger/TrigAlgorithms/TrigEgammaRec/python/TrigEgammaToolFactories.py @@ -182,6 +182,14 @@ def configureClusterCorrections(slwAlg): slwAlg += tool slwAlg.ClusterCorrectionTools += [tool.getFullName()] + +from AthenaCommon.AlgSequence import AthSequencer +condSeq = AthSequencer("AthCondSeq") +if not hasattr (condSeq,"LArHVCondAlg"): + from LArRecUtils.LArRecUtilsConf import LArHVCondAlg + hvcond = LArHVCondAlg(doHV=False,doAffectedHV=False) + condSeq+=hvcond + TrigCaloClusterMaker_slw = Factory(TrigCaloClusterMaker,name='TrigCaloClusterMaker_slw',ClustersOutputName="TriggerClustersegSW", postInit=[configureClusterBuilder,configureClusterCorrections,configureTrigCaloClusterMonitoring]) -- GitLab