Skip to content

Commit

Permalink
HLT calotower settings for collapsed hits
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedro88 committed Jan 17, 2018
1 parent df3809e commit cc00785
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@
# pset.minGoodStripCharge = cms.PSet(refToPSet_ = cms.string('HLTSiStripClusterChargeCutNone'))
# return process

def customiseFor21810(process):
for producer in producers_by_type(process, "CaloTowersCreator"):
producer.HcalPhase = cms.int32(0)
producer.HcalCollapsed = cms.bool(True)
producer.HESThreshold1 = cms.double(0.8)
producer.HESThreshold = cms.double(0.8)
producer.HEDThreshold1 = cms.double(0.8)
producer.HEDThreshold = cms.double(0.8)
return process

def customiseFor21664_forMahiOn(process):
for producer in producers_by_type(process, "HBHEPhase1Reconstructor"):
producer.algorithm.useMahi = cms.bool(True)
Expand All @@ -38,4 +48,6 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
# add call to action function in proper order: newest last!
# process = customiseFor12718(process)

process = customiseFor21810(process)

return process

0 comments on commit cc00785

Please sign in to comment.