Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-12-13 23:50:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Components.DQMMessageLogger_cfi import *
0004 from DQMServices.Components.DQMProvInfo_cfi import *
0005 from DQMServices.Components.DQMFastTimerService_cff import *
0006 
0007 from DQMOffline.L1Trigger.L1TriggerDqmOffline_cff import *
0008 from DQMOffline.Ecal.ecal_dqm_source_offline_cff import *
0009 from DQM.EcalPreshowerMonitorModule.es_dqm_source_offline_cff import *
0010 from DQM.HcalTasks.OfflineSourceSequence_pp import *
0011 from DQMOffline.Hcal.HcalDQMOfflineSequence_cff import *
0012 from DQM.SiStripMonitorClient.SiStripSourceConfigTier0_cff import *
0013 from DQM.SiPixelCommon.SiPixelOfflineDQM_source_cff import *
0014 from DQM.DTMonitorModule.dtDQMOfflineSources_cff import *
0015 from DQM.RPCMonitorClient.RPCTier0Source_cff import *
0016 from DQM.CSCMonitorModule.csc_dqm_sourceclient_offline_cff import *
0017 from DQM.GEM.gem_dqm_offline_source_cff import *
0018 from DQM.CastorMonitor.castor_dqm_sourceclient_offline_cff import *
0019 from DQM.CTPPS.ctppsDQM_cff import *
0020 from DQM.SiTrackerPhase2.Phase2TrackerDQMFirstStep_cff import *
0021 from DQM.SiPixelHeterogeneous.SiPixelHeterogenousDQM_FirstStep_cff import *
0022 
0023 DQMNone = cms.Sequence()
0024 
0025 DQMMessageLoggerSeq = cms.Sequence( DQMMessageLogger )
0026 
0027 dqmProvInfo.runType = "pp_run"
0028 dqmProvInfo.dcsRecord = cms.untracked.InputTag("onlineMetaDataDigis")
0029 DQMOfflineDCS = cms.Sequence( dqmProvInfo )
0030 
0031 # L1 trigger sequences
0032 DQMOfflineL1T = cms.Sequence( l1TriggerDqmOffline ) # L1 emulator is run within this sequence for real data
0033 
0034 DQMOfflineL1TEgamma = cms.Sequence( l1TriggerEgDqmOffline )
0035 
0036 DQMOfflineL1TMuon = cms.Sequence( l1TriggerMuonDqmOffline )
0037 
0038 DQMOfflineL1TPhase2 = cms.Sequence( Phase2l1TriggerDqmOffline )
0039 
0040 #DPGs
0041 DQMOfflineEcalOnly = cms.Sequence(
0042     ecalOnly_dqm_source_offline +
0043     es_dqm_source_offline )
0044 
0045 DQMOfflineEcal = cms.Sequence(
0046     ecal_dqm_source_offline +
0047     es_dqm_source_offline )
0048 
0049 from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
0050 phase2_ecal_devel.toReplaceWith(DQMOfflineEcalOnly, DQMOfflineEcalOnly.copyAndExclude([es_dqm_source_offline]))
0051 
0052 #offline version of the online DQM: used in validation/certification
0053 DQMOfflineHcal = cms.Sequence( hcalOfflineSourceSequence )
0054 
0055 # offline DQM: used in Release validation
0056 DQMOfflineHcal2 = cms.Sequence( HcalDQMOfflineSequence )
0057 
0058 DQMOfflineHcalOnly = cms.Sequence( hcalOnlyOfflineSourceSequence )
0059 
0060 DQMOfflineHcal2Only = cms.Sequence( RecHitsDQMOffline )
0061 
0062 DQMOfflineTrackerStrip = cms.Sequence( SiStripDQMTier0 )
0063 
0064 DQMOfflineTrackerPixel = cms.Sequence(  siPixelOfflineDQM_source )
0065 
0066 DQMOfflineMuonDPG = cms.Sequence( dtSources *
0067                                   rpcTier0Source *
0068                                   cscSources )
0069 
0070 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0071 _run3_GEM_DQMOfflineMuonDPG = DQMOfflineMuonDPG.copy()
0072 _run3_GEM_DQMOfflineMuonDPG += gemSources
0073 run3_GEM.toReplaceWith(DQMOfflineMuonDPG, _run3_GEM_DQMOfflineMuonDPG)
0074 
0075 DQMOfflineCASTOR = cms.Sequence( castorSources )
0076 
0077 DQMOfflineCTPPS = cms.Sequence( ctppsDQMOfflineSource )
0078 
0079 DQMOfflinePreDPG = cms.Sequence( DQMOfflineDCS *
0080                  DQMOfflineL1T *
0081                                  DQMOfflineEcal *
0082                                  DQMOfflineHcal *
0083                  DQMOfflineHcal2 *
0084                                  DQMOfflineTrackerStrip *
0085                  DQMOfflineTrackerPixel *
0086                  DQMOfflineMuonDPG *
0087                                  DQMOfflineCASTOR *
0088                                  DQMOfflineCTPPS )
0089 
0090 DQMOfflineDPG = cms.Sequence( DQMOfflinePreDPG *
0091                               DQMMessageLogger )
0092 
0093 from DQM.TrackingMonitorSource.TrackingSourceConfig_Tier0_cff import *
0094 from DQMOffline.RecoB.PrimaryVertexMonitor_cff import *
0095 from DQM.TrackingMonitor.trackingRecoMaterialAnalyzer_cfi import materialDumperAnalyzer
0096 from DQMOffline.Muon.muonMonitors_cff import *
0097 from DQMOffline.JetMET.jetMETDQMOfflineSource_cff import *
0098 from DQMOffline.EGamma.egammaDQMOffline_cff import *
0099 from DQMOffline.Trigger.DQMOffline_Trigger_cff import *
0100 from DQMOffline.RecoB.dqmAnalyzer_cff import *
0101 from DQM.BeamMonitor.AlcaBeamMonitor_cff import *
0102 from DQM.Physics.DQMPhysics_cff import *
0103 from DQM.Physics.heavyFlavorDQMFirstStep_cff import *
0104 
0105 DQMOfflineVertex = cms.Sequence( pvMonitor )
0106 
0107 materialDumperAnalyzer.usePV = True
0108 DQMOfflineTracking = cms.Sequence( TrackingDQMSourceTier0 *
0109                                    DQMOfflineVertex *
0110                                    materialDumperAnalyzer )
0111 
0112 DQMOfflineMUO = cms.Sequence(muonMonitors)
0113 muonRecoAnalyzer.doMVA =         cms.bool( True )
0114 muonRecoAnalyzer_miniAOD.doMVA = cms.bool( True )
0115 
0116 DQMOfflineJetMET = cms.Sequence( jetMETDQMOfflineSource )
0117 
0118 DQMOfflineEGamma = cms.Sequence( egammaDQMOffline )
0119 
0120 DQMOfflineTrigger = cms.Sequence( triggerOfflineDQMSource )
0121 
0122 DQMOfflineBTag = cms.Sequence( bTagPlotsDATA )
0123 
0124 DQMOfflineBeam = cms.Sequence( alcaBeamMonitor )
0125 
0126 DQMOfflinePhysics = cms.Sequence( dqmPhysics )
0127 
0128 DQMOfflineHeavyFlavor = cms.Sequence( heavyFlavorDQMSource )
0129 
0130 DQMOfflinePrePOG = cms.Sequence( DQMOfflineTracking *
0131                                  DQMOfflineMUO *
0132                                  DQMOfflineJetMET *
0133                                  DQMOfflineEGamma *
0134                                  DQMOfflineTrigger *
0135                                  DQMOfflineBTag *
0136                                  DQMOfflineBeam *
0137                                  DQMOfflinePhysics )
0138 
0139 
0140 DQMOfflinePOG = cms.Sequence( DQMOfflinePrePOG *
0141                               DQMMessageLogger )
0142 
0143 HLTMonitoring = cms.Sequence( OfflineHLTMonitoring )
0144 HLTMonitoringPA = cms.Sequence( OfflineHLTMonitoringPA )
0145 
0146 # Data
0147 DQMOffline = cms.Sequence( DQMOfflinePreDPG *
0148                            DQMOfflinePrePOG *
0149                            HLTMonitoring *
0150                            DQMMessageLogger )
0151 
0152 DQMOfflineExtraHLT = cms.Sequence( offlineValidationHLTSource )
0153 
0154 
0155 DQMOfflineFakeHLT = cms.Sequence( DQMOffline )
0156 DQMOfflineFakeHLT.remove( HLTMonitoring )
0157 DQMOfflineFakeHLT.remove( DQMOfflineTrigger )
0158 
0159 #MC
0160 DQMOfflinePrePOGMC = cms.Sequence( DQMOfflineVertex *
0161                                    DQMOfflineBTag *
0162                                    DQMOfflinePhysics )
0163 
0164 DQMOfflinePOGMC = cms.Sequence( DQMOfflinePrePOGMC *
0165                                 DQMMessageLogger )
0166 
0167 #DQMOfflineCommon
0168 from DQM.TrackingMonitorSource.pixelTracksMonitoring_cff import *
0169 from DQMOffline.RecoB.PixelVertexMonitor_cff import *
0170 from DQM.SiOuterTracker.OuterTrackerSourceConfig_cff import *
0171 from Validation.RecoTau.DQMSequences_cfi import *
0172 
0173 DQMOfflinePixelTracking = cms.Sequence( pixelTracksMonitoring *
0174                                         pixelPVMonitor *
0175                                         monitorpixelSoASource )
0176 
0177 DQMOuterTracker = cms.Sequence( DQMOfflineDCS *
0178                                 OuterTrackerSource *
0179                                 DQMMessageLogger *
0180                                 DQMOfflinePhysics *
0181                                 DQMOfflineVertex
0182                                 )
0183 
0184 DQMOfflineTrackerPhase2 = cms.Sequence( trackerphase2DQMSource )
0185 
0186 DQMOfflineTAU = cms.Sequence( produceDenomsData *
0187                 pfTauRunDQMValidation )
0188 
0189 DQMOfflineTrackerStripCommon = cms.Sequence( SiStripDQMTier0Common )
0190 
0191 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
0192 
0193 DQMOfflineCommon = cms.Sequence( DQMOfflineDCS *
0194                                  DQMMessageLogger *
0195                  DQMOfflineTrackerStrip *
0196                  DQMOfflineTrackerPixel *
0197                                  DQMOfflineTracking *
0198                                  DQMOfflineTrigger *
0199                                  DQMOfflineBeam *
0200                                  DQMOfflineCASTOR *
0201                                  DQMOfflinePhysics *
0202                  DQMOfflineTAU
0203                                 )
0204 
0205 DQMOfflineCommonFakeHLT = cms.Sequence( DQMOfflineCommon )
0206 DQMOfflineCommonFakeHLT.remove( DQMOfflineTrigger )
0207 
0208 #MinBias/ZeroBias
0209 DQMOfflineTrackerStripMinBias = cms.Sequence( SiStripDQMTier0MinBias )
0210 
0211 DQMOfflineTrackingMinBias = cms.Sequence( TrackingDQMSourceTier0MinBias *
0212                                    DQMOfflineVertex *
0213                                    materialDumperAnalyzer )
0214 
0215 
0216 DQMOfflineCommonSiStripZeroBias = cms.Sequence( DQMOfflineDCS *
0217                                  DQMMessageLogger *
0218                  DQMOfflineTrackerStripMinBias *
0219                  DQMOfflineTrackerPixel *
0220                                  DQMOfflineL1T *
0221                                  DQMOfflineTrigger *
0222                                  DQMOfflineBeam *
0223                                  DQMOfflineCASTOR *
0224                                  DQMOfflinePhysics *
0225                  DQMOfflineTrackingMinBias
0226                                  )
0227 
0228 DQMOfflineCommonSiStripZeroBiasFakeHLT = cms.Sequence( DQMOfflineCommonSiStripZeroBias )
0229 DQMOfflineCommonSiStripZeroBiasFakeHLT.remove( DQMOfflineTrigger )
0230 
0231 #Other definitons
0232 from DQMOffline.Lumi.ZCounting_cff import *
0233 
0234 DQMOfflineLumi = cms.Sequence ( zcounting )
0235 
0236 DQMOfflineMuon = cms.Sequence( dtSources *
0237                                rpcTier0Source *
0238                                cscSources *
0239                                muonMonitors
0240                               )
0241 
0242 _run3_GEM_DQMOfflineMuon = DQMOfflineMuon.copy()
0243 _run3_GEM_DQMOfflineMuon += gemSources
0244 run3_GEM.toReplaceWith(DQMOfflineMuon, _run3_GEM_DQMOfflineMuon)
0245 
0246 #Taus not created in pp conditions for HI
0247 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0248 _DQMOfflineTAU = cms.Sequence()
0249 pp_on_AA.toReplaceWith(DQMOfflineTAU, _DQMOfflineTAU)
0250 
0251 
0252 # miniAOD DQM validation
0253 from Validation.RecoParticleFlow.miniAODDQM_cff import * # On MiniAOD vs RECO
0254 from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import * # MiniAOD PF variables
0255 from DQM.TrackingMonitor.tracksDQMMiniAOD_cff import *
0256 from DQMOffline.RecoB.bTagMiniDQM_cff import *
0257 from DQMOffline.Muon.miniAOD_cff import *
0258 from DQM.Physics.DQMTopMiniAOD_cff import *
0259 
0260 DQMOfflineMiniAOD = cms.Sequence(jetMETDQMOfflineRedoProductsMiniAOD*bTagMiniDQMSource*muonMonitors_miniAOD*MuonMiniAOD*DQMOfflinePF)
0261 
0262 #Post sequences are automatically placed in the EndPath by ConfigBuilder if PAT is run.
0263 #miniAOD DQM sequences need to access the filter results.
0264 
0265 PostDQMOfflineMiniAOD = cms.Sequence(miniAODDQMSequence*jetMETDQMOfflineSourceMiniAOD*tracksDQMMiniAOD*topPhysicsminiAOD)
0266 PostDQMOffline = cms.Sequence()
0267 
0268 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
0269 run3_HB.toReplaceWith( PostDQMOfflineMiniAOD, PostDQMOfflineMiniAOD.copyAndExclude([
0270     pfMetDQMAnalyzerMiniAOD, pfPuppiMetDQMAnalyzerMiniAOD # No hcalnoise (yet)
0271 ]))
0272 
0273 from PhysicsTools.NanoAOD.nanoDQM_cff import nanoDQM
0274 DQMOfflineNanoAOD = cms.Sequence(nanoDQM)
0275 #PostDQMOfflineNanoAOD = cms.Sequence(nanoDQM)
0276 from PhysicsTools.NanoAOD.nanogenDQM_cff import nanogenDQM
0277 DQMOfflineNanoGen = cms.Sequence(nanogenDQM)
0278 from PhysicsTools.NanoAOD.nanojmeDQM_cff import nanojmeDQM
0279 DQMOfflineNanoJME = cms.Sequence(nanojmeDQM)