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.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
51 (run2_HCAL_2017 & ~fastSim).toModify( hcalSimBlock, TestNumbering = cms.bool(
True) )
54 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
55 phase2_hgcal.toModify(hcalSimBlock, killHE = cms.bool(
True) )