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(
''),
42 trigPrimBypass = cms.bool(
False),
48 trigPrimBypassMode = cms.int32(0),
51 trigPrimBypassLTH = cms.double(1.0),
54 trigPrimBypassHTH = cms.double(1.0),
57 trigPrimBypassWithPeakFinder = cms.bool(
True),
60 dumpFlags = cms.untracked.int32(0),
63 writeSrFlags = cms.untracked.bool(
True),
67 produceDigis = cms.untracked.bool(
True),
73 defaultTtf = cms.int32(4)
77 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
78 premix_stage1.toModify(simEcalDigis, UseFullReadout =
True)
80 _simEcalDigisPh2 = simEcalDigis.clone(
81 trigPrimBypass =
True,