Skip to content

Commit

Permalink
Merge pull request #11474 from davidlange6/refix_hcal
Browse files Browse the repository at this point in the history
Fix mistakes in hcal customise function
  • Loading branch information
davidlange6 committed Sep 24, 2015
2 parents 01e471a + d976be3 commit 967d354
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,16 @@ def customise_New_HCAL(process):
process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.67)

if hasattr(process,'mixData'):
if hasattr(process.mix.digitizers,'hcal'):
if hasattr(process.mixData.digitizers,'hcal'):
process.mixData.digitizers.hcal.minFCToDelay=5.
if hasattr(process.mixData,'hf1'):
process.mixData.hf1.samplingFactor = cms.double(0.67)
if hasattr(process.mixData,'hf2'):
process.mixData.hf2.samplingFactor = cms.double(0.67)

if hasattr(process,'hltHbhereco'):
process.hltHbhereco.timeSlewPars = cms.vdouble( 12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0 )
process.hltHbhereco.respCorrM3 = cms.double( 0.95 )
if hasattr(process,'hltHbhereco'):
process.hltHbhereco.timeSlewPars = cms.vdouble( 12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0 )
process.hltHbhereco.respCorrM3 = cms.double( 0.95 )

return process

Expand Down

0 comments on commit 967d354

Please sign in to comment.