CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 #offline version of the online DQM: used in validation/certification
50 DQMOfflineHcal = cms.Sequence( hcalOfflineSourceSequence )
51 
52 # offline DQM: used in Release validation
53 DQMOfflineHcal2 = cms.Sequence( HcalDQMOfflineSequence )
54 
55 DQMOfflineHcalOnly = cms.Sequence( hcalOnlyOfflineSourceSequence )
56 
57 DQMOfflineHcal2Only = cms.Sequence( RecHitsDQMOffline )
58 
59 DQMOfflineTrackerStrip = cms.Sequence( SiStripDQMTier0 )
60 
61 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
62 
63 DQMOfflineMuonDPG = cms.Sequence( dtSources *
64  rpcTier0Source *
65  cscSources )
66 
67 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
68 _run3_GEM_DQMOfflineMuonDPG = DQMOfflineMuonDPG.copy()
69 _run3_GEM_DQMOfflineMuonDPG += gemSources
70 run3_GEM.toReplaceWith(DQMOfflineMuonDPG, _run3_GEM_DQMOfflineMuonDPG)
71 
72 DQMOfflineCASTOR = cms.Sequence( castorSources )
73 
74 DQMOfflineCTPPS = cms.Sequence( ctppsDQMOfflineSource )
75 
76 DQMOfflinePreDPG = cms.Sequence( DQMOfflineDCS *
77  DQMOfflineL1T *
78  DQMOfflineEcal *
79  DQMOfflineHcal *
80  DQMOfflineHcal2 *
81  DQMOfflineTrackerStrip *
82  DQMOfflineTrackerPixel *
83  DQMOfflineMuonDPG *
84  DQMOfflineCASTOR *
85  DQMOfflineCTPPS )
86 
87 DQMOfflineDPG = cms.Sequence( DQMOfflinePreDPG *
88  DQMMessageLogger )
89 
92 from DQM.TrackingMonitor.trackingRecoMaterialAnalyzer_cfi import materialDumperAnalyzer
99 from DQM.Physics.DQMPhysics_cff import *
100 
101 DQMOfflineVertex = cms.Sequence( pvMonitor )
102 
103 materialDumperAnalyzer.usePV = True
104 DQMOfflineTracking = cms.Sequence( TrackingDQMSourceTier0 *
105  DQMOfflineVertex *
106  materialDumperAnalyzer )
107 
108 DQMOfflineMUO = cms.Sequence(muonMonitors)
109 muonRecoAnalyzer.doMVA = cms.bool( True )
110 muonRecoAnalyzer_miniAOD.doMVA = cms.bool( True )
111 
112 DQMOfflineJetMET = cms.Sequence( jetMETDQMOfflineSource )
113 
114 DQMOfflineEGamma = cms.Sequence( egammaDQMOffline )
115 
116 DQMOfflineTrigger = cms.Sequence( triggerOfflineDQMSource )
117 
118 DQMOfflineBTag = cms.Sequence( bTagPlotsDATA )
119 
120 DQMOfflineBeam = cms.Sequence( alcaBeamMonitor )
121 
122 DQMOfflinePhysics = cms.Sequence( dqmPhysics )
123 
124 DQMOfflinePrePOG = cms.Sequence( DQMOfflineTracking *
125  DQMOfflineMUO *
126  DQMOfflineJetMET *
127  DQMOfflineEGamma *
128  DQMOfflineTrigger *
129  DQMOfflineBTag *
130  DQMOfflineBeam *
131  DQMOfflinePhysics )
132 
133 
134 DQMOfflinePOG = cms.Sequence( DQMOfflinePrePOG *
135  DQMMessageLogger )
136 
137 HLTMonitoring = cms.Sequence( OfflineHLTMonitoring )
138 HLTMonitoringPA = cms.Sequence( OfflineHLTMonitoringPA )
139 
140 # Data
141 DQMOffline = cms.Sequence( DQMOfflinePreDPG *
142  DQMOfflinePrePOG *
143  HLTMonitoring *
144  DQMMessageLogger )
145 
146 DQMOfflineExtraHLT = cms.Sequence( offlineValidationHLTSource )
147 
148 
149 DQMOfflineFakeHLT = cms.Sequence( DQMOffline )
150 DQMOfflineFakeHLT.remove( HLTMonitoring )
151 DQMOfflineFakeHLT.remove( DQMOfflineTrigger )
152 
153 #MC
154 DQMOfflinePrePOGMC = cms.Sequence( DQMOfflineVertex *
155  DQMOfflineBTag *
156  DQMOfflinePhysics )
157 
158 DQMOfflinePOGMC = cms.Sequence( DQMOfflinePrePOGMC *
159  DQMMessageLogger )
160 
161 #DQMOfflineCommon
166 
167 DQMOfflinePixelTracking = cms.Sequence( pixelTracksMonitoring *
168  pixelPVMonitor *
169  monitorpixelSoASource )
170 
171 DQMOuterTracker = cms.Sequence( DQMOfflineDCS *
172  OuterTrackerSource *
173  DQMMessageLogger *
174  DQMOfflinePhysics *
175  DQMOfflineVertex
176  )
177 
178 DQMOfflineTrackerPhase2 = cms.Sequence( trackerphase2DQMSource )
179 
180 DQMOfflineTAU = cms.Sequence( produceDenomsData *
181  pfTauRunDQMValidation )
182 
183 DQMOfflineTrackerStripCommon = cms.Sequence( SiStripDQMTier0Common )
184 
185 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
186 
187 DQMOfflineCommon = cms.Sequence( DQMOfflineDCS *
188  DQMMessageLogger *
189  DQMOfflineTrackerStrip *
190  DQMOfflineTrackerPixel *
191  DQMOfflineTracking *
192  DQMOfflineTrigger *
193  DQMOfflineBeam *
194  DQMOfflineCASTOR *
195  DQMOfflinePhysics *
196  DQMOfflineTAU
197  )
198 
199 DQMOfflineCommonFakeHLT = cms.Sequence( DQMOfflineCommon )
200 DQMOfflineCommonFakeHLT.remove( DQMOfflineTrigger )
201 
202 #MinBias/ZeroBias
203 DQMOfflineTrackerStripMinBias = cms.Sequence( SiStripDQMTier0MinBias )
204 
205 DQMOfflineTrackingMinBias = cms.Sequence( TrackingDQMSourceTier0MinBias *
206  DQMOfflineVertex *
207  materialDumperAnalyzer )
208 
209 
210 DQMOfflineCommonSiStripZeroBias = cms.Sequence( DQMOfflineDCS *
211  DQMMessageLogger *
212  DQMOfflineTrackerStripMinBias *
213  DQMOfflineTrackerPixel *
214  DQMOfflineL1T *
215  DQMOfflineTrigger *
216  DQMOfflineBeam *
217  DQMOfflineCASTOR *
218  DQMOfflinePhysics *
219  DQMOfflineTrackingMinBias
220  )
221 
222 DQMOfflineCommonSiStripZeroBiasFakeHLT = cms.Sequence( DQMOfflineCommonSiStripZeroBias )
223 DQMOfflineCommonSiStripZeroBiasFakeHLT.remove( DQMOfflineTrigger )
224 
225 #Other definitons
226 from DQMOffline.Lumi.ZCounting_cff import *
227 
228 DQMOfflineLumi = cms.Sequence ( zcounting )
229 
230 DQMOfflineMuon = cms.Sequence( dtSources *
231  rpcTier0Source *
232  cscSources *
233  muonMonitors
234  )
235 
236 _run3_GEM_DQMOfflineMuon = DQMOfflineMuon.copy()
237 _run3_GEM_DQMOfflineMuon += gemSources
238 run3_GEM.toReplaceWith(DQMOfflineMuon, _run3_GEM_DQMOfflineMuon)
239 
240 #Taus not created in pp conditions for HI
241 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
242 _DQMOfflineTAU = cms.Sequence()
243 pp_on_AA.toReplaceWith(DQMOfflineTAU, _DQMOfflineTAU)
244 
245 
246 # miniAOD DQM validation
247 from Validation.RecoParticleFlow.miniAODDQM_cff import * # On MiniAOD vs RECO
248 from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import * # MiniAOD PF variables
251 from DQMOffline.Muon.miniAOD_cff import *
252 from DQM.Physics.DQMTopMiniAOD_cff import *
253 
254 DQMOfflineMiniAOD = cms.Sequence(jetMETDQMOfflineRedoProductsMiniAOD*bTagMiniDQMSource*muonMonitors_miniAOD*MuonMiniAOD*DQMOfflinePF)
255 
256 #Post sequences are automatically placed in the EndPath by ConfigBuilder if PAT is run.
257 #miniAOD DQM sequences need to access the filter results.
258 
259 PostDQMOfflineMiniAOD = cms.Sequence(miniAODDQMSequence*jetMETDQMOfflineSourceMiniAOD*tracksDQMMiniAOD*topPhysicsminiAOD)
260 PostDQMOffline = cms.Sequence()
261 
262 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
263 run3_HB.toReplaceWith( PostDQMOfflineMiniAOD, PostDQMOfflineMiniAOD.copyAndExclude([
264  pfMetDQMAnalyzerMiniAOD, pfPuppiMetDQMAnalyzerMiniAOD # No hcalnoise (yet)
265 ]))
266 
267 from PhysicsTools.NanoAOD.nanoDQM_cff import nanoDQM
268 DQMOfflineNanoAOD = cms.Sequence(nanoDQM)
269 #PostDQMOfflineNanoAOD = cms.Sequence(nanoDQM)
270 from PhysicsTools.NanoAOD.nanogenDQM_cff import nanogenDQM
271 DQMOfflineNanoGen = cms.Sequence(nanogenDQM)