From e9ee0847980edf3de756ea4185886b810eba2901 Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Thu, 7 Oct 2021 09:38:06 +0200 Subject: [PATCH] Add a workaround for AlCa paths to the Patatrack customisation --- .../python/customizeHLTforPatatrack.py | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py index 89987dd8320f9..631d8fb0d4a9d 100644 --- a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py +++ b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py @@ -217,6 +217,32 @@ def customisePixelLocalReconstruction(process): process.HLTDoLocalPixelSequence = cms.Sequence(process.HLTDoLocalPixelTask) + # workaround for AlCa paths + + if 'AlCa_LumiPixelsCounts_Random_v1' in process.__dict__: + # redefine the path to use the HLTDoLocalPixelSequence + process.AlCa_LumiPixelsCounts_Random_v1 = cms.Path( + process.HLTBeginSequenceRandom + + process.hltScalersRawToDigi + + process.hltPreAlCaLumiPixelsCountsRandom + + process.hltPixelTrackerHVOn + + process.HLTDoLocalPixelSequence + + process.hltAlcaPixelClusterCounts + + process.HLTEndSequence ) + + if 'AlCa_LumiPixelsCounts_ZeroBias_v1' in process.__dict__: + # redefine the path to use the HLTDoLocalPixelSequence + process.AlCa_LumiPixelsCounts_ZeroBias_v1 = cms.Path( + process.HLTBeginSequence + + process.hltScalersRawToDigi + + process.hltL1sZeroBias + + process.hltPreAlCaLumiPixelsCountsZeroBias + + process.hltPixelTrackerHVOn + + process.HLTDoLocalPixelSequence + + process.hltAlcaPixelClusterCounts + + process.HLTEndSequence ) + + # done return process