Skip to content

Commit

Permalink
Add a customisation to enable pixel triplets at HLT (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Jan 16, 2021
1 parent 860ae8d commit f8abf08
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforPatatrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f8abf08

Please sign in to comment.