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