CMS 3D CMS Logo

simCscTriggerPrimitiveDigisForEMTF_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi import cscTriggerPrimitiveDigis
4 
5 # Taken from L1Trigger.L1TMuon.simDigis_cff
6 simCscTriggerPrimitiveDigisForEMTF = cscTriggerPrimitiveDigis.clone(
7  CSCComparatorDigiProducer = 'simMuonCSCDigis:MuonCSCComparatorDigi',
8  CSCWireDigiProducer = 'simMuonCSCDigis:MuonCSCWireDigi'
9 )
10 
11 # Taken from L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi
12 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
13 run3_GEM.toModify(simCscTriggerPrimitiveDigisForEMTF,
14  commonParam = dict(runPhase2 = cms.bool(True),
15  runME11Up = cms.bool(True),
16  runME11ILT = cms.bool(False), # was: True
17  GEMPadDigiClusterProducer = cms.InputTag(""),
18  enableAlctPhase2 = cms.bool(False))) # was: True
19 
20 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
21 phase2_muon.toModify(simCscTriggerPrimitiveDigisForEMTF,
22  commonParam = dict(runME21Up = cms.bool(True),
23  runME21ILT = cms.bool(False), # was: True
24  runME31Up = cms.bool(True),
25  runME41Up = cms.bool(True),
26  enableAlctPhase2 = cms.bool(False))) # was: True
27 
28 # Allow CSCs to have hits in multiple bxs - (Needs to be fixed on their end eventually)
29 phase2_muon.toModify(simCscTriggerPrimitiveDigisForEMTF.tmbPhase1, tmbReadoutEarliest2 = False)
30 phase2_muon.toModify(simCscTriggerPrimitiveDigisForEMTF.tmbPhase2, tmbReadoutEarliest2 = False)