File indexing completed on 2024-04-06 12:03:44
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 from SimCalorimetry.Configuration.SimCalorimetry_cff import *
0006
0007 from SimGeneral.DataMixingModule.mixOne_sim_on_sim_cfi import *
0008
0009
0010
0011
0012
0013
0014
0015
0016 DMEcalTriggerPrimitiveDigis = simEcalTriggerPrimitiveDigis.clone()
0017 DMEcalDigis = simEcalDigis.clone()
0018 DMEcalPreshowerDigis = simEcalPreshowerDigis.clone()
0019
0020
0021 DMEcalTriggerPrimitiveDigis.Label = cms.string('mixData')
0022 DMEcalTriggerPrimitiveDigis.InstanceEB = cms.string('EBDigiCollectionDM')
0023 DMEcalTriggerPrimitiveDigis.InstanceEE = cms.string('EEDigiCollectionDM')
0024
0025 DMEcalDigis.digiProducer = cms.string('mixData')
0026 DMEcalDigis.EBdigiCollection = cms.string('EBDigiCollectionDM')
0027 DMEcalDigis.EEdigiCollection = cms.string('EEDigiCollectionDM')
0028 DMEcalDigis.trigPrimProducer = cms.string('DMEcalTriggerPrimitiveDigis')
0029
0030 DMEcalPreshowerDigis.digiProducer = cms.string('mixData')
0031
0032
0033 ecalDigiSequenceDM = cms.Sequence(DMEcalTriggerPrimitiveDigis*DMEcalDigis*DMEcalPreshowerDigis)
0034
0035
0036
0037
0038
0039 DMHcalTriggerPrimitiveDigis = simHcalTriggerPrimitiveDigis.clone()
0040 DMHcalDigis = simHcalDigis.clone()
0041 DMHcalTTPDigis = simHcalTTPDigis.clone()
0042
0043
0044 DMHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag('mixData'),cms.InputTag('mixData'))
0045 DMHcalTriggerPrimitiveDigis.inputUpgradeLabel = cms.VInputTag(cms.InputTag('mixData:HBHEQIE11DigiCollection'),cms.InputTag('mixData:HFQIE10DigiCollection'))
0046 DMHcalDigis.digiLabel = cms.string("mixData")
0047 DMHcalTTPDigis.HFDigiCollection = cms.InputTag("mixData")
0048
0049 hcalDigiSequenceDM = cms.Sequence(DMHcalTriggerPrimitiveDigis+DMHcalDigis*DMHcalTTPDigis)
0050
0051 postDMDigi = cms.Sequence(ecalDigiSequenceDM+hcalDigiSequenceDM)
0052
0053
0054
0055
0056 pdatamix = cms.Sequence(mixData+postDMDigi)
0057