From f8abf0867cbd1b386703f6f6eb078049f7db3e47 Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Sat, 16 Jan 2021 01:51:18 +0100 Subject: [PATCH] Add a customisation to enable pixel triplets at HLT (#603) --- .../python/customizeHLTforPatatrack.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py index 6b1807b8389b5..593f3d7efa50c 100644 --- a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py +++ b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py @@ -692,6 +692,21 @@ def customizeHLTforPatatrack(process): return process +# customisation to enable pixel triplets instead of quadruplets +def enablePatatrackPixelTriplets(process): + + # configure GPU pixel tracks for triplets + process.hltPixelTracksCUDA.minHitsPerNtuplet = 3 + process.hltPixelTracksCUDA.includeJumpingForwardDoublets = True + + # configure CPU pixel tracks for triplets + process.hltPixelTracksSoA.cpu.minHitsPerNtuplet = 3 + process.hltPixelTracksSoA.cpu.includeJumpingForwardDoublets = True + + # done + return process + + def _addConsumerPath(process): # add to a path all consumers and the tasks that define the producers process.Consumer = cms.Path(