CMS 3D CMS Logo

SimL1EmulatorDM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # In premixing stage2, need to use the original ones for muons
6 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
7 
8 # Modifications for DataMixer input:
9 (~premix_stage2).toModify(simDtTriggerPrimitiveDigis, digiTag = 'mixData')
10 (~premix_stage2).toModify(simCscTriggerPrimitiveDigis, CSCComparatorDigiProducer = "mixData:MuonCSCComparatorDigisDM")
11 (~premix_stage2).toModify(simCscTriggerPrimitiveDigis, CSCWireDigiProducer = "mixData:MuonCSCWireDigisDM")
12 #
13 #
14 (~premix_stage2).toModify(simRpcTechTrigDigis, RPCDigiLabel = 'mixData')
15 #
16 simHcalTechTrigDigis.ttpDigiCollection = "DMHcalTTPDigis"
17 #
18 l1tHGCalVFEProducer.eeDigis = "mixData:HGCDigisEE"
19 l1tHGCalVFEProducer.fhDigis = "mixData:HGCDigisHEfront"
20 l1tHGCalVFEProducer.bhDigis = "mixData:HGCDigisHEback"
21 
22 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
23 # Legacy and Stage-1 Trigger
24 (~premix_stage2).toModify(simRpcTriggerDigis, label = 'mixData')
25 simRctDigis.hcalDigis=["DMHcalTriggerPrimitiveDigis"]
26 simRctDigis.ecalDigis=["DMEcalTriggerPrimitiveDigis"]
27 # Stage-2 Trigger
28 #seems likely that this code does not support 2015 MC...
29 (~premix_stage2).toModify(simTwinMuxDigis, RPC_Source = 'mixData')
30 (~premix_stage2).toModify(simOmtfDigis, srcRPC = 'mixData')
31 simCaloStage2Layer1Digis.ecalToken = "DMEcalTriggerPrimitiveDigis"
32 simCaloStage2Layer1Digis.hcalToken = "DMHcalTriggerPrimitiveDigis"