1 import FWCore.ParameterSet.Config
as cms
8 hcalSimBlock = cms.PSet(
11 doNoise = cms.bool(
True),
12 killHE = cms.bool(
False),
13 HcalPreMixStage1 = cms.bool(
False),
14 HcalPreMixStage2 = cms.bool(
False),
17 doEmpty = cms.bool(
True),
18 doIonFeedback = cms.bool(
True),
19 doThermalNoise = cms.bool(
True),
20 doTimeSlew = cms.bool(
True),
21 doHFWindow = cms.bool(
False),
22 hitsProducer = cms.string(
'g4SimHits'),
23 DelivLuminosity = cms.double(0),
24 TestNumbering = cms.bool(
False),
25 doNeutralDensityFilter = cms.bool(
True),
26 HBDarkening = cms.bool(
False),
27 HEDarkening = cms.bool(
False),
28 HFDarkening = cms.bool(
False),
29 minFCToDelay=cms.double(5.),
30 debugCaloSamples=cms.bool(
False),
31 ignoreGeantTime=cms.bool(
False),
33 injectTestHits = cms.bool(
False),
37 injectTestHitsEnergy = cms.vdouble(),
38 injectTestHitsTime = cms.vdouble(),
43 injectTestHitsCells = cms.vint32(),
44 HFRecalParameterBlock = HFRecalParameterBlock,
47 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
48 fastSim.toModify( hcalSimBlock, hitsProducer=cms.string(
'fastSimProducer') )
50 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
51 premix_stage1.toModify(hcalSimBlock,
54 doIonFeedback =
False,
55 doThermalNoise =
False,
57 HcalPreMixStage1 =
True,
61 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
62 (run2_HCAL_2017 & ~fastSim).toModify( hcalSimBlock, TestNumbering = cms.bool(
True) )
65 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
66 phase2_hgcal.toModify(hcalSimBlock, killHE = cms.bool(
True) )