Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a customisation to enable pixel triplets at HLT #603

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
del 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