Skip to content

Commit

Permalink
Remove the EcalRawToDigi.maxFedSize parameter from the HLT menu
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Jun 2, 2022
1 parent ca8743a commit 97e7f2b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Expand Up @@ -189,12 +189,23 @@ def customiseForOffline(process):
return process


# ECAL GPU unpacker: adapt the buffer size to the ECAL FEDs size (#38202)
# remove the EcalRawToDigi.maxFedSize parameter from the menu
def customizeHLTfor38202(process):
for producer in producers_by_type(process, "EcalRawToDigiGPU"):
if hasattr(producer, "maxFedSize"):
delattr(producer, "maxFedSize")

return process


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

process = customiseForOffline(process)

# add call to action function in proper order: newest last!
# process = customiseFor12718(process)
process = customizeHLTfor38202(process)

return process

0 comments on commit 97e7f2b

Please sign in to comment.