Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-09 00:51:01

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_HI_cff import *
0009 from DQM.EcalPreshowerMonitorModule.es_dqm_source_offline_cff import *
0010 from DQM.HcalTasks.OfflineSourceSequence_hi import *
0011 from DQM.SiStripMonitorClient.SiStripSourceConfigTier0_HeavyIons_cff import *
0012 from DQM.SiPixelCommon.SiPixelOfflineDQM_source_cff import *
0013 from DQM.DTMonitorModule.dtDQMOfflineSources_HI_cff import *
0014 from DQM.RPCMonitorClient.RPCTier0Source_cff import *
0015 from DQM.CSCMonitorModule.csc_dqm_sourceclient_offline_cff import *
0016 from DQM.GEM.gem_dqm_offline_source_cff import *
0017 from DQM.BeamMonitor.AlcaBeamMonitorHeavyIons_cff import *
0018 
0019 DQMNone = cms.Sequence()
0020 
0021 dqmProvInfo.runType = "hi_run"
0022 DQMOfflineHeavyIonsDCS = cms.Sequence( dqmProvInfo )
0023 
0024 # L1 trigger sequences
0025 DQMOfflineHeavyIonsL1T = cms.Sequence( l1TriggerDqmOffline ) # L1 emulator is run within this sequence for real data
0026 
0027 #DPGs
0028 DQMOfflineHeavyIonsEcal = cms.Sequence( ecal_dqm_source_offline *
0029                                 es_dqm_source_offline )
0030 
0031 DQMOfflineHeavyIonsHcal = cms.Sequence( hcalOfflineSourceSequence )
0032 
0033 DQMOfflineHeavyIonsTrackerStrip = cms.Sequence( SiStripDQMTier0_hi )
0034 
0035 DQMOfflineHeavyIonsTrackerPixel = cms.Sequence( siPixelOfflineDQM_heavyions_source )
0036 
0037 #tnp modules are meant for pp collisions only (DT has separate cff for cosmics)
0038 if cscSources.contains(cscTnPEfficiencyMonitor):
0039     cscSources.remove(cscTnPEfficiencyMonitor)
0040 
0041 if rpcTier0Source.contains(rpcTnPEfficiencyMonitor):
0042     rpcTier0Source.remove(rpcTnPEfficiencyMonitor)
0043 
0044 DQMOfflineHeavyIonsMuonDPG = cms.Sequence( dtSources *
0045                                   rpcTier0Source *
0046                                   cscSources )
0047 
0048 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0049 _run3_GEM_DQMOfflineHeavyIonsMuonDPG = DQMOfflineHeavyIonsMuonDPG.copy()
0050 _run3_GEM_DQMOfflineHeavyIonsMuonDPG += gemSources
0051 run3_GEM.toReplaceWith(DQMOfflineHeavyIonsMuonDPG, _run3_GEM_DQMOfflineHeavyIonsMuonDPG)
0052 
0053 DQMOfflineHeavyIonsPreDPG = cms.Sequence( DQMOfflineHeavyIonsDCS *
0054                       DQMOfflineHeavyIonsL1T *
0055                       DQMOfflineHeavyIonsEcal *
0056                       DQMOfflineHeavyIonsHcal *
0057                       DQMOfflineHeavyIonsTrackerStrip *
0058                                           DQMOfflineHeavyIonsTrackerPixel *
0059                       DQMOfflineHeavyIonsMuonDPG )
0060 
0061 DQMOfflineHeavyIonsDPG = cms.Sequence( DQMOfflineHeavyIonsPreDPG *
0062                                        DQMMessageLogger )
0063 
0064 #Modifications
0065 from DQMOffline.Muon.muonMonitors_cff import *
0066 diMuonHistos.etaBin = cms.int32(70) #dimuonhistograms mass, bin
0067 diMuonHistos.etaBBin = cms.int32(70)
0068 diMuonHistos.etaEBin = cms.int32(70)
0069 diMuonHistos.LowMassMin = cms.double(2.0)
0070 diMuonHistos.LowMassMax = cms.double(14.0)
0071 diMuonHistos.HighMassMin = cms.double(55.0)
0072 diMuonHistos.HighMassMax = cms.double(125.0)
0073 
0074 from DQMOffline.Trigger.DQMOffline_Trigger_cff import *
0075 triggerOfflineDQMSource.remove(jetMETHLTOfflineAnalyzer)
0076 triggerOfflineDQMSource.remove(exoticaMonitorHLT)
0077 triggerOfflineDQMSource.remove(susyMonitorHLT)
0078 triggerOfflineDQMSource.remove(b2gMonitorHLT)
0079 triggerOfflineDQMSource.remove(bphMonitorHLT)
0080 triggerOfflineDQMSource.remove(higgsMonitorHLT)
0081 triggerOfflineDQMSource.remove(smpMonitorHLT)
0082 triggerOfflineDQMSource.remove(topMonitorHLT)
0083 triggerOfflineDQMSource.remove(btagMonitorHLT)
0084 triggerOfflineDQMSource.remove(egammaMonitorHLT)
0085 triggerOfflineDQMSource.remove(ak4PFL1FastL2L3CorrectorChain)
0086 
0087 globalAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
0088 #trackerAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
0089 #tightAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
0090 #looseAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
0091 
0092 from DQMOffline.EGamma.egammaDQMOffline_cff import *
0093 #egammaDQMOffline.remove(electronAnalyzerSequence)
0094 egammaDQMOffline.remove(zmumugammaAnalysis)
0095 egammaDQMOffline.remove(zmumugammaOldAnalysis)
0096 #egammaDQMOffline.remove(photonAnalysis)
0097 
0098 photonAnalysis.phoProducer = cms.InputTag("gedPhotonsTmp")
0099 photonAnalysis.isHeavyIon = True
0100 photonAnalysis.barrelRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEB")
0101 photonAnalysis.endcapRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
0102 
0103 dqmElectronGeneralAnalysis.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
0104 dqmElectronGeneralAnalysis.TrackCollection = cms.InputTag("hiGeneralTracks")
0105 dqmElectronGeneralAnalysis.VertexCollection = cms.InputTag("hiSelectedVertex")
0106 dqmElectronAnalysisAllElectrons.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
0107 dqmElectronAnalysisSelectionEt.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
0108 dqmElectronAnalysisSelectionEtIso.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
0109 dqmElectronTagProbeAnalysis.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
0110 
0111 stdPhotonAnalysis.isHeavyIon = True
0112 stdPhotonAnalysis.barrelRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEB")
0113 stdPhotonAnalysis.endcapRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
0114 
0115 #disabled, until an appropriate configuration is set
0116 hltTauOfflineMonitor_PFTaus.Matching.doMatching = False
0117 
0118 from DQMOffline.Trigger.FSQHLTOfflineSource_cfi import getFSQHI
0119 fsqHLTOfflineSource.todo = getFSQHI()
0120 
0121 from DQMOffline.RecoB.PrimaryVertexMonitor_cff import *
0122 pvMonitor.vertexLabel = cms.InputTag("hiSelectedVertex")
0123 
0124 from DQM.TrackingMonitorSource.TrackingSourceConfig_Tier0_HeavyIons_cff import *
0125 from DQMOffline.JetMET.jetMETDQMOfflineSourceHI_cff import *
0126 from DQM.BeamMonitor.AlcaBeamMonitorHeavyIons_cff import *
0127 from DQM.Physics.DQMPhysics_cff import *
0128 
0129 DQMOfflineHeavyIonsMUO = cms.Sequence(muonMonitors)
0130 
0131 DQMOfflineHeavyIonsTracking = cms.Sequence( TrackMonDQMTier0_hi )
0132 
0133 DQMOfflineHeavyIonsJetMET = cms.Sequence( jetMETDQMOfflineSource )
0134 
0135 DQMOfflineHeavyIonsEGamma = cms.Sequence( egammaDQMOffline )
0136 
0137 DQMOfflineHeavyIonsTrigger = cms.Sequence( triggerOfflineDQMSource )
0138 
0139 DQMOfflineHeavyIonsVertex = cms.Sequence( pvMonitor )
0140 
0141 DQMOfflineHeavyIonsBeam = cms.Sequence( alcaBeamMonitor )
0142 
0143 DQMOfflineHeavyIonsPhysics = cms.Sequence( dqmPhysicsHI )
0144 
0145 DQMOfflineHeavyIonsPrePOG = cms.Sequence( DQMOfflineHeavyIonsMUO *
0146                                            DQMOfflineHeavyIonsTracking *
0147                                            DQMOfflineHeavyIonsJetMET *
0148                                            DQMOfflineHeavyIonsEGamma *
0149                                            DQMOfflineHeavyIonsTrigger *
0150                                            DQMOfflineHeavyIonsVertex *
0151                                            DQMOfflineHeavyIonsBeam *
0152                                            DQMOfflineHeavyIonsPhysics )
0153 
0154 DQMOfflineHeavyIonsPOG = cms.Sequence( DQMOfflineHeavyIonsPrePOG *
0155                                        DQMMessageLogger )
0156 
0157 DQMOfflineHeavyIons = cms.Sequence( DQMOfflineHeavyIonsPreDPG *
0158                                     DQMOfflineHeavyIonsPrePOG *
0159                                     DQMMessageLogger )
0160 
0161 DQMOfflineHeavyIonsFakeHLT = cms.Sequence( DQMOfflineHeavyIons )
0162 DQMOfflineHeavyIonsFakeHLT.remove( triggerOfflineDQMSource )
0163 
0164 #this is needed to have a light sequence for T0 processing
0165 liteDQMOfflineHeavyIons = cms.Sequence ( DQMOfflineHeavyIons )
0166 liteDQMOfflineHeavyIons.remove( SiStripMonitorCluster )
0167 liteDQMOfflineHeavyIons.remove( jetMETDQMOfflineSource )
0168 
0169 PostDQMOfflineHI = cms.Sequence()