Skip to content

Commit

Permalink
Remove AXO model in customize HLT
Browse files Browse the repository at this point in the history
  • Loading branch information
artlbv committed Mar 22, 2024
1 parent c691834 commit 1530330
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,16 @@ def checkHLTfor43774(process):
print('# TSG WARNING: check value of parameter "useAbs" in',filt,'(expect True but is False)!')

return process

def customizeHLTforAxoUTM12(process):
"""
Customisation for running HLT with the updated L1 UTM and AXOL1TL condition parsing from the PR 44054
"""
for producer in producers_by_type(process, "L1TGlobalProducer"):
if hasattr(producer, 'AXOL1TLModelVersion'):
delattr(producer, 'AXOL1TLModelVersion')
return process


# CMSSW version specific customizations
def customizeHLTforCMSSW(process, menuType="GRun"):
Expand All @@ -260,4 +270,7 @@ def customizeHLTforCMSSW(process, menuType="GRun"):

process = checkHLTfor43774(process)

# customizes AXOL1TL condition in the L1 menu
process = customizeHLTforAxoUTM12(process)

return process

0 comments on commit 1530330

Please sign in to comment.