Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ def customiseFor2018Input(process):
return process



def customiseFor37046(process):
""" Customisation to remove the PrescaleCSVFile parameter from the ParametersetDescription of the L1TGlobalProducer
in PR 37046 (https://github.com/cms-sw/cmssw/pull/37046)
"""
for prod in producers_by_type(process, 'L1TGlobalProducer'):
if hasattr(prod, 'PrescaleCSVFile'):
delattr(prod, 'PrescaleCSVFile')
return process


# CMSSW version specific customizations
def customizeHLTforCMSSW(process, menuType="GRun"):

Expand All @@ -154,4 +165,6 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
# add call to action function in proper order: newest last!
# process = customiseFor12718(process)

process = customiseFor37046(process)

return process
Loading