Skip to content

Commit 525eaac

Browse files
author
Sunanda
committed
As suggested by Andrea
1 parent 01215d6 commit 525eaac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SimCalorimetry/HcalSimProducers/python/hcalUnsuppressedDigis_cfi.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
)
4747

4848
from Configuration.Eras.Modifier_fastSim_cff import fastSim
49-
fastSim.toModify( hcalSimBlock, hitsProducer=cms.string('fastSimProducer') )
49+
fastSim.toModify( hcalSimBlock, hitsProducer = "fastSimProducer" )
5050

5151
from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
5252
premix_stage1.toModify(hcalSimBlock,
@@ -60,15 +60,15 @@
6060

6161
# test numbering not used in fastsim
6262
from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
63-
(run2_HCAL_2017 & ~fastSim).toModify( hcalSimBlock, TestNumbering = cms.bool(True) )
63+
(run2_HCAL_2017 & ~fastSim).toModify( hcalSimBlock, TestNumbering = True )
6464

6565
# remove HE processing for phase 2, completely put in HGCal land
6666
from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
6767
phase2_hgcal.toModify(hcalSimBlock,
68-
doZDCDigi = cms.bool(False),
69-
killHE = cms.bool(True)
68+
doZDCDigi = False,
69+
killHE = True
7070
)
7171

7272
# remove HE processing for phase 2, completely put in HGCal land
7373
from Configuration.Eras.Modifier_zdcNoDigi_cff import zdcNoDigi
74-
zdcNoDigi.toModify(hcalSimBlock, doZDCDigi = cms.bool(False) )
74+
zdcNoDigi.toModify(hcalSimBlock, doZDCDigi = False )

0 commit comments

Comments
 (0)