File indexing completed on 2024-04-06 12:19:35
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 from L1Trigger.CSCTriggerPrimitives.CSCCommonTrigger_cfi import CSCCommonTrigger
0005
0006
0007
0008
0009 from L1Trigger.CSCTriggerPrimitives.params.alctParams import alctPSets
0010 from L1Trigger.CSCTriggerPrimitives.params.clctParams import clctPSets
0011 from L1Trigger.CSCTriggerPrimitives.params.tmbParams import tmbPSets
0012 from L1Trigger.CSCTriggerPrimitives.params.auxiliaryParams import auxPSets
0013 from L1Trigger.CSCTriggerPrimitives.params.gemcscParams import gemcscPSets
0014 from L1Trigger.CSCTriggerPrimitives.params.showerParams import showerPSet
0015
0016 cscTriggerPrimitiveDigis = cms.EDProducer(
0017 "CSCTriggerPrimitivesProducer",
0018 CSCCommonTrigger,
0019
0020
0021 alctPSets,
0022 clctPSets,
0023 tmbPSets,
0024 gemcscPSets,
0025
0026
0027
0028 debugParameters = cms.bool(False),
0029
0030
0031 CSCComparatorDigiProducer = cms.InputTag("simMuonCSCDigis","MuonCSCComparatorDigi"),
0032 CSCWireDigiProducer = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi"),
0033 GEMPadDigiClusterProducer = cms.InputTag(""),
0034
0035
0036 checkBadChambers = cms.bool(True),
0037
0038 selectedChambers = cms.vstring(),
0039
0040
0041 keepCLCTPreTriggers = cms.bool(True),
0042
0043 keepALCTPreTriggers = cms.bool(False),
0044
0045 keepShowers = cms.bool(False),
0046
0047 commonParam = auxPSets.commonParam.clone(),
0048 mpcParam = auxPSets.mpcParamRun1.clone(),
0049 showerParam = showerPSet.clone()
0050 )
0051
0052
0053
0054
0055 from Configuration.Eras.Modifier_run2_common_cff import run2_common
0056 run2_common.toModify( cscTriggerPrimitiveDigis,
0057 debugParameters = True,
0058 checkBadChambers = False,
0059 commonParam = dict(gangedME1a = False),
0060 mpcParam = auxPSets.mpcParamRun2.clone()
0061 )
0062
0063
0064
0065 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0066 run3_common.toModify( cscTriggerPrimitiveDigis,
0067 keepShowers = True,
0068 commonParam = dict(run3 = True,
0069 runCCLUT_OTMB = True,
0070 runPhase2 = True,
0071 runME11Up = True,
0072 runME21Up = True,
0073 runME31Up = True,
0074 runME41Up = True)
0075 )
0076
0077
0078 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0079 run3_GEM.toModify( cscTriggerPrimitiveDigis,
0080 GEMPadDigiClusterProducer = cms.InputTag("simMuonGEMPadDigiClusters"),
0081 commonParam = dict(runME11ILT = True)
0082 )
0083
0084
0085
0086 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
0087 phase2_muon.toModify( cscTriggerPrimitiveDigis,
0088 commonParam = dict(runME21ILT = True,
0089 enableAlctPhase2 = True)
0090 )