Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bringing 2017 HF simulation in sync with the data configuration #18372

Merged
merged 2 commits into from Apr 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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)
)