File indexing completed on 2024-04-06 12:09:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 import DQMServices.Components.DQMEnvironment_cfi
0021 dqmEnvL1T = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
0022 subSystemFolder = 'L1T'
0023 )
0024
0025 from DQMOffline.L1Trigger.L1TMonitorOffline_cff import *
0026 from DQMOffline.L1Trigger.L1TMonitorClientOffline_cff import *
0027
0028
0029
0030
0031 import DQMServices.Components.DQMEnvironment_cfi
0032 dqmEnvL1TriggerReco = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
0033 subSystemFolder = 'L1T/L1TriggerVsReco'
0034 )
0035
0036
0037
0038
0039
0040 import DQMServices.Components.DQMEnvironment_cfi
0041 dqmEnvL1TEMU = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
0042 subSystemFolder = 'L1TEMU'
0043 )
0044
0045 from DQMOffline.L1Trigger.L1TRate_Offline_cfi import *
0046 from DQMOffline.L1Trigger.L1TSync_Offline_cfi import *
0047 from DQMOffline.L1Trigger.L1TEmulatorMonitorOffline_cff import *
0048 from DQMOffline.L1Trigger.L1TEtSumJetOffline_cfi import *
0049 from DQMOffline.L1Trigger.L1TEGammaOffline_cfi import *
0050 from DQMOffline.L1Trigger.L1TTauOffline_cfi import *
0051 l1TdeRCT.rctSourceData = 'gctDigis'
0052
0053
0054 from DQMOffline.L1Trigger.L1TEmulatorMonitorClientOffline_cff import *
0055 from DQMOffline.L1Trigger.L1TEmulatorMonitorClientOffline_cff import *
0056
0057
0058
0059 l1TdeRCT.rctSourceData = 'gctDigis'
0060 l1TdeRCTfromRCT.rctSourceData = 'gctDigis'
0061 l1tRct.rctSource = 'gctDigis'
0062 l1tRctfromRCT.rctSource = 'gctDigis'
0063 l1tPUM.regionSource = cms.InputTag("gctDigis")
0064
0065 l1tStage1Layer2.gctCentralJetsSource = cms.InputTag("gctDigis","cenJets")
0066 l1tStage1Layer2.gctForwardJetsSource = cms.InputTag("gctDigis","forJets")
0067 l1tStage1Layer2.gctTauJetsSource = cms.InputTag("gctDigis","tauJets")
0068 l1tStage1Layer2.gctIsoTauJetsSource = cms.InputTag("","")
0069 l1tStage1Layer2.gctEnergySumsSource = cms.InputTag("gctDigis")
0070 l1tStage1Layer2.gctIsoEmSource = cms.InputTag("gctDigis","isoEm")
0071 l1tStage1Layer2.gctNonIsoEmSource = cms.InputTag("gctDigis","nonIsoEm")
0072 l1tStage1Layer2.stage1_layer2_ = cms.bool(False)
0073
0074 dqmL1ExtraParticlesStage1.etTotalSource = 'gctDigis'
0075 dqmL1ExtraParticlesStage1.nonIsolatedEmSource = 'gctDigis:nonIsoEm'
0076 dqmL1ExtraParticlesStage1.etMissSource = 'gctDigis'
0077 dqmL1ExtraParticlesStage1.htMissSource = 'gctDigis'
0078 dqmL1ExtraParticlesStage1.forwardJetSource = 'gctDigis:forJets'
0079 dqmL1ExtraParticlesStage1.centralJetSource = 'gctDigis:cenJets'
0080 dqmL1ExtraParticlesStage1.tauJetSource = 'gctDigis:tauJets'
0081 dqmL1ExtraParticlesStage1.isolatedEmSource = 'gctDigis:isoEm'
0082 dqmL1ExtraParticlesStage1.etHadSource = 'gctDigis'
0083 dqmL1ExtraParticlesStage1.hfRingEtSumsSource = 'gctDigis'
0084 dqmL1ExtraParticlesStage1.hfRingBitCountsSource = 'gctDigis'
0085 l1ExtraDQMStage1.stage1_layer2_ = cms.bool(False)
0086 l1ExtraDQMStage1.L1ExtraIsoTauJetSource_ = cms.InputTag("fake")
0087
0088 l1compareforstage1.GCTsourceData = cms.InputTag("gctDigis")
0089 l1compareforstage1.GCTsourceEmul = cms.InputTag("valGctDigis")
0090 l1compareforstage1.stage1_layer2_ = cms.bool(False)
0091
0092 valStage1GtDigis.GctInputTag = 'gctDigis'
0093
0094
0095 from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger
0096 stage1L1Trigger.toModify(l1TdeRCT, rctSourceData = 'caloStage1Digis')
0097 stage1L1Trigger.toModify(l1TdeRCTfromRCT, rctSourceData = 'rctDigis')
0098 stage1L1Trigger.toModify(l1tRct, rctSource = 'caloStage1Digis')
0099 stage1L1Trigger.toModify(l1tRctfromRCT, rctSource = 'rctDigis')
0100 stage1L1Trigger.toModify(l1tPUM, regionSource = cms.InputTag("rctDigis"))
0101
0102 stage1L1Trigger.toModify(l1tStage1Layer2, stage1_layer2_ = cms.bool(True))
0103 stage1L1Trigger.toModify(l1tStage1Layer2, gctCentralJetsSource = cms.InputTag("caloStage1LegacyFormatDigis","cenJets"))
0104 stage1L1Trigger.toModify(l1tStage1Layer2, gctForwardJetsSource = cms.InputTag("caloStage1LegacyFormatDigis","forJets"))
0105 stage1L1Trigger.toModify(l1tStage1Layer2, gctTauJetsSource = cms.InputTag("caloStage1LegacyFormatDigis","tauJets"))
0106 stage1L1Trigger.toModify(l1tStage1Layer2, gctIsoTauJetsSource = cms.InputTag("caloStage1LegacyFormatDigis","isoTauJets"))
0107 stage1L1Trigger.toModify(l1tStage1Layer2, gctEnergySumsSource = cms.InputTag("caloStage1LegacyFormatDigis"))
0108 stage1L1Trigger.toModify(l1tStage1Layer2, gctIsoEmSource = cms.InputTag("caloStage1LegacyFormatDigis","isoEm"))
0109 stage1L1Trigger.toModify(l1tStage1Layer2, gctNonIsoEmSource = cms.InputTag("caloStage1LegacyFormatDigis","nonIsoEm"))
0110
0111 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, etTotalSource = cms.InputTag("caloStage1LegacyFormatDigis") )
0112 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, nonIsolatedEmSource = cms.InputTag("caloStage1LegacyFormatDigis","nonIsoEm") )
0113 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, etMissSource = cms.InputTag("caloStage1LegacyFormatDigis") )
0114 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, htMissSource = cms.InputTag("caloStage1LegacyFormatDigis") )
0115 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, forwardJetSource = cms.InputTag("caloStage1LegacyFormatDigis","forJets") )
0116 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, centralJetSource = cms.InputTag("caloStage1LegacyFormatDigis","cenJets") )
0117 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, tauJetSource = cms.InputTag("caloStage1LegacyFormatDigis","tauJets") )
0118 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, isoTauJetSource = cms.InputTag("caloStage1LegacyFormatDigis","isoTauJets") )
0119 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, isolatedEmSource = cms.InputTag("caloStage1LegacyFormatDigis","isoEm") )
0120 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, etHadSource = cms.InputTag("caloStage1LegacyFormatDigis") )
0121 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, hfRingEtSumsSource = cms.InputTag("caloStage1LegacyFormatDigis") )
0122 stage1L1Trigger.toModify( dqmL1ExtraParticlesStage1, hfRingBitCountsSource = cms.InputTag("caloStage1LegacyFormatDigis") )
0123 stage1L1Trigger.toModify( l1ExtraDQMStage1, stage1_layer2_ = cms.bool(True))
0124 stage1L1Trigger.toModify( l1ExtraDQMStage1, L1ExtraIsoTauJetSource_ = cms.InputTag("dqmL1ExtraParticlesStage1", "IsoTau"))
0125
0126 stage1L1Trigger.toModify(l1compareforstage1, GCTsourceData = cms.InputTag("caloStage1LegacyFormatDigis"))
0127 stage1L1Trigger.toModify(l1compareforstage1, GCTsourceEmul = cms.InputTag("valCaloStage1LegacyFormatDigis"))
0128 stage1L1Trigger.toModify(l1compareforstage1, stage1_layer2_ = cms.bool(True))
0129
0130 stage1L1Trigger.toModify(valStage1GtDigis, GctInputTag = 'caloStage1LegacyFormatDigis')
0131
0132
0133
0134
0135
0136 l1TriggerOnline = cms.Sequence(
0137 l1tMonitorStage1Online
0138 * dqmEnvL1T
0139 )
0140
0141 l1TriggerOffline = cms.Sequence(
0142 l1TriggerOnline *
0143 dqmEnvL1TriggerReco
0144 )
0145
0146
0147 from L1Trigger.Configuration.ValL1Emulator_cff import *
0148
0149 l1TriggerEmulatorOnline = cms.Sequence(
0150 l1Stage1HwValEmulatorMonitor
0151 * dqmEnvL1TEMU
0152 )
0153
0154 l1TriggerEmulatorOffline = cms.Sequence(
0155 l1TriggerEmulatorOnline
0156 )
0157
0158
0159
0160 l1TriggerDqmOffline = cms.Sequence(
0161 l1TriggerOffline
0162
0163
0164 * l1tSync_Offline
0165 * l1TriggerEmulatorOffline
0166 )
0167
0168
0169 l1TriggerEgDqmOffline = cms.Sequence()
0170 l1TriggerMuonDqmOffline = cms.Sequence()
0171
0172
0173 l1TriggerDqmOfflineClient = cms.Sequence(
0174 l1tMonitorStage1Client
0175 * l1EmulatorMonitorClient
0176 )
0177
0178
0179 l1TriggerDqmOfflineCosmics = cms.Sequence()
0180 l1TriggerDqmOfflineCosmicsClient = cms.Sequence()
0181
0182
0183 l1TriggerEgDqmOfflineClient = cms.Sequence()
0184 l1TriggerMuonDqmOfflineClient = cms.Sequence()
0185
0186
0187
0188
0189
0190
0191
0192
0193
0194
0195
0196
0197
0198
0199
0200
0201
0202
0203
0204
0205
0206
0207
0208
0209
0210
0211
0212
0213
0214
0215
0216 l1tMonitorStage1Online.remove(bxTiming)
0217 l1tMonitorStage1Online.remove(l1tGt)
0218
0219
0220
0221
0222
0223
0224
0225
0226
0227
0228
0229
0230
0231
0232
0233
0234
0235
0236
0237
0238
0239
0240
0241
0242
0243
0244
0245
0246
0247
0248
0249
0250
0251
0252
0253
0254
0255
0256
0257
0258
0259
0260
0261
0262
0263
0264 l1TriggerStage1Clients.remove(l1tTestsSummary)
0265
0266
0267
0268
0269
0270 l1EmulatorMonitorClient.remove(l1EmulatorErrorFlagClient)
0271
0272
0273
0274
0275
0276
0277
0278 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0279 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0280 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0281
0282
0283
0284
0285 from L1Trigger.L1TGlobal.GlobalParameters_cff import *
0286
0287
0288 from L1Trigger.Configuration.SimL1Emulator_cff import *
0289 from L1Trigger.L1TTwinMux.simTwinMuxDigis_cfi import *
0290 simMuonGEMPadDigis.InputCollection = "muonGEMDigis"
0291 stage2L1Trigger.toModify(simCscTriggerPrimitiveDigis, CSCComparatorDigiProducer = "muonCSCDigis:MuonCSCComparatorDigi")
0292 stage2L1Trigger.toModify(simCscTriggerPrimitiveDigis, CSCWireDigiProducer = "muonCSCDigis:MuonCSCWireDigi")
0293
0294 (stage2L1Trigger & run3_GEM).toModify(simCscTriggerPrimitiveDigis, GEMPadDigiClusterProducer = "muonCSCDigis:MuonGEMPadDigiCluster", commonParam = dict(runME11ILT = False))
0295 stage2L1Trigger.toModify(simDtTriggerPrimitiveDigis, digiTag = cms.InputTag("muonDTDigis"))
0296 simTwinMuxDigis.RPC_Source = cms.InputTag("muonRPCDigis")
0297 simOmtfDigis.srcRPC = cms.InputTag("muonRPCDigis")
0298 simEmtfDigis.CSCInput = "emtfStage2Digis"
0299 simEmtfDigis.RPCInput = "muonRPCDigis"
0300 simEmtfDigis.GEMInput = "emtfStage2Digis"
0301 (stage2L1Trigger & run3_common).toModify(simEmtfShowers, CSCShowerInput = "muonCSCDigis:MuonCSCShowerDigi")
0302
0303
0304 simCaloStage2Layer1Digis.ecalToken = cms.InputTag("ecalDigis","EcalTriggerPrimitives")
0305 simCaloStage2Layer1Digis.hcalToken = cms.InputTag("hcalDigis")
0306
0307 from DQMOffline.L1Trigger.L1TEtSumJetOffline_cfi import *
0308
0309 from DQMOffline.L1Trigger.L1TEGammaOffline_cfi import *
0310
0311 from DQMOffline.L1Trigger.L1TTauOffline_cfi import *
0312
0313 from DQMOffline.L1Trigger.L1TMuonDQMOffline_cfi import *
0314
0315 from DQM.L1TMonitor.L1TStage2_cff import *
0316 from DQMOffline.L1Trigger.L1TriggerDqmOffline_SecondStep_cff import *
0317
0318
0319
0320 from DQM.L1TMonitor.L1TStage2Emulator_cff import *
0321
0322
0323
0324
0325
0326
0327
0328 Stage2l1TriggerOnline = cms.Sequence(
0329 l1tStage2OnlineDQM
0330 * dqmEnvL1T
0331 )
0332
0333
0334 l1tStage2OnlineDQM.remove(l1tStage2uGT)
0335
0336
0337 Stage2l1TriggerOffline = cms.Sequence(
0338 Stage2l1TriggerOnline
0339
0340 )
0341
0342
0343 Stage2l1tEgOffline = cms.Sequence(
0344 l1tEGammaOfflineDQM
0345 )
0346
0347
0348 Stage2l1tMuonOffline = cms.Sequence(
0349 l1tEtSumJetOfflineDQMSeq *
0350 l1tTauOfflineDQM *
0351 l1tMuonDQMOffline
0352 )
0353
0354
0355
0356 Stage2l1TriggerEmulatorOnlineTask = cms.Task(valHcalTriggerPrimitiveDigis)
0357 Stage2l1TriggerEmulatorOnline = cms.Sequence(
0358 Stage2L1HardwareValidation +
0359 l1tStage2EmulatorOnlineDQM +
0360 dqmEnvL1TEMU,
0361 Stage2l1TriggerEmulatorOnlineTask
0362 )
0363
0364
0365 l1tStage2EmulatorOnlineDQM.remove(l1tStage2uGtEmul)
0366
0367
0368 Stage2l1TriggerEmulatorOffline = cms.Sequence(
0369 Stage2l1TriggerEmulatorOnline +
0370 Stage2L1HardwareValidationForOfflineCalo +
0371 l1tStage2EmulatorOfflineDQMForCalo
0372 )
0373
0374
0375 Stage2l1tEgEmulatorOffline = cms.Sequence(
0376 SimL1TCalorimeter +
0377 l1tEGammaOfflineDQMEmu
0378 )
0379
0380
0381 Stage2l1tMuonEmulatorOffline = cms.Sequence(
0382 SimL1TCalorimeter +
0383 SimL1TMuon +
0384 l1tEtSumJetOfflineDQMEmuSeq +
0385 l1tTauOfflineDQMEmu +
0386 l1tMuonDQMOfflineEmu
0387 )
0388
0389
0390
0391
0392
0393 Stage2l1TriggerDqmOffline = cms.Sequence(
0394 Stage2l1TriggerOffline
0395 * Stage2l1TriggerEmulatorOffline
0396 )
0397
0398
0399 Stage2l1tEgDqmOffline = cms.Sequence(
0400 Stage2l1tEgOffline
0401 * Stage2l1tEgEmulatorOffline
0402 )
0403
0404
0405 Stage2l1tMuonDqmOffline = cms.Sequence(
0406 Stage2l1tMuonOffline
0407 * Stage2l1tMuonEmulatorOffline
0408 )
0409
0410
0411
0412
0413
0414 Stage2l1TriggerDqmOfflineClient = cms.Sequence(
0415 DQMHarvestL1TMon
0416 )
0417
0418
0419 Stage2l1tEgDqmOfflineClient = cms.Sequence(
0420 DQMHarvestL1TEg
0421 )
0422
0423
0424 Stage2l1tMuonDqmOfflineClient = cms.Sequence(
0425 DQMHarvestL1TMuon
0426 )
0427
0428
0429
0430 stage2L1Trigger.toReplaceWith(l1TriggerOnline, Stage2l1TriggerOnline)
0431 stage2L1Trigger.toReplaceWith(l1TriggerOffline, Stage2l1TriggerOffline)
0432 stage2L1Trigger.toReplaceWith(l1TriggerEmulatorOnline, Stage2l1TriggerEmulatorOnline)
0433 stage2L1Trigger.toReplaceWith(l1TriggerEmulatorOffline, Stage2l1TriggerEmulatorOffline)
0434 stage2L1Trigger.toReplaceWith(l1TriggerDqmOffline, Stage2l1TriggerDqmOffline)
0435 stage2L1Trigger.toReplaceWith(l1TriggerEgDqmOffline, Stage2l1tEgDqmOffline)
0436 stage2L1Trigger.toReplaceWith(l1TriggerMuonDqmOffline, Stage2l1tMuonDqmOffline)
0437 stage2L1Trigger.toReplaceWith(l1TriggerDqmOfflineClient, Stage2l1TriggerDqmOfflineClient)
0438 stage2L1Trigger.toReplaceWith(l1TriggerEgDqmOfflineClient, Stage2l1tEgDqmOfflineClient)
0439 stage2L1Trigger.toReplaceWith(l1TriggerMuonDqmOfflineClient, Stage2l1tMuonDqmOfflineClient)
0440 stage2L1Trigger.toReplaceWith(l1TriggerDqmOfflineCosmics, Stage2l1TriggerDqmOffline)
0441 stage2L1Trigger.toReplaceWith(l1TriggerDqmOfflineCosmicsClient, Stage2l1TriggerDqmOfflineClient)
0442
0443
0444
0445
0446
0447 from Configuration.Eras.Modifier_phase2_trigger_cff import phase2_trigger
0448
0449
0450
0451
0452 from DQMOffline.L1Trigger.L1TPhase2Offline_cfi import *
0453
0454
0455
0456 Phase2l1TriggerOffline = cms.Sequence(
0457 dqmEnvL1T
0458 )
0459
0460
0461
0462
0463
0464 Phase2l1TriggerDqmOffline = cms.Sequence(
0465 l1tPhase2OfflineDQM
0466 )
0467
0468
0469
0470
0471
0472 Phase2l1TriggerDqmOfflineClient = cms.Sequence(
0473 DQMHarvestL1TPhase2
0474 )
0475
0476 phase2_trigger.toReplaceWith(l1TriggerOffline, Phase2l1TriggerOffline)
0477 phase2_trigger.toReplaceWith(l1TriggerDqmOffline, Phase2l1TriggerDqmOffline)
0478 phase2_trigger.toReplaceWith(l1TriggerDqmOfflineClient, Phase2l1TriggerDqmOfflineClient)