Skip to content

Commit

Permalink
updating customization function name for 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
ferencek committed Oct 5, 2021
1 parent c129800 commit b2c1d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def customisePixelGainForRun2Input(process):

return process

def customizePixelL1ClusterThreshold(process):
def customisePixelL1ClusterThresholdForRun2Input(process):
# revert the pixel Layer 1 cluster threshold to be compatible with Run2:
for producer in producers_by_type(process, "SiPixelClusterProducer"):
if hasattr(producer,"ClusterThreshold_L1"):
Expand All @@ -146,7 +146,7 @@ def customizePixelL1ClusterThreshold(process):
def customiseFor2018Input(process):
"""Customise the HLT to run on Run 2 data/MC"""
process = customisePixelGainForRun2Input(process)
process = customizePixelL1ClusterThreshold(process)
process = customisePixelL1ClusterThresholdForRun2Input(process)
process = customiseHCALFor2018Input(process)

return process
Expand Down

0 comments on commit b2c1d51

Please sign in to comment.