From c0b0978600d2ad5daf96c937b06b13adcb5d6955 Mon Sep 17 00:00:00 2001 From: abarton <adam.edward.barton@cern.ch> Date: Tue, 5 Sep 2017 14:40:46 +0100 Subject: [PATCH] Add CacheCreator to viewTest Former-commit-id: 4e69d198baeaf59b24029f799c5dad1fd1b7198a --- Trigger/TrigValidation/TrigUpgradeTest/share/IDCalo.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Trigger/TrigValidation/TrigUpgradeTest/share/IDCalo.py b/Trigger/TrigValidation/TrigUpgradeTest/share/IDCalo.py index 4b596bc591c..86356ffbb74 100644 --- a/Trigger/TrigValidation/TrigUpgradeTest/share/IDCalo.py +++ b/Trigger/TrigValidation/TrigUpgradeTest/share/IDCalo.py @@ -10,6 +10,12 @@ topSequence = AlgSequence() allViewAlgorithms = None if viewTest: allViewAlgorithms = topSequence.allViewAlgorithms + #Create IdentifiableCaches + from InDetPrepRawDataFormation.InDetPrepRawDataFormationConf import InDet__CacheCreator + InDetCacheCreatorTrigViews = InDet__CacheCreator(name = "InDetCacheCreatorTrigViews", + Pixel_ClusterKey = "PixelTrigClustersCache", + SCT_ClusterKey = "SCT_ClustersCache") + allViewAlgorithms += InDetCacheCreatorTrigViews if TriggerFlags.doID: #workaround to prevent online trigger folders to be enabled @@ -177,6 +183,7 @@ if TriggerFlags.doID: allViewAlgorithms += InDetPixelClusterization allViewAlgorithms.InDetPixelClusterization.isRoI_Seeded = True allViewAlgorithms.InDetPixelClusterization.RoIs = "EMViewRoIs" + allViewAlgorithms.InDetPixelClusterization.clusterContainercacheKey = allViewAlgorithms.InDetCacheCreatorTrigViews.Pixel_ClusterKey svcMgr.ViewAlgPool.TopAlg += [ "InDetPixelClusterization" ] topSequence.viewMaker.AlgorithmNameSequence += [ "InDetPixelClusterization" ] else: @@ -210,6 +217,7 @@ if TriggerFlags.doID: allViewAlgorithms += InDetSCT_Clusterization allViewAlgorithms.InDetSCT_Clusterization.isRoI_Seeded = True allViewAlgorithms.InDetSCT_Clusterization.RoIs = "EMViewRoIs" + allViewAlgorithms.InDetSCT_Clusterization.clusterContainercacheKey = allViewAlgorithms.InDetCacheCreatorTrigViews.SCT_ClusterKey svcMgr.ViewAlgPool.TopAlg += [ "InDetSCT_Clusterization" ] topSequence.viewMaker.AlgorithmNameSequence += [ "InDetSCT_Clusterization" ] else: -- GitLab