1 import FWCore.ParameterSet.Config
as cms
16 DMEcalTriggerPrimitiveDigis = simEcalTriggerPrimitiveDigis.clone()
17 DMEcalEBTriggerPrimitiveDigis = simEcalEBTriggerPrimitiveDigis.clone()
18 DMEcalDigis = simEcalDigis.clone()
19 DMEcalPreshowerDigis = simEcalPreshowerDigis.clone()
22 DMEcalTriggerPrimitiveDigis.Label = cms.string(
'mixData')
23 DMEcalTriggerPrimitiveDigis.InstanceEB = cms.string(
'')
24 DMEcalTriggerPrimitiveDigis.InstanceEE = cms.string(
'')
26 DMEcalEBTriggerPrimitiveDigis.barrelEcalDigis =
'mixData' 28 DMEcalDigis.digiProducer = cms.string(
'mixData')
29 DMEcalDigis.EBdigiCollection = cms.string(
'')
30 DMEcalDigis.EEdigiCollection = cms.string(
'')
31 DMEcalDigis.trigPrimProducer = cms.string(
'DMEcalTriggerPrimitiveDigis')
33 DMEcalPreshowerDigis.digiProducer = cms.string(
'mixData')
36 ecalDigiSequenceDM = cms.Sequence(DMEcalTriggerPrimitiveDigis*DMEcalDigis*DMEcalPreshowerDigis)
37 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
38 _phase2_ecalDigiSequenceDM = ecalDigiSequenceDM.copy()
39 _phase2_ecalDigiSequenceDM.insert(0,DMEcalEBTriggerPrimitiveDigis)
40 phase2_common.toReplaceWith(ecalDigiSequenceDM, _phase2_ecalDigiSequenceDM)
46 DMHcalTriggerPrimitiveDigis = simHcalTriggerPrimitiveDigis.clone()
47 DMHcalDigis = simHcalDigis.clone()
48 DMHcalTTPDigis = simHcalTTPDigis.clone()
51 DMHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag(
'mixData'),cms.InputTag(
'mixData'))
52 DMHcalTriggerPrimitiveDigis.inputUpgradeLabel = cms.VInputTag(cms.InputTag(
'mixData:HBHEQIE11DigiCollection'),cms.InputTag(
'mixData:HFQIE10DigiCollection'))
53 DMHcalDigis.digiLabel = cms.string(
'mixData')
54 DMHcalTTPDigis.HFDigiCollection = cms.InputTag(
"mixData")
56 hcalDigiSequenceDM = cms.Sequence(DMHcalTriggerPrimitiveDigis+DMHcalDigis*DMHcalTTPDigis)
58 postDMDigi = cms.Sequence(ecalDigiSequenceDM+hcalDigiSequenceDM)
63 _phase2_postDMDigi = postDMDigi.copy()
64 _phase2_postDMDigi += (muonGEMDigiDM+muonME0DigiDM)
65 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
66 phase2_muon.toReplaceWith(postDMDigi, _phase2_postDMDigi)
79 pdatamix = cms.Sequence(mixData+postDMDigi+addPileupInfo)
81 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
85 from FastSimulation.Configuration.DigiAliases_cff
import loadDigiAliases
87 modifyDataMixerPreMix_fastSimDigis = fastSim.makeProcessModifier(_fastSimDigis)
def _fastSimDigis(process)
def loadDigiAliases(process, premix=False)