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

HCAL: HBHE MC 8TS->10TS move for >=Run3 #29035

Merged
merged 3 commits into from
Feb 27, 2020
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions SimCalorimetry/HcalSimProducers/python/HBHE_revert_8TS_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import FWCore.ParameterSet.Config as cms

#--- reset HB/HE digi frame size to 8TS & SOI=3 (0,1,2,3)
#--- NB: needs ZS re-adjustment/customization at the same time

def customise_8TS(process):
process.mix.digitizers.hcal.hb.readoutFrameSize = 8
process.mix.digitizers.hcal.he.readoutFrameSize = 8
process.mix.digitizers.hcal.hb.binOfMaximum = 4
process.mix.digitizers.hcal.he.binOfMaximum = 4
return(process)
13 changes: 13 additions & 0 deletions SimCalorimetry/HcalSimProducers/python/hcalSimParameters_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,19 @@
)
)

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toModify( hcalSimParameters,
hb = dict(
readoutFrameSize = cms.int32(10),
binOfMaximum = cms.int32(6)
),
he = dict(
readoutFrameSize = cms.int32(10),
binOfMaximum = cms.int32(6)
)
)


_newFactors = cms.vdouble(
210.55, 197.93, 186.12, 189.64, 189.63,
189.96, 190.03, 190.11, 190.18, 190.25,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import FWCore.ParameterSet.Config as cms

#--- reset HB/HE ZS to 2TS
#--- NB: may need appropriate HcalZSThresholds update

def customise_2TS(process):
process.simHcalDigis.HBregion = (2,5)
process.simHcalDigis.HEregion = (2,5)
process.simHcalDigis.use1ts = False
return(process)

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toModify( simHcalDigis,
use1ts = cms.bool(True)
use1ts = cms.bool(True),
HBregion = cms.vint32(4,7),
HEregion = cms.vint32(4,7)
)


Expand Down