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 HLT-EGM customisation for 2018 Data [12_3_X] #37626

Merged
merged 1 commit into from Apr 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Expand Up @@ -144,12 +144,20 @@ def customiseCTPPSFor2018Input(process):

return process

def customiseEGammaRecoFor2018Input(process):
for prod in producers_by_type(process, 'PFECALSuperClusterProducer'):
if hasattr(prod, 'regressionConfig'):
prod.regressionConfig.regTrainedWithPS = cms.bool(False)

return process

def customiseFor2018Input(process):
"""Customise the HLT to run on Run 2 data/MC"""
process = customisePixelGainForRun2Input(process)
process = customisePixelL1ClusterThresholdForRun2Input(process)
process = customiseHCALFor2018Input(process)
process = customiseCTPPSFor2018Input(process)
process = customiseEGammaRecoFor2018Input(process)

return process

Expand Down