CMS 3D CMS Logo

ecalDigiSequence_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # unsuppressed digis simulation - fast preshower
5 # ECAL Trigger Primitives (needed by SRP)
7 # Selective Readout Processor producer
9 # Preshower Zero suppression producer
11 # simEcalUnsuppressedDigis is now done inside mixing module
12 ecalDigiSequence = cms.Sequence(simEcalTriggerPrimitiveDigis*simEcalDigis*simEcalPreshowerDigis)
13 
14 
15 # This is extra, since the configuration skips it anyway. Belts and suspenders.
16 from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
17 premix_stage1.toReplaceWith(ecalDigiSequence, ecalDigiSequence.copyAndExclude([simEcalPreshowerDigis]))
18 
20 _phase2_ecalDigiSequence = ecalDigiSequence.copy()
21 _phase2_ecalDigiSequence.insert(0,simEcalEBTriggerPrimitiveDigis)
22 
23 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
24 phase2_common.toReplaceWith(ecalDigiSequence,_phase2_ecalDigiSequence)
25 
26