CMS 3D CMS Logo

SimL1EmulatorDM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # Modifications for DataMixer input:
6 simDtTriggerPrimitiveDigis.digiTag = 'mixData'
7 simCscTriggerPrimitiveDigis.CSCComparatorDigiProducer = cms.InputTag("mixData","MuonCSCComparatorDigisDM")
8 simCscTriggerPrimitiveDigis.CSCWireDigiProducer = cms.InputTag("mixData","MuonCSCWireDigisDM")
9 #
10 #
11 simRpcTechTrigDigis.RPCDigiLabel = 'mixData'
12 #
13 simHcalTechTrigDigis.ttpDigiCollection = "DMHcalTTPDigis"
14 #
15 
16 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
17 if not stage2L1Trigger.isChosen():
18  simRpcTriggerDigis.label = 'mixData'
19  simRctDigis.hcalDigis=cms.VInputTag(cms.InputTag("DMHcalTriggerPrimitiveDigis"))
20  simRctDigis.ecalDigis=cms.VInputTag(cms.InputTag("DMEcalTriggerPrimitiveDigis"))
21 else:
22  #seems likely that this code does not support 2015 MC...
23  simTwinMuxDigis.RPC_Source = cms.InputTag('mixData')
24  simOmtfDigis.srcRPC = cms.InputTag('mixData')
25  simCaloStage2Layer1Digis.ecalToken = cms.InputTag("DMEcalTriggerPrimitiveDigis")
26  simCaloStage2Layer1Digis.hcalToken = cms.InputTag("DMHcalTriggerPrimitiveDigis")