1 import FWCore.ParameterSet.Config
as cms
3 simEcalDigis = cms.EDProducer(
"EcalSelectiveReadoutProducer",
5 digiProducer = cms.string(
'simEcalUnsuppressedDigis'),
8 EBdigiCollection = cms.string(
''),
11 EEdigiCollection = cms.string(
''),
14 EBSrFlagCollection = cms.string(
'ebSrFlags'),
17 EESrFlagCollection = cms.string(
'eeSrFlags'),
20 EBSRPdigiCollection = cms.string(
'ebDigis'),
23 EESRPdigiCollection = cms.string(
'eeDigis'),
26 configFromCondDB = cms.bool(
True),
29 UseFullReadout = cms.bool(
False),
35 trigPrimProducer = cms.string(
'simEcalTriggerPrimitiveDigis'),
38 trigPrimCollection = cms.string(
''),
41 trigPrimBypass = cms.bool(
False),
47 trigPrimBypassMode = cms.int32(0),
50 trigPrimBypassLTH = cms.double(1.0),
53 trigPrimBypassHTH = cms.double(1.0),
56 trigPrimBypassWithPeakFinder = cms.bool(
True),
59 dumpFlags = cms.untracked.int32(0),
62 writeSrFlags = cms.untracked.bool(
True),
66 produceDigis = cms.untracked.bool(
True),
72 defaultTtf = cms.int32(4)
76 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
77 premix_stage1.toModify(simEcalDigis, UseFullReadout =
True)