Skip to content

Commit

Permalink
Merge pull request #18372 from abdoulline/HF_2017_3TS
Browse files Browse the repository at this point in the history
Bringing 2017 HF simulation in sync with the data configuration
  • Loading branch information
cmsbuild committed Apr 20, 2017
2 parents f1ae3b0 + 8d7e5c1 commit f945a7a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
12 changes: 12 additions & 0 deletions SimCalorimetry/HcalSimProducers/python/hcalSimParameters_cfi.py
Expand Up @@ -120,6 +120,18 @@
)
)

from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017
run2_HF_2017.toModify( hcalSimParameters,
hf1 = dict(
readoutFrameSize = cms.int32(3),
binOfMaximum = cms.int32(2)
),
hf2 = dict(
readoutFrameSize = cms.int32(3),
binOfMaximum = cms.int32(2)
)
)

from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
run3_HB.toModify( hcalSimParameters,
hb = dict(
Expand Down
Expand Up @@ -55,5 +55,9 @@
)

run2_HE_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHE=cms.bool(True))
run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis, upgradeHF=cms.bool(True))
run2_HF_2017.toModify(simHcalTriggerPrimitiveDigis,
upgradeHF=cms.bool(True),
numberOfSamplesHF = cms.int32(2),
numberOfPresamplesHF = cms.int32(1)
)
run3_HB.toModify(simHcalTriggerPrimitiveDigis, upgradeHB=cms.bool(True))
Expand Up @@ -26,3 +26,8 @@
useConfigZSvalues = cms.int32(1),
HElevel = cms.int32(3)
)

from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017
run2_HF_2017.toModify( simHcalDigis,
HFregion = cms.vint32(1,2)
)

0 comments on commit f945a7a

Please sign in to comment.