Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:34

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # L1 Trigger DQM sequence for offline DQM
0004 #
0005 # used by DQM GUI: DQM/Configuration
0006 #
0007 #
0008 #
0009 # standard RawToDigi sequence and RECO sequence must be run before the L1 Trigger modules,
0010 # labels from the standard sequence are used as default for the L1 Trigger DQM modules
0011 #
0012 # V.M. Ghete - HEPHY Vienna - 2011-01-02
0013 #
0014 
0015 
0016 #
0017 # DQM L1 Trigger in offline environment
0018 #
0019 
0020 import DQMServices.Components.DQMEnvironment_cfi
0021 dqmEnvL1T = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
0022     subSystemFolder = 'L1T'
0023 )
0024 # DQM online L1 Trigger modules, with offline configuration
0025 from DQMOffline.L1Trigger.L1TMonitorOffline_cff import *
0026 from DQMOffline.L1Trigger.L1TMonitorClientOffline_cff import *
0027 
0028 
0029 # DQM offline L1 Trigger versus Reco modules
0030 
0031 import DQMServices.Components.DQMEnvironment_cfi
0032 dqmEnvL1TriggerReco = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
0033     subSystemFolder = 'L1T/L1TriggerVsReco'
0034 )
0035 #
0036 # DQM L1 Trigger Emulator in offline environment
0037 # Run also the L1HwVal producers (L1 Trigger emulators)
0038 #
0039 
0040 import DQMServices.Components.DQMEnvironment_cfi
0041 dqmEnvL1TEMU = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
0042     subSystemFolder = 'L1TEMU'
0043 )
0044 # DQM Offline Step 1 cfi/cff imports
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 # DQM Offline Step 2 cfi/cff imports
0054 from DQMOffline.L1Trigger.L1TEmulatorMonitorClientOffline_cff import *
0055 from DQMOffline.L1Trigger.L1TEmulatorMonitorClientOffline_cff import *
0056 
0057 
0058 # Stage1 customization
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 # define sequences
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 # DQM Offline Step 1 sequence
0160 l1TriggerDqmOffline = cms.Sequence(
0161                                 l1TriggerOffline
0162                                 #* l1tRate_Offline #Disabled for the moment as agreed on 
0163                                 # https://github.com/cms-sw/cmssw/issues/25090#issuecomment-789016559
0164                                 * l1tSync_Offline
0165                                 * l1TriggerEmulatorOffline
0166                                 )
0167 
0168 # Dummy sequences where a stage 2 equivalent exists
0169 l1TriggerEgDqmOffline = cms.Sequence()
0170 l1TriggerMuonDqmOffline = cms.Sequence()
0171 
0172 # DQM Offline Step 2 sequence
0173 l1TriggerDqmOfflineClient = cms.Sequence(
0174                                 l1tMonitorStage1Client
0175                                 * l1EmulatorMonitorClient
0176                                 )
0177 
0178 # Dummy sequences for legacy cosmics
0179 l1TriggerDqmOfflineCosmics = cms.Sequence()
0180 l1TriggerDqmOfflineCosmicsClient = cms.Sequence()
0181 
0182 # Dummy sequences where a stage 2 equivalent exists
0183 l1TriggerEgDqmOfflineClient = cms.Sequence()
0184 l1TriggerMuonDqmOfflineClient = cms.Sequence()
0185 
0186 
0187 #
0188 #   EMERGENCY   removal of modules or full sequences
0189 # =============
0190 #
0191 # un-comment the module line below to remove the module or the sequence
0192 
0193 #
0194 # NOTE: for offline, remove the L1TRate which is reading from cms_orcoff_prod, but also requires
0195 # a hard-coded lxplus path - FIXME check if one can get rid of hard-coded path
0196 # remove also the corresponding client
0197 #
0198 # L1TSync - FIXME - same problems as L1TRate
0199 
0200 
0201 # DQM first step
0202 #
0203 
0204 #l1TriggerDqmOffline.remove(l1TriggerOffline)
0205 #l1TriggerDqmOffline.remove(l1TriggerEmulatorOffline)
0206 
0207 #
0208 
0209 #l1TriggerOffline.remove(l1TriggerOnline)
0210 
0211 
0212 # l1tMonitorOnline sequence, defined in DQM/L1TMonitor/python/L1TMonitor_cff.py
0213 #
0214 #l1TriggerOnline.remove(l1tMonitorOnline)
0215 #
0216 l1tMonitorStage1Online.remove(bxTiming)
0217 l1tMonitorStage1Online.remove(l1tGt) #Following https://github.com/cms-sw/cmssw/issues/25090#issuecomment-789201888
0218 #l1tMonitorOnline.remove(l1tDttf)
0219 #l1tMonitorOnline.remove(l1tCsctf)
0220 #l1tMonitorOnline.remove(l1tRpctf)
0221 #l1tMonitorOnline.remove(l1tGmt)
0222 #l1tMonitorOnline.remove(l1tGt)
0223 #
0224 #l1ExtraDqmSeq.remove(dqmGctDigis)
0225 #l1ExtraDqmSeq.remove(dqmGtDigis)
0226 #l1ExtraDqmSeq.remove(dqmL1ExtraParticles)
0227 #l1ExtraDqmSeq.remove(l1ExtraDQM)
0228 #l1tMonitorOnline.remove(l1ExtraDqmSeq)
0229 #
0230 #l1tMonitorOnline.remove(l1tRate)
0231 #l1tMonitorOnline.remove(l1tBPTX)
0232 #l1tMonitorOnline.remove(l1tRctSeq)
0233 #l1tMonitorOnline.remove(l1tGctSeq)
0234 
0235 #
0236 
0237 #l1TriggerEmulatorOffline.remove(l1TriggerEmulatorOnline)
0238 
0239 # l1HwValEmulatorMonitor sequence, defined in DQM/L1TMonitor/python/L1TEmulatorMonitor_cff.py
0240 #
0241 #l1TriggerEmulatorOnline.remove(l1HwValEmulatorMonitor)
0242 
0243 # L1HardwareValidation producers
0244 #l1HwValEmulatorMonitor.remove(L1HardwareValidation)
0245 #
0246 #l1HwValEmulatorMonitor.remove(l1EmulatorMonitor)
0247 
0248 #l1TriggerDqmOfflineClient.remove(l1tMonitorClient)
0249 #l1TriggerDqmOfflineClient.remove(l1EmulatorMonitorClient)
0250 
0251 # l1tMonitorClient sequence, defined in DQM/L1TMonitorClient/python/L1TMonitorClient_cff.py
0252 #
0253 #l1tMonitorClient.remove(l1TriggerQualityTests)
0254 #l1tMonitorClient.remove(l1TriggerClients)
0255 
0256 # l1TriggerClients sequence, part of l1tMonitorClient sequence
0257 
0258 #l1TriggerClients.remove(l1tGctClient)
0259 #l1TriggerClients.remove(l1tDttfClient)
0260 #l1TriggerClients.remove(l1tCsctfClient)
0261 #l1TriggerClients.remove(l1tRpctfClient)
0262 #l1TriggerClients.remove(l1tGmtClient)
0263 #l1TriggerClients.remove(l1tOccupancyClient)
0264 l1TriggerStage1Clients.remove(l1tTestsSummary)
0265 #l1TriggerClients.remove(l1tEventInfoClient)
0266 
0267 # l1EmulatorMonitorClient sequence, defined in DQM/L1TMonitorClient/python/L1TEMUMonitorClient_cff.py
0268 #
0269 #l1EmulatorMonitorClient.remove(l1EmulatorQualityTests)
0270 l1EmulatorMonitorClient.remove(l1EmulatorErrorFlagClient)
0271 #l1EmulatorMonitorClient.remove(l1EmulatorEventInfoClient)
0272 
0273 
0274 ##############################################################################
0275 #stage2
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 #from L1Trigger.L1TGlobal.hackConditions_cff import *
0283 #from L1Trigger.L1TMuon.hackConditions_cff import *
0284 #from L1Trigger.L1TCalorimeter.hackConditions_cff import *
0285 from L1Trigger.L1TGlobal.GlobalParameters_cff import *
0286 
0287 # L1T emulator sequences
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 # Contact GEM-CSC trigger coordinators Jason Gilmore and Giovanni Mocellin to set the 'runME11ILT' flag to True
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 # use unpacker calo TPs
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 ##Stage 2 Emulator
0319 
0320 from DQM.L1TMonitor.L1TStage2Emulator_cff import *
0321 
0322 #
0323 # define sequences
0324 #
0325 
0326 ##############################################################################
0327 # Unpacked data sequences
0328 Stage2l1TriggerOnline = cms.Sequence(
0329                                 l1tStage2OnlineDQM
0330                                 * dqmEnvL1T
0331                                )
0332 # Do not include the uGT online DQM module in the offline sequence
0333 # since the large 2D histograms cause crashes at the T0.
0334 l1tStage2OnlineDQM.remove(l1tStage2uGT)
0335 
0336 # sequence to run for all datasets
0337 Stage2l1TriggerOffline = cms.Sequence(
0338                                 Stage2l1TriggerOnline #*
0339                                 #dqmEnvL1TriggerReco
0340                                 )
0341 
0342 # sequence to run only for modules requiring an electron dataset
0343 Stage2l1tEgOffline = cms.Sequence(
0344                                 l1tEGammaOfflineDQM
0345                                 )
0346 
0347 # sequence to run only for modules requiring a muon dataset
0348 Stage2l1tMuonOffline = cms.Sequence(
0349                                 l1tEtSumJetOfflineDQMSeq *
0350                                 l1tTauOfflineDQM *
0351                                 l1tMuonDQMOffline
0352                                 )
0353 
0354 ##############################################################################
0355 # Emulator sequences
0356 Stage2l1TriggerEmulatorOnlineTask = cms.Task(valHcalTriggerPrimitiveDigis)
0357 Stage2l1TriggerEmulatorOnline = cms.Sequence(
0358                                  Stage2L1HardwareValidation +
0359                                  l1tStage2EmulatorOnlineDQM +
0360                                  dqmEnvL1TEMU,
0361                                  Stage2l1TriggerEmulatorOnlineTask
0362                                 )
0363 # Do not include the uGT emulation online DQM module in the offline
0364 # sequence since the large 2D histograms cause crashes at the T0.
0365 l1tStage2EmulatorOnlineDQM.remove(l1tStage2uGtEmul)
0366 
0367 # sequence to run for all datasets
0368 Stage2l1TriggerEmulatorOffline = cms.Sequence(
0369                                 Stage2l1TriggerEmulatorOnline +
0370                                 Stage2L1HardwareValidationForOfflineCalo +
0371                                 l1tStage2EmulatorOfflineDQMForCalo
0372                                 )
0373 
0374 # sequence to run only for modules requiring an electron dataset
0375 Stage2l1tEgEmulatorOffline = cms.Sequence(
0376                                 SimL1TCalorimeter +
0377                                 l1tEGammaOfflineDQMEmu
0378                                 )
0379 
0380 # sequence to run only for modules requiring a muon dataset
0381 Stage2l1tMuonEmulatorOffline = cms.Sequence(
0382                                 SimL1TCalorimeter +
0383                                 SimL1TMuon +
0384                                 l1tEtSumJetOfflineDQMEmuSeq +
0385                                 l1tTauOfflineDQMEmu +
0386                                 l1tMuonDQMOfflineEmu
0387                                 )
0388 
0389 ##############################################################################
0390 # DQM sequences for step 1
0391 
0392 # DQM Offline sequence
0393 Stage2l1TriggerDqmOffline = cms.Sequence(
0394                                 Stage2l1TriggerOffline
0395                                 * Stage2l1TriggerEmulatorOffline
0396                                 )
0397 
0398 # DQM Offline sequence for modules requiring an electron dataset
0399 Stage2l1tEgDqmOffline = cms.Sequence(
0400                                 Stage2l1tEgOffline
0401                                 * Stage2l1tEgEmulatorOffline
0402                                 )
0403 
0404 # DQM Offline sequence for modules requiring a muon dataset
0405 Stage2l1tMuonDqmOffline = cms.Sequence(
0406                                 Stage2l1tMuonOffline
0407                                 * Stage2l1tMuonEmulatorOffline
0408                                 )
0409 
0410 ##############################################################################
0411 # DQM sequences for step 2
0412 
0413 # DQM Offline sequence
0414 Stage2l1TriggerDqmOfflineClient = cms.Sequence(
0415                                 DQMHarvestL1TMon
0416                                 )
0417 
0418 # DQM Offline sequence for modules requiring an electron dataset
0419 Stage2l1tEgDqmOfflineClient = cms.Sequence(
0420                                 DQMHarvestL1TEg
0421                                 )
0422 
0423 # DQM Offline sequence for modules requiring a muon dataset
0424 Stage2l1tMuonDqmOfflineClient = cms.Sequence(
0425                                 DQMHarvestL1TMuon
0426                                 )
0427 
0428 
0429 #replacements for stage2
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 #phase2
0445 ##############################################################################
0446 
0447 from Configuration.Eras.Modifier_phase2_trigger_cff import phase2_trigger
0448 
0449 #
0450 # define sequences
0451 #
0452 from DQMOffline.L1Trigger.L1TPhase2Offline_cfi import *
0453 
0454 ##############################################################################
0455 # sequence to run for all datasets
0456 Phase2l1TriggerOffline = cms.Sequence(
0457                                 dqmEnvL1T
0458                                 )
0459 
0460 ##############################################################################
0461 # DQM sequences for step 1
0462 
0463 # DQM Offline sequence
0464 Phase2l1TriggerDqmOffline = cms.Sequence(
0465                                 l1tPhase2OfflineDQM
0466                                 )
0467 
0468 ##############################################################################
0469 # DQM sequences for step 2
0470 
0471 # DQM Offline sequence
0472 Phase2l1TriggerDqmOfflineClient = cms.Sequence(
0473                                 DQMHarvestL1TPhase2
0474                                 )
0475 #replacements for phase2
0476 phase2_trigger.toReplaceWith(l1TriggerOffline, Phase2l1TriggerOffline)
0477 phase2_trigger.toReplaceWith(l1TriggerDqmOffline, Phase2l1TriggerDqmOffline)
0478 phase2_trigger.toReplaceWith(l1TriggerDqmOfflineClient, Phase2l1TriggerDqmOfflineClient)