From 8990e7dc8ac4fdea2d1f06663511315fd463676f Mon Sep 17 00:00:00 2001 From: mmusich Date: Tue, 26 Nov 2024 17:59:45 +0100 Subject: [PATCH] fix buggy customization function customiseHLTFor46647 --- HLTrigger/Configuration/python/customizeHLTforCMSSW.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/HLTrigger/Configuration/python/customizeHLTforCMSSW.py b/HLTrigger/Configuration/python/customizeHLTforCMSSW.py index 1d87fe0c1011d..dc725f23f5e51 100644 --- a/HLTrigger/Configuration/python/customizeHLTforCMSSW.py +++ b/HLTrigger/Configuration/python/customizeHLTforCMSSW.py @@ -56,11 +56,11 @@ def customiseHLTFor46647(process): # Replace it with cms.uint32 prod.DontCountDetsAboveNClusters = cms.uint32(value) - for prod in producers_by_type(process, 'SeedCombiner'): - if hasattr(prod, "PairCollection"): - delattr(prod, "PairCollection") - if hasattr(prod, "TripletCollection"): - delattr(prod, "TripletCollection") + for prod in producers_by_type(process, 'SeedCombiner'): + if hasattr(prod, "PairCollection"): + delattr(prod, "PairCollection") + if hasattr(prod, "TripletCollection"): + delattr(prod, "TripletCollection") return process