Skip to content

Commit

Permalink
fix buggy customization function customiseHLTFor46647
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Nov 26, 2024
1 parent 8d57b55 commit 8990e7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ def customiseHLTFor46647(process):
# Replace it with cms.uint32
prod.DontCountDetsAboveNClusters = cms.uint32(value)

for prod in producers_by_type(process, 'SeedCombiner'):
if hasattr(prod, "PairCollection"):
delattr(prod, "PairCollection")
if hasattr(prod, "TripletCollection"):
delattr(prod, "TripletCollection")
for prod in producers_by_type(process, 'SeedCombiner'):
if hasattr(prod, "PairCollection"):
delattr(prod, "PairCollection")
if hasattr(prod, "TripletCollection"):
delattr(prod, "TripletCollection")

return process

Expand Down

0 comments on commit 8990e7d

Please sign in to comment.