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
163 
164 DQMOfflinePixelTracking = cms.Sequence( pixelTracksMonitoring *
165  pixelPVMonitor )
166 
167 DQMOuterTracker = cms.Sequence( DQMOfflineDCS *
168  OuterTrackerSource *
169  DQMMessageLogger *
170  DQMOfflinePhysics *
171  DQMOfflineVertex
172  )
173 
174 DQMOfflineTrackerPhase2 = cms.Sequence( trackerphase2DQMSource )
175 
176 DQMOfflineTAU = cms.Sequence( produceDenomsData *
177  pfTauRunDQMValidation )
178 
179 DQMOfflineTrackerStripCommon = cms.Sequence( SiStripDQMTier0Common )
180 
181 DQMOfflineTrackerPixel = cms.Sequence( siPixelOfflineDQM_source )
182 
183 DQMOfflineCommon = cms.Sequence( DQMOfflineDCS *
184  DQMMessageLogger *
185  DQMOfflineTrackerStrip *
186  DQMOfflineTrackerPixel *
187  DQMOfflineTracking *
188  DQMOfflineTrigger *
189  DQMOfflineBeam *
190  DQMOfflineCASTOR *
191  DQMOfflinePhysics *
192  DQMOfflineTAU
193  )
194 
195 DQMOfflineCommonFakeHLT = cms.Sequence( DQMOfflineCommon )
196 DQMOfflineCommonFakeHLT.remove( DQMOfflineTrigger )
197 
198 #MinBias/ZeroBias
199 DQMOfflineTrackerStripMinBias = cms.Sequence( SiStripDQMTier0MinBias )
200 
201 DQMOfflineTrackingMinBias = cms.Sequence( TrackingDQMSourceTier0MinBias *
202  DQMOfflineVertex *
203  materialDumperAnalyzer )
204 
205 
206 DQMOfflineCommonSiStripZeroBias = cms.Sequence( DQMOfflineDCS *
207  DQMMessageLogger *
208  DQMOfflineTrackerStripMinBias *
209  DQMOfflineTrackerPixel *
210  DQMOfflineL1T *
211  DQMOfflineTrigger *
212  DQMOfflineBeam *
213  DQMOfflineCASTOR *
214  DQMOfflinePhysics *
215  DQMOfflineTrackingMinBias
216  )
217 
218 DQMOfflineCommonSiStripZeroBiasFakeHLT = cms.Sequence( DQMOfflineCommonSiStripZeroBias )
219 DQMOfflineCommonSiStripZeroBiasFakeHLT.remove( DQMOfflineTrigger )
220 
221 #Other definitons
222 from DQMOffline.Lumi.ZCounting_cff import *
223 
224 DQMOfflineLumi = cms.Sequence ( zcounting )
225 
226 DQMOfflineMuon = cms.Sequence( dtSources *
227  rpcTier0Source *
228  cscSources *
229  muonMonitors
230  )
231 
232 _run3_GEM_DQMOfflineMuon = DQMOfflineMuon.copy()
233 _run3_GEM_DQMOfflineMuon += gemSources
234 run3_GEM.toReplaceWith(DQMOfflineMuon, _run3_GEM_DQMOfflineMuon)
235 
236 #Taus not created in pp conditions for HI
237 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
238 _DQMOfflineTAU = cms.Sequence()
239 pp_on_AA.toReplaceWith(DQMOfflineTAU, _DQMOfflineTAU)
240 
241 
242 # miniAOD DQM validation
243 from Validation.RecoParticleFlow.miniAODDQM_cff import * # On MiniAOD vs RECO
244 from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import * # MiniAOD PF variables
246 from DQMOffline.Muon.miniAOD_cff import *
247 from DQM.Physics.DQMTopMiniAOD_cff import *
248 
249 DQMOfflineMiniAOD = cms.Sequence(jetMETDQMOfflineRedoProductsMiniAOD*muonMonitors_miniAOD*MuonMiniAOD*DQMOfflinePF)
250 
251 #Post sequences are automatically placed in the EndPath by ConfigBuilder if PAT is run.
252 #miniAOD DQM sequences need to access the filter results.
253 
254 PostDQMOfflineMiniAOD = cms.Sequence(miniAODDQMSequence*jetMETDQMOfflineSourceMiniAOD*tracksDQMMiniAOD*topPhysicsminiAOD)
255 PostDQMOffline = cms.Sequence()
256 
257 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
258 run3_HB.toReplaceWith( PostDQMOfflineMiniAOD, PostDQMOfflineMiniAOD.copyAndExclude([
259  pfMetDQMAnalyzerMiniAOD, pfPuppiMetDQMAnalyzerMiniAOD # No hcalnoise (yet)
260 ]))
261 
262 from PhysicsTools.NanoAOD.nanoDQM_cff import nanoDQM
263 DQMOfflineNanoAOD = cms.Sequence(nanoDQM)
264 #PostDQMOfflineNanoAOD = cms.Sequence(nanoDQM)
265 from PhysicsTools.NanoAOD.nanogenDQM_cff import nanogenDQM
266 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
PixelVertexMonitor_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