1 import FWCore.ParameterSet.Config
as cms
16 DMEcalTriggerPrimitiveDigis = simEcalTriggerPrimitiveDigis.clone()
17 DMEcalDigis = simEcalDigis.clone()
18 DMEcalPreshowerDigis = simEcalPreshowerDigis.clone()
21 DMEcalTriggerPrimitiveDigis.Label = cms.string(
'mixData')
22 DMEcalTriggerPrimitiveDigis.InstanceEB = cms.string(
'EBDigiCollectionDM')
23 DMEcalTriggerPrimitiveDigis.InstanceEE = cms.string(
'EEDigiCollectionDM')
25 DMEcalDigis.digiProducer = cms.string(
'mixData')
26 DMEcalDigis.EBdigiCollection = cms.string(
'EBDigiCollectionDM')
27 DMEcalDigis.EEdigiCollection = cms.string(
'EEDigiCollectionDM')
28 DMEcalDigis.trigPrimProducer = cms.string(
'DMEcalTriggerPrimitiveDigis')
30 DMEcalPreshowerDigis.digiProducer = cms.string(
'mixData')
33 ecalDigiSequenceDM = cms.Sequence(DMEcalTriggerPrimitiveDigis*DMEcalDigis*DMEcalPreshowerDigis)
39 DMHcalTriggerPrimitiveDigis = simHcalTriggerPrimitiveDigis.clone()
40 DMHcalDigis = simHcalDigis.clone()
41 DMHcalTTPDigis = simHcalTTPDigis.clone()
44 DMHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag(
'mixData'),cms.InputTag(
'mixData'))
45 DMHcalDigis.digiLabel = cms.string(
"mixData")
46 DMHcalTTPDigis.HFDigiCollection = cms.InputTag(
"mixData")
48 hcalDigiSequenceDM = cms.Sequence(DMHcalTriggerPrimitiveDigis+DMHcalDigis*DMHcalTTPDigis)
50 postDMDigi = cms.Sequence(ecalDigiSequenceDM+hcalDigiSequenceDM)
53 mixData.doEmpty =
False
55 pdatamix = cms.Sequence(mixData+postDMDigi)