CMS 3D CMS Logo

DQMOffline_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
19 from DQM.CTPPS.ctppsDQM_cff import *
22 
23 DQMNone = cms.Sequence()
24 
25 DQMMessageLoggerSeq = cms.Sequence( DQMMessageLogger )
26 
27 dqmProvInfo.runType = "pp_run"
28 dqmProvInfo.dcsRecord = cms.untracked.InputTag("onlineMetaDataDigis")
29 DQMOfflineDCS = cms.Sequence( dqmProvInfo )
30 
31 # L1 trigger sequences
32 DQMOfflineL1T = cms.Sequence( l1TriggerDqmOffline ) # L1 emulator is run within this sequence for real data
33 
34 DQMOfflineL1TEgamma = cms.Sequence( l1TriggerEgDqmOffline )
35 
36 DQMOfflineL1TMuon = cms.Sequence( l1TriggerMuonDqmOffline )
37 
38 DQMOfflineL1TPhase2 = cms.Sequence( Phase2l1TriggerDqmOffline )
39 
40 #DPGs
41 DQMOfflineEcalOnly = cms.Sequence(
42  ecalOnly_dqm_source_offline +
43  es_dqm_source_offline )
44 
45 DQMOfflineEcal = cms.Sequence(
46  ecal_dqm_source_offline +
47  es_dqm_source_offline )
48 
49 from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
50 phase2_ecal_devel.toReplaceWith(DQMOfflineEcalOnly, DQMOfflineEcalOnly.copyAndExclude([es_dqm_source_offline]))
51 
52 #offline version of the online DQM: used in validation/certification
53 DQMOfflineHcal = cms.Sequence( hcalOfflineSourceSequence )
54 
55 # offline DQM: used in Release validation
56 DQMOfflineHcal2 = cms.Sequence( HcalDQMOfflineSequence )
57 
58 DQMOfflineHcalOnly = cms.Sequence( hcalOnlyOfflineSourceSequence )
59 
60 DQMOfflineHcal2Only = cms.Sequence( RecHitsDQMOffline )
61 
62 DQMOfflineTrackerStrip = cms.Sequence( SiStripDQMTier0 )
63 
64 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
65 
66 DQMOfflineMuonDPG = cms.Sequence( dtSources *
67  rpcTier0Source *
68  cscSources )
69 
70 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
71 _run3_GEM_DQMOfflineMuonDPG = DQMOfflineMuonDPG.copy()
72 _run3_GEM_DQMOfflineMuonDPG += gemSources
73 run3_GEM.toReplaceWith(DQMOfflineMuonDPG, _run3_GEM_DQMOfflineMuonDPG)
74 
75 DQMOfflineCASTOR = cms.Sequence( castorSources )
76 
77 DQMOfflineCTPPS = cms.Sequence( ctppsDQMOfflineSource )
78 
79 DQMOfflinePreDPG = cms.Sequence( DQMOfflineDCS *
80  DQMOfflineL1T *
81  DQMOfflineEcal *
82  DQMOfflineHcal *
83  DQMOfflineHcal2 *
84  DQMOfflineTrackerStrip *
85  DQMOfflineTrackerPixel *
86  DQMOfflineMuonDPG *
87  DQMOfflineCASTOR *
88  DQMOfflineCTPPS )
89 
90 DQMOfflineDPG = cms.Sequence( DQMOfflinePreDPG *
91  DQMMessageLogger )
92 
95 from DQM.TrackingMonitor.trackingRecoMaterialAnalyzer_cfi import materialDumperAnalyzer
102 from DQM.Physics.DQMPhysics_cff import *
104 
105 DQMOfflineVertex = cms.Sequence( pvMonitor )
106 
107 materialDumperAnalyzer.usePV = True
108 DQMOfflineTracking = cms.Sequence( TrackingDQMSourceTier0 *
109  DQMOfflineVertex *
110  materialDumperAnalyzer )
111 
112 DQMOfflineMUO = cms.Sequence(muonMonitors)
113 muonRecoAnalyzer.doMVA = cms.bool( True )
114 muonRecoAnalyzer_miniAOD.doMVA = cms.bool( True )
115 
116 DQMOfflineJetMET = cms.Sequence( jetMETDQMOfflineSource )
117 
118 DQMOfflineEGamma = cms.Sequence( egammaDQMOffline )
119 
120 DQMOfflineTrigger = cms.Sequence( triggerOfflineDQMSource )
121 
122 DQMOfflineBTag = cms.Sequence( bTagPlotsDATA )
123 
124 DQMOfflineBeam = cms.Sequence( alcaBeamMonitor )
125 
126 DQMOfflinePhysics = cms.Sequence( dqmPhysics )
127 
128 DQMOfflineHeavyFlavor = cms.Sequence( heavyFlavorDQMSource )
129 
130 DQMOfflinePrePOG = cms.Sequence( DQMOfflineTracking *
131  DQMOfflineMUO *
132  DQMOfflineJetMET *
133  DQMOfflineEGamma *
134  DQMOfflineTrigger *
135  DQMOfflineBTag *
136  DQMOfflineBeam *
137  DQMOfflinePhysics )
138 
139 
140 DQMOfflinePOG = cms.Sequence( DQMOfflinePrePOG *
141  DQMMessageLogger )
142 
143 HLTMonitoring = cms.Sequence( OfflineHLTMonitoring )
144 HLTMonitoringPA = cms.Sequence( OfflineHLTMonitoringPA )
145 
146 # Data
147 DQMOffline = cms.Sequence( DQMOfflinePreDPG *
148  DQMOfflinePrePOG *
149  HLTMonitoring *
150  DQMMessageLogger )
151 
152 DQMOfflineExtraHLT = cms.Sequence( offlineValidationHLTSource )
153 
154 
155 DQMOfflineFakeHLT = cms.Sequence( DQMOffline )
156 DQMOfflineFakeHLT.remove( HLTMonitoring )
157 DQMOfflineFakeHLT.remove( DQMOfflineTrigger )
158 
159 #MC
160 DQMOfflinePrePOGMC = cms.Sequence( DQMOfflineVertex *
161  DQMOfflineBTag *
162  DQMOfflinePhysics )
163 
164 DQMOfflinePOGMC = cms.Sequence( DQMOfflinePrePOGMC *
165  DQMMessageLogger )
166 
167 #DQMOfflineCommon
172 
173 DQMOfflinePixelTracking = cms.Sequence( pixelTracksMonitoring *
174  pixelPVMonitor *
175  monitorpixelSoASource )
176 
177 DQMOuterTracker = cms.Sequence( DQMOfflineDCS *
178  OuterTrackerSource *
179  DQMMessageLogger *
180  DQMOfflinePhysics *
181  DQMOfflineVertex
182  )
183 
184 DQMOfflineTrackerPhase2 = cms.Sequence( trackerphase2DQMSource )
185 
186 DQMOfflineTAU = cms.Sequence( produceDenomsData *
187  pfTauRunDQMValidation )
188 
189 DQMOfflineTrackerStripCommon = cms.Sequence( SiStripDQMTier0Common )
190 
191 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
192 
193 DQMOfflineCommon = cms.Sequence( DQMOfflineDCS *
194  DQMMessageLogger *
195  DQMOfflineTrackerStrip *
196  DQMOfflineTrackerPixel *
197  DQMOfflineTracking *
198  DQMOfflineTrigger *
199  DQMOfflineBeam *
200  DQMOfflineCASTOR *
201  DQMOfflinePhysics *
202  DQMOfflineTAU
203  )
204 
205 DQMOfflineCommonFakeHLT = cms.Sequence( DQMOfflineCommon )
206 DQMOfflineCommonFakeHLT.remove( DQMOfflineTrigger )
207 
208 #MinBias/ZeroBias
209 DQMOfflineTrackerStripMinBias = cms.Sequence( SiStripDQMTier0MinBias )
210 
211 DQMOfflineTrackingMinBias = cms.Sequence( TrackingDQMSourceTier0MinBias *
212  DQMOfflineVertex *
213  materialDumperAnalyzer )
214 
215 
216 DQMOfflineCommonSiStripZeroBias = cms.Sequence( DQMOfflineDCS *
217  DQMMessageLogger *
218  DQMOfflineTrackerStripMinBias *
219  DQMOfflineTrackerPixel *
220  DQMOfflineL1T *
221  DQMOfflineTrigger *
222  DQMOfflineBeam *
223  DQMOfflineCASTOR *
224  DQMOfflinePhysics *
225  DQMOfflineTrackingMinBias
226  )
227 
228 DQMOfflineCommonSiStripZeroBiasFakeHLT = cms.Sequence( DQMOfflineCommonSiStripZeroBias )
229 DQMOfflineCommonSiStripZeroBiasFakeHLT.remove( DQMOfflineTrigger )
230 
231 #Other definitons
232 from DQMOffline.Lumi.ZCounting_cff import *
233 
234 DQMOfflineLumi = cms.Sequence ( zcounting )
235 
236 DQMOfflineMuon = cms.Sequence( dtSources *
237  rpcTier0Source *
238  cscSources *
239  muonMonitors
240  )
241 
242 _run3_GEM_DQMOfflineMuon = DQMOfflineMuon.copy()
243 _run3_GEM_DQMOfflineMuon += gemSources
244 run3_GEM.toReplaceWith(DQMOfflineMuon, _run3_GEM_DQMOfflineMuon)
245 
246 #Taus not created in pp conditions for HI
247 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
248 _DQMOfflineTAU = cms.Sequence()
249 pp_on_AA.toReplaceWith(DQMOfflineTAU, _DQMOfflineTAU)
250 
251 
252 # miniAOD DQM validation
253 from Validation.RecoParticleFlow.miniAODDQM_cff import * # On MiniAOD vs RECO
254 from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import * # MiniAOD PF variables
257 from DQMOffline.Muon.miniAOD_cff import *
258 from DQM.Physics.DQMTopMiniAOD_cff import *
259 
260 DQMOfflineMiniAOD = cms.Sequence(jetMETDQMOfflineRedoProductsMiniAOD*bTagMiniDQMSource*muonMonitors_miniAOD*MuonMiniAOD*DQMOfflinePF)
261 
262 #Post sequences are automatically placed in the EndPath by ConfigBuilder if PAT is run.
263 #miniAOD DQM sequences need to access the filter results.
264 
265 PostDQMOfflineMiniAOD = cms.Sequence(miniAODDQMSequence*jetMETDQMOfflineSourceMiniAOD*tracksDQMMiniAOD*topPhysicsminiAOD)
266 PostDQMOffline = cms.Sequence()
267 
268 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
269 run3_HB.toReplaceWith( PostDQMOfflineMiniAOD, PostDQMOfflineMiniAOD.copyAndExclude([
270  pfMetDQMAnalyzerMiniAOD, pfPuppiMetDQMAnalyzerMiniAOD # No hcalnoise (yet)
271 ]))
272 
273 from PhysicsTools.NanoAOD.nanoDQM_cff import nanoDQM
274 DQMOfflineNanoAOD = cms.Sequence(nanoDQM)
275 #PostDQMOfflineNanoAOD = cms.Sequence(nanoDQM)
276 from PhysicsTools.NanoAOD.nanogenDQM_cff import nanogenDQM
277 DQMOfflineNanoGen = cms.Sequence(nanogenDQM)
278 from PhysicsTools.NanoAOD.nanojmeDQM_cff import nanojmeDQM
279 DQMOfflineNanoJME = cms.Sequence(nanojmeDQM)