1 import FWCore.ParameterSet.Config
as cms
17 DMEcalTriggerPrimitiveDigis = simEcalTriggerPrimitiveDigis.clone()
18 DMEcalEBTriggerPrimitiveDigis = simEcalEBTriggerPrimitiveDigis.clone()
19 DMEcalDigis = simEcalDigis.clone()
20 DMEcalPreshowerDigis = simEcalPreshowerDigis.clone()
23 DMEcalTriggerPrimitiveDigis.Label = cms.string(
'mixData')
24 DMEcalTriggerPrimitiveDigis.InstanceEB = cms.string(
'')
25 DMEcalTriggerPrimitiveDigis.InstanceEE = cms.string(
'')
27 DMEcalEBTriggerPrimitiveDigis.barrelEcalDigis =
'mixData'
29 DMEcalDigis.digiProducer = cms.string(
'mixData')
30 DMEcalDigis.EBdigiCollection = cms.string(
'')
31 DMEcalDigis.EEdigiCollection = cms.string(
'')
32 DMEcalDigis.trigPrimProducer = cms.string(
'DMEcalTriggerPrimitiveDigis')
34 DMEcalPreshowerDigis.digiProducer = cms.string(
'mixData')
37 ecalDigiTaskDM = cms.Task(DMEcalTriggerPrimitiveDigis, DMEcalDigis, DMEcalPreshowerDigis)
38 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
39 _phase2_ecalDigiTaskDM = ecalDigiTaskDM.copy()
40 _phase2_ecalDigiTaskDM.add(DMEcalEBTriggerPrimitiveDigis)
41 phase2_common.toReplaceWith(ecalDigiTaskDM, _phase2_ecalDigiTaskDM)
47 DMHcalTriggerPrimitiveDigis = simHcalTriggerPrimitiveDigis.clone()
48 DMHcalDigis = simHcalDigis.clone()
49 DMHcalTTPDigis = simHcalTTPDigis.clone()
52 DMHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag(
'mixData'),cms.InputTag(
'mixData'))
53 DMHcalTriggerPrimitiveDigis.inputUpgradeLabel = cms.VInputTag(cms.InputTag(
'mixData:HBHEQIE11DigiCollection'),cms.InputTag(
'mixData:HFQIE10DigiCollection'))
54 DMHcalDigis.digiLabel = cms.string(
'mixData')
55 DMHcalTTPDigis.HFDigiCollection = cms.InputTag(
"mixData")
57 hcalDigiTaskDM = cms.Task(DMHcalTriggerPrimitiveDigis, DMHcalDigis, DMHcalTTPDigis)
59 postDMDigi = cms.Task(ecalDigiTaskDM, hcalDigiTaskDM, muonDigiTask)
71 pdatamixTask = cms.Task(mixData, postDMDigi, addPileupInfo)
72 pdatamix = cms.Sequence(pdatamixTask)
74 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
78 from FastSimulation.Configuration.DigiAliases_cff
import loadDigiAliases
80 modifyDataMixerPreMix_fastSimDigis = fastSim.makeProcessModifier(_fastSimDigis)