Skip to content

Commit

Permalink
add HLT customization
Browse files Browse the repository at this point in the history
  • Loading branch information
mariadalfonso committed Jan 10, 2018
1 parent 8a1b56a commit 6255173
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Expand Up @@ -17,6 +17,22 @@
# pset.minGoodStripCharge = cms.PSet(refToPSet_ = cms.string('HLTSiStripClusterChargeCutNone'))
# return process


def customiseFor21821(process):
from RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi import hbheprereco
for producer in producers_by_type(process, "HBHEPhase1Reconstructor"):
producer.algorithm.ts4Max = cms.vdouble(100., 20000., 30000)
del producer.algorithm.pedestalUpperLimit
del producer.algorithm.pedSigmaHPD
del producer.algorithm.pedSigmaSiPM
del producer.algorithm.noiseHPD
del producer.algorithm.noiseSiPM

for producer in producers_by_type(process, "HcalHitReconstructor"):
del producer.puCorrMethod

return process

# Add mahi to HCAL local reconstruction
def customiseFor21664(process):
from RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi import hbheprereco
Expand Down Expand Up @@ -97,5 +113,6 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
process = customiseFor20429(process)
process = customiseFor21437(process)
process = customiseFor21664(process)
process = customiseFor21821(process)

return process

0 comments on commit 6255173

Please sign in to comment.