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 ecalDigiTask = cms.Task(simEcalTriggerPrimitiveDigis, simEcalDigis, simEcalPreshowerDigis)
13 ecalDigiSequence = cms.Sequence(ecalDigiTask)
14 
15 
16 # This is extra, since the configuration skips it anyway. Belts and suspenders.
17 from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
18 premix_stage1.toReplaceWith(ecalDigiTask, ecalDigiTask.copyAndExclude([simEcalPreshowerDigis]))
19 
21 _phase2_ecalDigiTask = ecalDigiTask.copy()
22 _phase2_ecalDigiTask.add(simEcalEBTriggerPrimitiveDigis)
23 
24 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
25 phase2_common.toReplaceWith(ecalDigiTask,_phase2_ecalDigiTask)
26 
27 
ecaldigi_cfi
ecalEBTriggerPrimitiveDigis_cff
ecalTriggerPrimitiveDigis_cff
ecalDigis_cfi
ecalPreshowerDigis_cfi