Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-16 23:25:33

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.Ecal.ecal_dqm_source_offline_cosmic_cff import *
0008 from DQM.HcalTasks.OfflineSourceSequence_cosmic import *
0009 from DQM.SiStripMonitorClient.SiStripSourceConfigTier0_Cosmic_cff import *
0010 from DQM.SiPixelCommon.SiPixelOfflineDQM_source_cff import *
0011 from DQM.DTMonitorModule.dtDQMOfflineSources_Cosmics_cff import *
0012 from DQM.RPCMonitorClient.RPCTier0Source_cff import *
0013 from DQM.CSCMonitorModule.csc_dqm_sourceclient_offline_cff import *
0014 from DQM.GEM.gem_dqm_offline_source_cosmics_cff import *
0015 from DQM.EcalPreshowerMonitorModule.es_dqm_source_offline_cosmic_cff import *
0016 from DQM.CastorMonitor.castor_dqm_sourceclient_offline_cff import *
0017 
0018 DQMNone = cms.Sequence()
0019 
0020 dqmProvInfo.runType = "cosmics_run"
0021 dqmProvInfo.dcsRecord = cms.untracked.InputTag("onlineMetaDataDigis")
0022 DQMOfflineCosmicsDCS = cms.Sequence( dqmProvInfo )
0023 
0024 DQMOfflineCosmicsEcal = cms.Sequence( ecal_dqm_source_offline *
0025                                 es_dqm_source_offline )
0026 
0027 DQMOfflineCosmicsHcal = cms.Sequence( hcalOfflineSourceSequence )
0028 
0029 DQMOfflineCosmicsTrackerStrip = cms.Sequence( SiStripDQMTier0 )
0030 
0031 DQMOfflineCosmicsTrackerPixel = cms.Sequence( siPixelOfflineDQM_cosmics_source )
0032 
0033 #tnp modules are meant for collisions only (DT has separate cff for cosmics)
0034 if cscSources.contains(cscTnPEfficiencyMonitor):
0035     cscSources.remove(cscTnPEfficiencyMonitor)
0036 
0037 if rpcTier0Source.contains(rpcTnPEfficiencyMonitor):
0038     rpcTier0Source.remove(rpcTnPEfficiencyMonitor)
0039 
0040 DQMOfflineCosmicsMuonDPG = cms.Sequence( dtSourcesCosmics *
0041                                   rpcTier0Source *
0042                                   cscSources )
0043 
0044 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0045 _run3_GEM_DQMOfflineCosmicsMuonDPG = DQMOfflineCosmicsMuonDPG.copy()
0046 _run3_GEM_DQMOfflineCosmicsMuonDPG += gemSourcesCosmics
0047 run3_GEM.toReplaceWith(DQMOfflineCosmicsMuonDPG, _run3_GEM_DQMOfflineCosmicsMuonDPG)
0048 
0049 
0050 DQMOfflineCosmicsCASTOR = cms.Sequence( castorSources )
0051 
0052 DQMOfflineCosmicsPreDPG = cms.Sequence( DQMOfflineCosmicsDCS *
0053                                         DQMOfflineCosmicsEcal *
0054                                         DQMOfflineCosmicsHcal *
0055                                         DQMOfflineCosmicsTrackerStrip *
0056                                         DQMOfflineCosmicsTrackerPixel *
0057                     DQMOfflineCosmicsMuonDPG *
0058                                         DQMOfflineCosmicsCASTOR
0059                     )
0060 
0061 DQMOfflineCosmicsDPG = cms.Sequence( DQMOfflineCosmicsPreDPG *
0062                                      DQMMessageLogger )
0063 
0064 from DQM.TrackingMonitorSource.TrackingSourceConfig_Tier0_Cosmic_cff import *
0065 from DQMOffline.Muon.muonCosmicMonitors_cff import *
0066 from DQMOffline.JetMET.jetMETDQMOfflineSourceCosmic_cff import *
0067 from DQMOffline.EGamma.cosmicPhotonAnalyzer_cff import *
0068 from DQMOffline.L1Trigger.L1TriggerDqmOffline_cff import *
0069 from DQMOffline.Trigger.DQMOffline_Trigger_cosmics_cff import *
0070 from DQM.Physics.DQMPhysics_cff import *
0071 
0072 DQMOfflineCosmicsTracking = cms.Sequence( TrackingDQMTier0 )
0073 
0074 DQMOfflineCosmicsMUO = cms.Sequence( muonCosmicMonitors )
0075 
0076 DQMOfflineCosmicsJetMET = cms.Sequence( jetMETDQMOfflineSourceCosmic )
0077 
0078 DQMOfflineCosmicsEGamma = cms.Sequence( egammaCosmicPhotonMonitors )
0079 
0080 DQMOfflineCosmicsTrigger = cms.Sequence( l1TriggerDqmOfflineCosmics *
0081                      triggerCosmicOfflineDQMSource )
0082 
0083 DQMOfflineCosmicsPhysics = cms.Sequence( dqmPhysicsCosmics )
0084 
0085 DQMOfflineCosmicsPrePOG = cms.Sequence( DQMOfflineCosmicsTracking *
0086                                         DQMOfflineCosmicsMUO *
0087 # Following modules removed since they produce empty histograms
0088 # and are not used in DC
0089 #                                        DQMOfflineCosmicsJetMET *
0090 #                                        DQMOfflineCosmicsEGamma *
0091                                         DQMOfflineCosmicsTrigger
0092 #                   DQMOfflineCosmicsPhysics
0093                                         )
0094 
0095 DQMOfflineCosmicsPOG = cms.Sequence( DQMOfflineCosmicsPrePOG *
0096                                      DQMMessageLogger )
0097 
0098 DQMOfflineCosmics = cms.Sequence( DQMOfflineCosmicsPreDPG *
0099                                   DQMOfflineCosmicsPrePOG *
0100                                   DQMMessageLogger )