CMS 3D CMS Logo

DQMOffline_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
18 from DQM.CTPPS.ctppsDQM_cff import *
20 
21 DQMNone = cms.Sequence()
22 
23 DQMMessageLoggerSeq = cms.Sequence( DQMMessageLogger )
24 
25 DQMOfflineDCS = cms.Sequence( dqmDcsInfo )
26 
27 # L1 trigger sequences
28 DQMOfflineL1T = cms.Sequence( l1TriggerDqmOffline ) # L1 emulator is run within this sequence for real data
29 
30 DQMOfflineL1TEgamma = cms.Sequence( l1TriggerEgDqmOffline )
31 
32 DQMOfflineL1TMuon = cms.Sequence( l1TriggerMuonDqmOffline )
33 
34 #DPGs
35 DQMOfflineEcal = cms.Sequence( ecal_dqm_source_offline *
36  es_dqm_source_offline )
37 
38 DQMOfflineHcal = cms.Sequence( hcalOfflineSourceSequence )
39 
40 DQMOfflineHcal2 = cms.Sequence( HcalDQMOfflineSequence )
41 
42 DQMOfflineTrackerStrip = cms.Sequence( SiStripDQMTier0 )
43 
44 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
45 
46 DQMOfflineMuonDPG = cms.Sequence( dtSources *
47  rpcTier0Source *
48  cscSources )
49 
50 DQMOfflineCASTOR = cms.Sequence( castorSources )
51 
52 DQMOfflineCTPPS = cms.Sequence( ctppsDQM )
53 
54 DQMOfflinePreDPG = cms.Sequence( DQMOfflineDCS *
55  DQMOfflineL1T *
56  DQMOfflineEcal *
57  DQMOfflineHcal *
58  DQMOfflineHcal2 *
59  DQMOfflineTrackerStrip *
60  DQMOfflineTrackerPixel *
61  DQMOfflineMuonDPG *
62  DQMOfflineCASTOR *
63  DQMOfflineCTPPS )
64 
65 DQMOfflineDPG = cms.Sequence( DQMOfflinePreDPG *
66  DQMMessageLogger )
67 
70 from DQM.TrackingMonitor.trackingRecoMaterialAnalyzer_cfi import materialDumperAnalyzer
77 from DQM.Physics.DQMPhysics_cff import *
78 
79 DQMOfflineVertex = cms.Sequence( pvMonitor )
80 
81 materialDumperAnalyzer.usePV = True
82 DQMOfflineTracking = cms.Sequence( TrackingDQMSourceTier0 *
83  DQMOfflineVertex *
84  materialDumperAnalyzer )
85 
86 DQMOfflineMUO = cms.Sequence(muonMonitors)
87 muonRecoAnalyzer.doMVA = cms.bool( True )
88 muonRecoAnalyzer_miniAOD.doMVA = cms.bool( True )
89 
90 DQMOfflineJetMET = cms.Sequence( jetMETDQMOfflineSource )
91 
92 DQMOfflineEGamma = cms.Sequence( egammaDQMOffline )
93 
94 DQMOfflineTrigger = cms.Sequence( triggerOfflineDQMSource )
95 
96 DQMOfflineBTag = cms.Sequence( bTagPlotsDATA )
97 
98 DQMOfflineBeam = cms.Sequence( alcaBeamMonitor )
99 
100 DQMOfflinePhysics = cms.Sequence( dqmPhysics )
101 
102 DQMOfflinePrePOG = cms.Sequence( DQMOfflineTracking *
103  DQMOfflineMUO *
104  DQMOfflineJetMET *
105  DQMOfflineEGamma *
106  DQMOfflineTrigger *
107  DQMOfflineBTag *
108  DQMOfflineBeam *
109  DQMOfflinePhysics )
110 
111 
112 DQMOfflinePOG = cms.Sequence( DQMOfflinePrePOG *
113  DQMMessageLogger )
114 
115 HLTMonitoring = cms.Sequence( OfflineHLTMonitoring )
116 HLTMonitoringPA = cms.Sequence( OfflineHLTMonitoringPA )
117 
118 # Data
119 DQMOffline = cms.Sequence( DQMOfflinePreDPG *
120  DQMOfflinePrePOG *
121  HLTMonitoring *
122  DQMMessageLogger )
123 
124 DQMOfflineExtraHLT = cms.Sequence( offlineValidationHLTSource )
125 
126 
127 DQMOfflineFakeHLT = cms.Sequence( DQMOffline )
128 DQMOfflineFakeHLT.remove( HLTMonitoring )
129 DQMOfflineFakeHLT.remove( DQMOfflineTrigger )
130 
131 #MC
132 DQMOfflinePrePOGMC = cms.Sequence( DQMOfflineVertex *
133  DQMOfflineBTag *
134  DQMOfflinePhysics )
135 
136 DQMOfflinePOGMC = cms.Sequence( DQMOfflinePrePOGMC *
137  DQMMessageLogger )
138 
139 #DQMOfflineCommon
143 
144 DQMOfflinePixelTracking = cms.Sequence( pixelTracksMonitoring )
145 
146 DQMOuterTracker = cms.Sequence( DQMOfflineDCS *
147  OuterTrackerSource *
148  DQMMessageLogger *
149  DQMOfflinePhysics *
150  DQMOfflineVertex
151  )
152 
153 DQMOfflineTrackerPhase2 = cms.Sequence( trackerphase2DQMSource )
154 
155 DQMOfflineTAU = cms.Sequence( produceDenomsData *
156  pfTauRunDQMValidation )
157 
158 DQMOfflineTrackerStripCommon = cms.Sequence( SiStripDQMTier0Common )
159 
160 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
161 
162 DQMOfflineCommon = cms.Sequence( DQMOfflineDCS *
163  DQMMessageLogger *
164  DQMOfflineTrackerStrip *
165  DQMOfflineTrackerPixel *
166  DQMOfflineTracking *
167  DQMOfflineTrigger *
168  DQMOfflineBeam *
169  DQMOfflineCASTOR *
170  DQMOfflinePhysics *
171  DQMOfflineTAU
172  )
173 
174 DQMOfflineCommonFakeHLT = cms.Sequence( DQMOfflineCommon )
175 DQMOfflineCommonFakeHLT.remove( DQMOfflineTrigger )
176 
177 #MinBias/ZeroBias
178 DQMOfflineTrackerStripMinBias = cms.Sequence( SiStripDQMTier0MinBias )
179 
180 DQMOfflineTrackingMinBias = cms.Sequence( TrackingDQMSourceTier0MinBias *
181  DQMOfflineVertex *
182  materialDumperAnalyzer )
183 
184 
185 DQMOfflineCommonSiStripZeroBias = cms.Sequence( DQMOfflineDCS *
186  DQMMessageLogger *
187  DQMOfflineTrackerStripMinBias *
188  DQMOfflineTrackerPixel *
189  DQMOfflineL1T *
190  DQMOfflineTrigger *
191  DQMOfflineBeam *
192  DQMOfflineCASTOR *
193  DQMOfflinePhysics *
194  DQMOfflineTrackingMinBias
195  )
196 
197 DQMOfflineCommonSiStripZeroBiasFakeHLT = cms.Sequence( DQMOfflineCommonSiStripZeroBias )
198 DQMOfflineCommonSiStripZeroBiasFakeHLT.remove( DQMOfflineTrigger )
199 
200 #Other definitons
201 from DQMOffline.Lumi.ZCounting_cff import *
202 
203 DQMOfflineLumi = cms.Sequence ( zcounting )
204 
205 DQMOfflineMuon = cms.Sequence( dtSources *
206  rpcTier0Source *
207  cscSources *
208  muonMonitors
209  )
210 
211 #Taus not created in pp conditions for HI
212 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
213 _DQMOfflineTAU = cms.Sequence()
214 pp_on_AA_2018.toReplaceWith(DQMOfflineTAU, _DQMOfflineTAU)
215 
216 
217 # miniAOD DQM validation
218 from Validation.RecoParticleFlow.miniAODDQM_cff import * # On MiniAOD vs RECO
219 from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import * # MiniAOD PF variables
221 from DQMOffline.Muon.miniAOD_cff import *
222 from DQM.Physics.DQMTopMiniAOD_cff import *
223 
224 DQMOfflineMiniAOD = cms.Sequence(jetMETDQMOfflineRedoProductsMiniAOD*muonMonitors_miniAOD*MuonMiniAOD*DQMOfflinePF)
225 
226 #Post sequences are automatically placed in the EndPath by ConfigBuilder if PAT is run.
227 #miniAOD DQM sequences need to access the filter results.
228 
229 PostDQMOfflineMiniAOD = cms.Sequence(miniAODDQMSequence*jetMETDQMOfflineSourceMiniAOD*tracksDQMMiniAOD*topPhysicsminiAOD)
230 PostDQMOffline = cms.Sequence()
231 
232 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
233 phase2_hcal.toReplaceWith( PostDQMOfflineMiniAOD, PostDQMOfflineMiniAOD.copyAndExclude([
234  pfMetDQMAnalyzerMiniAOD, pfPuppiMetDQMAnalyzerMiniAOD # No hcalnoise yet
235 ]))
236 
237 from PhysicsTools.NanoAOD.nanoDQM_cff import nanoDQM
238 DQMOfflineNanoAOD = cms.Sequence(nanoDQM)
239 #PostDQMOfflineNanoAOD = cms.Sequence(nanoDQM)