CMS 3D CMS Logo

DQMOfflineFS_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # FastSim version of DQMOffline/Configuration/python/DQMOfflineMC_cff.py .
4 # MiniAOD part is a clone from DQMOffline/Configuration/python/DQMOffline_cff.py
5 
7 from DQM.Physics.DQMPhysics_cff import *
10 
11 DQMOfflinePrePOG = cms.Sequence(
12  pvMonitor *
13  bTagPlotsDATA *
14  dqmPhysics *
15  produceDenomsData *
16  pfTauRunDQMValidation
17  )
18 
19 # Fix Jet Corrector in FastSim
20 topSingleMuonMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
21 topSingleElectronMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
22 singleTopMuonMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
23 singleTopElectronMediumDQM.setup.jetExtras.jetCorrector = cms.InputTag("ak4PFCHSL1FastL2L3Corrector")
24 
25 DQMOfflineFS = cms.Sequence(DQMOfflinePrePOG)
26 
27 # miniAOD DQM validation
30 from Validation.RecoParticleFlow.miniAODDQM_cff import * # On MiniAOD vs RECO
31 from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import * # MiniAOD PF variables
34 from DQMOffline.Muon.miniAOD_cff import *
36 
37 DQMOfflineMiniAOD = cms.Sequence(jetMETDQMOfflineRedoProductsMiniAOD*bTagMiniDQMSource*muonMonitors_miniAOD*MuonMiniAOD*DQMOfflinePF)
38 
39 #Post sequences are automatically placed in the EndPath by ConfigBuilder if PAT is run.
40 #miniAOD DQM sequences need to access the filter results.
41 
42 PostDQMOfflineMiniAOD = cms.Sequence(miniAODDQMSequence*jetMETDQMOfflineSourceMiniAOD*tracksDQMMiniAOD*topPhysicsminiAOD)
43 PostDQMOffline = cms.Sequence()
44 
45 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
46 run3_HB.toReplaceWith( PostDQMOfflineMiniAOD, PostDQMOfflineMiniAOD.copyAndExclude([
47  pfMetDQMAnalyzerMiniAOD, pfPuppiMetDQMAnalyzerMiniAOD # No hcalnoise (yet)
48 ]))
49 
50 from PhysicsTools.NanoAOD.nanoDQM_cff import nanoDQM
51 DQMOfflineNanoAOD = cms.Sequence(nanoDQM)
52 #PostDQMOfflineNanoAOD = cms.Sequence(nanoDQM)
53 from PhysicsTools.NanoAOD.nanogenDQM_cff import nanogenDQM
54 DQMOfflineNanoGen = cms.Sequence(nanogenDQM)