1 import FWCore.ParameterSet.Config
as cms
21 dqmEnvL1T = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
22 subSystemFolder =
'L1T' 32 dqmEnvL1TriggerReco = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
33 subSystemFolder =
'L1T/L1TriggerVsReco' 41 dqmEnvL1TEMU = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
42 subSystemFolder =
'L1TEMU' 51 l1TdeRCT.rctSourceData =
'gctDigis' 59 l1TdeRCT.rctSourceData =
'gctDigis' 60 l1TdeRCTfromRCT.rctSourceData =
'gctDigis' 61 l1tRct.rctSource =
'gctDigis' 62 l1tRctfromRCT.rctSource =
'gctDigis' 63 l1tPUM.regionSource = cms.InputTag(
"gctDigis")
65 l1tStage1Layer2.gctCentralJetsSource = cms.InputTag(
"gctDigis",
"cenJets")
66 l1tStage1Layer2.gctForwardJetsSource = cms.InputTag(
"gctDigis",
"forJets")
67 l1tStage1Layer2.gctTauJetsSource = cms.InputTag(
"gctDigis",
"tauJets")
68 l1tStage1Layer2.gctIsoTauJetsSource = cms.InputTag(
"",
"")
69 l1tStage1Layer2.gctEnergySumsSource = cms.InputTag(
"gctDigis")
70 l1tStage1Layer2.gctIsoEmSource = cms.InputTag(
"gctDigis",
"isoEm")
71 l1tStage1Layer2.gctNonIsoEmSource = cms.InputTag(
"gctDigis",
"nonIsoEm")
72 l1tStage1Layer2.stage1_layer2_ = cms.bool(
False)
74 dqmL1ExtraParticlesStage1.etTotalSource =
'gctDigis' 75 dqmL1ExtraParticlesStage1.nonIsolatedEmSource =
'gctDigis:nonIsoEm' 76 dqmL1ExtraParticlesStage1.etMissSource =
'gctDigis' 77 dqmL1ExtraParticlesStage1.htMissSource =
'gctDigis' 78 dqmL1ExtraParticlesStage1.forwardJetSource =
'gctDigis:forJets' 79 dqmL1ExtraParticlesStage1.centralJetSource =
'gctDigis:cenJets' 80 dqmL1ExtraParticlesStage1.tauJetSource =
'gctDigis:tauJets' 81 dqmL1ExtraParticlesStage1.isolatedEmSource =
'gctDigis:isoEm' 82 dqmL1ExtraParticlesStage1.etHadSource =
'gctDigis' 83 dqmL1ExtraParticlesStage1.hfRingEtSumsSource =
'gctDigis' 84 dqmL1ExtraParticlesStage1.hfRingBitCountsSource =
'gctDigis' 85 l1ExtraDQMStage1.stage1_layer2_ = cms.bool(
False)
86 l1ExtraDQMStage1.L1ExtraIsoTauJetSource_ = cms.InputTag(
"fake")
88 l1compareforstage1.GCTsourceData = cms.InputTag(
"gctDigis")
89 l1compareforstage1.GCTsourceEmul = cms.InputTag(
"valGctDigis")
90 l1compareforstage1.stage1_layer2_ = cms.bool(
False)
92 valStage1GtDigis.GctInputTag =
'gctDigis' 95 from Configuration.Eras.Modifier_stage1L1Trigger_cff
import stage1L1Trigger
96 stage1L1Trigger.toModify(l1TdeRCT, rctSourceData =
'caloStage1Digis')
97 stage1L1Trigger.toModify(l1TdeRCTfromRCT, rctSourceData =
'rctDigis')
98 stage1L1Trigger.toModify(l1tRct, rctSource =
'caloStage1Digis')
99 stage1L1Trigger.toModify(l1tRctfromRCT, rctSource =
'rctDigis')
100 stage1L1Trigger.toModify(l1tPUM, regionSource = cms.InputTag(
"rctDigis"))
102 stage1L1Trigger.toModify(l1tStage1Layer2, stage1_layer2_ = cms.bool(
True))
103 stage1L1Trigger.toModify(l1tStage1Layer2, gctCentralJetsSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"cenJets"))
104 stage1L1Trigger.toModify(l1tStage1Layer2, gctForwardJetsSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"forJets"))
105 stage1L1Trigger.toModify(l1tStage1Layer2, gctTauJetsSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"tauJets"))
106 stage1L1Trigger.toModify(l1tStage1Layer2, gctIsoTauJetsSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoTauJets"))
107 stage1L1Trigger.toModify(l1tStage1Layer2, gctEnergySumsSource = cms.InputTag(
"caloStage1LegacyFormatDigis"))
108 stage1L1Trigger.toModify(l1tStage1Layer2, gctIsoEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoEm"))
109 stage1L1Trigger.toModify(l1tStage1Layer2, gctNonIsoEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"nonIsoEm"))
111 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, etTotalSource = cms.InputTag(
"caloStage1LegacyFormatDigis") )
112 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, nonIsolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"nonIsoEm") )
113 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, etMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis") )
114 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, htMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis") )
115 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, forwardJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"forJets") )
116 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, centralJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"cenJets") )
117 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, tauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"tauJets") )
118 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, isoTauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoTauJets") )
119 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, isolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoEm") )
120 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, etHadSource = cms.InputTag(
"caloStage1LegacyFormatDigis") )
121 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, hfRingEtSumsSource = cms.InputTag(
"caloStage1LegacyFormatDigis") )
122 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, hfRingBitCountsSource = cms.InputTag(
"caloStage1LegacyFormatDigis") )
123 stage1L1Trigger.toModify( l1ExtraDQMStage1, stage1_layer2_ = cms.bool(
True))
124 stage1L1Trigger.toModify( l1ExtraDQMStage1, L1ExtraIsoTauJetSource_ = cms.InputTag(
"dqmL1ExtraParticlesStage1",
"IsoTau"))
126 stage1L1Trigger.toModify(l1compareforstage1, GCTsourceData = cms.InputTag(
"caloStage1LegacyFormatDigis"))
127 stage1L1Trigger.toModify(l1compareforstage1, GCTsourceEmul = cms.InputTag(
"valCaloStage1LegacyFormatDigis"))
128 stage1L1Trigger.toModify(l1compareforstage1, stage1_layer2_ = cms.bool(
True))
130 stage1L1Trigger.toModify(valStage1GtDigis, GctInputTag =
'caloStage1LegacyFormatDigis')
136 l1TriggerOnline = cms.Sequence(
137 l1tMonitorStage1Online
141 l1TriggerOffline = cms.Sequence(
149 l1TriggerEmulatorOnline = cms.Sequence(
150 l1Stage1HwValEmulatorMonitor
154 l1TriggerEmulatorOffline = cms.Sequence(
155 l1TriggerEmulatorOnline
160 l1TriggerDqmOffline = cms.Sequence(
165 * l1TriggerEmulatorOffline
169 l1TriggerEgDqmOffline = cms.Sequence()
170 l1TriggerMuonDqmOffline = cms.Sequence()
173 l1TriggerDqmOfflineClient = cms.Sequence(
174 l1tMonitorStage1Client
175 * l1EmulatorMonitorClient
179 l1TriggerDqmOfflineCosmics = cms.Sequence()
180 l1TriggerDqmOfflineCosmicsClient = cms.Sequence()
183 l1TriggerEgDqmOfflineClient = cms.Sequence()
184 l1TriggerMuonDqmOfflineClient = cms.Sequence()
216 l1tMonitorStage1Online.remove(bxTiming)
217 l1tMonitorStage1Online.remove(l1tGt)
264 l1TriggerStage1Clients.remove(l1tTestsSummary)
270 l1EmulatorMonitorClient.remove(l1EmulatorErrorFlagClient)
278 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
279 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
280 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
290 simMuonGEMPadDigis.InputCollection =
"muonGEMDigis" 291 stage2L1Trigger.toModify(simCscTriggerPrimitiveDigis, CSCComparatorDigiProducer =
"muonCSCDigis:MuonCSCComparatorDigi")
292 stage2L1Trigger.toModify(simCscTriggerPrimitiveDigis, CSCWireDigiProducer =
"muonCSCDigis:MuonCSCWireDigi")
294 (stage2L1Trigger & run3_GEM).toModify(simCscTriggerPrimitiveDigis, GEMPadDigiClusterProducer =
"muonCSCDigis:MuonGEMPadDigiCluster", commonParam = dict(runME11ILT =
False))
295 stage2L1Trigger.toModify(simDtTriggerPrimitiveDigis, digiTag = cms.InputTag(
"muonDTDigis"))
296 simTwinMuxDigis.RPC_Source = cms.InputTag(
"muonRPCDigis")
297 simOmtfDigis.srcRPC = cms.InputTag(
"muonRPCDigis")
298 simEmtfDigis.CSCInput =
"emtfStage2Digis" 299 simEmtfDigis.RPCInput =
"muonRPCDigis" 300 simEmtfDigis.GEMInput =
"emtfStage2Digis" 301 (stage2L1Trigger & run3_common).toModify(simEmtfShowers, CSCShowerInput =
"muonCSCDigis:MuonCSCShowerDigi")
304 simCaloStage2Layer1Digis.ecalToken = cms.InputTag(
"ecalDigis",
"EcalTriggerPrimitives")
305 simCaloStage2Layer1Digis.hcalToken = cms.InputTag(
"hcalDigis")
328 Stage2l1TriggerOnline = cms.Sequence(
334 l1tStage2OnlineDQM.remove(l1tStage2uGT)
337 Stage2l1TriggerOffline = cms.Sequence(
338 Stage2l1TriggerOnline
343 Stage2l1tEgOffline = cms.Sequence(
348 Stage2l1tMuonOffline = cms.Sequence(
349 l1tEtSumJetOfflineDQMSeq *
356 Stage2l1TriggerEmulatorOnlineTask = cms.Task(valHcalTriggerPrimitiveDigis)
357 Stage2l1TriggerEmulatorOnline = cms.Sequence(
358 Stage2L1HardwareValidation +
359 l1tStage2EmulatorOnlineDQM +
361 Stage2l1TriggerEmulatorOnlineTask
365 l1tStage2EmulatorOnlineDQM.remove(l1tStage2uGtEmul)
368 Stage2l1TriggerEmulatorOffline = cms.Sequence(
369 Stage2l1TriggerEmulatorOnline +
370 Stage2L1HardwareValidationForOfflineCalo +
371 l1tStage2EmulatorOfflineDQMForCalo
375 Stage2l1tEgEmulatorOffline = cms.Sequence(
377 l1tEGammaOfflineDQMEmu
381 Stage2l1tMuonEmulatorOffline = cms.Sequence(
384 l1tEtSumJetOfflineDQMEmuSeq +
385 l1tTauOfflineDQMEmu +
393 Stage2l1TriggerDqmOffline = cms.Sequence(
394 Stage2l1TriggerOffline
395 * Stage2l1TriggerEmulatorOffline
399 Stage2l1tEgDqmOffline = cms.Sequence(
401 * Stage2l1tEgEmulatorOffline
405 Stage2l1tMuonDqmOffline = cms.Sequence(
407 * Stage2l1tMuonEmulatorOffline
414 Stage2l1TriggerDqmOfflineClient = cms.Sequence(
419 Stage2l1tEgDqmOfflineClient = cms.Sequence(
424 Stage2l1tMuonDqmOfflineClient = cms.Sequence(
430 stage2L1Trigger.toReplaceWith(l1TriggerOnline, Stage2l1TriggerOnline)
431 stage2L1Trigger.toReplaceWith(l1TriggerOffline, Stage2l1TriggerOffline)
432 stage2L1Trigger.toReplaceWith(l1TriggerEmulatorOnline, Stage2l1TriggerEmulatorOnline)
433 stage2L1Trigger.toReplaceWith(l1TriggerEmulatorOffline, Stage2l1TriggerEmulatorOffline)
434 stage2L1Trigger.toReplaceWith(l1TriggerDqmOffline, Stage2l1TriggerDqmOffline)
435 stage2L1Trigger.toReplaceWith(l1TriggerEgDqmOffline, Stage2l1tEgDqmOffline)
436 stage2L1Trigger.toReplaceWith(l1TriggerMuonDqmOffline, Stage2l1tMuonDqmOffline)
437 stage2L1Trigger.toReplaceWith(l1TriggerDqmOfflineClient, Stage2l1TriggerDqmOfflineClient)
438 stage2L1Trigger.toReplaceWith(l1TriggerEgDqmOfflineClient, Stage2l1tEgDqmOfflineClient)
439 stage2L1Trigger.toReplaceWith(l1TriggerMuonDqmOfflineClient, Stage2l1tMuonDqmOfflineClient)
440 stage2L1Trigger.toReplaceWith(l1TriggerDqmOfflineCosmics, Stage2l1TriggerDqmOffline)
441 stage2L1Trigger.toReplaceWith(l1TriggerDqmOfflineCosmicsClient, Stage2l1TriggerDqmOfflineClient)
447 from Configuration.Eras.Modifier_phase2_trigger_cff
import phase2_trigger
456 Phase2l1TriggerOffline = cms.Sequence(
464 Phase2l1TriggerDqmOffline = cms.Sequence(
472 Phase2l1TriggerDqmOfflineClient = cms.Sequence(
476 phase2_trigger.toReplaceWith(l1TriggerOffline, Phase2l1TriggerOffline)
477 phase2_trigger.toReplaceWith(l1TriggerDqmOffline, Phase2l1TriggerDqmOffline)
478 phase2_trigger.toReplaceWith(l1TriggerDqmOfflineClient, Phase2l1TriggerDqmOfflineClient)