Skip to content

Commit

Permalink
customizeHLTforCMSSW for CPU speed + port of PR21840,21733
Browse files Browse the repository at this point in the history
  • Loading branch information
mariadalfonso committed Feb 22, 2018
1 parent 8008822 commit f1ad65f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Expand Up @@ -17,6 +17,19 @@
# pset.minGoodStripCharge = cms.PSet(refToPSet_ = cms.string('HLTSiStripClusterChargeCutNone'))
# return process


def customiseForPRXXX(process):
for producer in producers_by_type(process, "HBHEPhase1Reconstructor"):
producer.algorithm.chiSqSwitch = cms.double(15.0)
producer.saveEffectivePedestal = cms.bool(True)
if (producer.algorithm.useMahi == cms.bool(True)):
producer.algorithm.applyTimeConstraint = cms.bool(False)
producer.algorithm.applyPedConstraint = cms.bool(False)
if producer.algorithm.timeSlewPars:
del producer.algorithm.timeSlewPars
return process


def customiseFor21821(process):
for producer in producers_by_type(process, "HBHEPhase1Reconstructor"):
producer.algorithm.ts4Max = cms.vdouble(100., 20000., 30000)
Expand Down Expand Up @@ -173,5 +186,6 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
# process = customiseFor12718(process)
process = customiseFor21821(process)
process = customiseForEcalTestPR22254Default(process)
process = customiseForPRXXX(process)

return process

0 comments on commit f1ad65f

Please sign in to comment.