Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # FastSim version of DQMOffline/Configuration/python/DQMOfflineMC_cff.py .
0004 # MiniAOD part is a clone from DQMOffline/Configuration/python/DQMOffline_cff.py
0005 
0006 from DQMOffline.RecoB.PrimaryVertexMonitor_cff import *
0007 from DQM.Physics.DQMPhysics_cff import *
0008 from Validation.RecoTau.DQMSequences_cfi import *
0009 from DQMOffline.RecoB.dqmAnalyzer_cff import *
0010 
0011 DQMOfflinePrePOG = cms.Sequence(
0012     pvMonitor *
0013     bTagPlotsDATA *
0014     dqmPhysics *
0015     produceDenomsData *
0016     pfTauRunDQMValidation
0017     )
0018 
0019 # Fix Jet Corrector in FastSim
0020 topSingleMuonMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
0021 topSingleElectronMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
0022 singleTopMuonMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
0023 singleTopElectronMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
0024 
0025 DQMOfflineFS = cms.Sequence(DQMOfflinePrePOG)
0026 
0027 # miniAOD DQM validation
0028 from DQMOffline.JetMET.jetMETDQMOfflineSource_cff import *
0029 from DQMOffline.Muon.muonMonitors_cff import *
0030 from Validation.RecoParticleFlow.miniAODDQM_cff import * # On MiniAOD vs RECO
0031 from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import * # MiniAOD PF variables
0032 from DQM.TrackingMonitor.tracksDQMMiniAOD_cff import *
0033 from DQMOffline.RecoB.bTagMiniDQM_cff import *
0034 from DQMOffline.Muon.miniAOD_cff import *
0035 from DQM.Physics.DQMTopMiniAOD_cff import *
0036 
0037 DQMOfflineMiniAOD = cms.Sequence(jetMETDQMOfflineRedoProductsMiniAOD*bTagMiniDQMSource*muonMonitors_miniAOD*MuonMiniAOD*DQMOfflinePF)
0038 
0039 #Post sequences are automatically placed in the EndPath by ConfigBuilder if PAT is run.
0040 #miniAOD DQM sequences need to access the filter results.
0041 
0042 PostDQMOfflineMiniAOD = cms.Sequence(miniAODDQMSequence*jetMETDQMOfflineSourceMiniAOD*tracksDQMMiniAOD*topPhysicsminiAOD)
0043 PostDQMOffline = cms.Sequence()
0044 
0045 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
0046 run3_HB.toReplaceWith( PostDQMOfflineMiniAOD, PostDQMOfflineMiniAOD.copyAndExclude([
0047     pfMetDQMAnalyzerMiniAOD, pfPuppiMetDQMAnalyzerMiniAOD # No hcalnoise (yet)
0048 ]))
0049 
0050 from PhysicsTools.NanoAOD.nanoDQM_cff import nanoDQM
0051 DQMOfflineNanoAOD = cms.Sequence(nanoDQM)
0052 #PostDQMOfflineNanoAOD = cms.Sequence(nanoDQM)
0053 from PhysicsTools.NanoAOD.nanogenDQM_cff import nanogenDQM
0054 DQMOfflineNanoGen = cms.Sequence(nanogenDQM)