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 #37606

Merged
merged 1 commit into from
Apr 19, 2022
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
10 changes: 9 additions & 1 deletion HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,24 @@ 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


def customiseFor37231(process):
""" Customisation to fix the typo of Reccord in PR 37231 (https://github.com/cms-sw/cmssw/pull/37231) """

Expand Down Expand Up @@ -185,4 +194,3 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
process = customiseFor37231(process)

return process