CMS 3D CMS Logo

DQMOffline_Trigger_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # online trigger objects monitoring
5 
6 # monitoring of efficiencies of HLT paths and filters
7 from DQMOffline.Trigger.dqmHLTFiltersDQMonitor_cfi import dqmHLTFiltersDQMonitor as _dqmHLTFiltersDQMonitor
8 dqmHLTFiltersDQMonitor = _dqmHLTFiltersDQMonitor.clone(
9  folderName = 'HLT/Filters',
10  efficPlotNamePrefix = 'effic_',
11  triggerResults = 'TriggerResults::HLT',
12  triggerEvent = 'hltTriggerSummaryAOD::HLT',
13  triggerEventWithRefs = 'hltTriggerSummaryRAW::HLT'
14 )
15 
16 # Lumi
18 
19 # Egamma
21 from DQMOffline.Trigger.EgammaMonitoring_cff import * # tag-n-probe (egammaMonitorHLT + egmHLTDQMSourceExtra)
22 
23 # Muon
25 
26 # Tau
28 
29 # JetMET
32 
33 # BTV
36 
37 #BTag and Probe monitoring
40 
41 # ParticleNet jet flavor tagging monitoring
43 
44 # vertexing
46 
47 # tracking
49 from DQMOffline.Trigger.TrackingMonitoringPA_cff import*
51 
52 # hcal
54 
55 # strip
57 
58 # pixel
60 
61 # phase2 tracker
63 
64 # B2G
66 
67 # BPH
69 
70 # EXO
72 
73 # FSQ
75 
76 # HI
78 
79 # HIG
81 # photon jet
83 #Check if perLSsaving is enabled to mask MEs vs LS
84 from Configuration.ProcessModifiers.dqmPerLSsaving_cff import dqmPerLSsaving
85 dqmPerLSsaving.toModify(higPhotonJetHLTOfflineSource, perLSsaving=True)
86 # SMP
88 
89 # SUS
91 
92 # TOP
94 
95 # Inclusive VBF
97 
98 
100 
101 
103 
104 
106 
108 dqmEnvHLT = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
109  subSystemFolder = 'HLT',
110  showHLTGlobalTag = True)
111 
112 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
113 dqmInfoHLTMon = DQMEDAnalyzer('DQMEventInfo',
114  subSystemFolder = cms.untracked.string('HLT'),
115  showHLTGlobalTag = cms.untracked.bool(True))
116 
120 offlineHLTSourceOnMiniAOD = cms.Sequence(
121 )
122 
123 
125 offlineHLTSourceOnAOD = cms.Sequence(
126  dqmEnvHLT
127  * dqmHLTFiltersDQMonitor
128  * lumiMonitorHLTsequence
129  * muonFullOfflineDQM
130  * HLTTauDQMOffline
131  * hltInclusiveVBFSource
132  * higPhotonJetHLTOfflineSource # plots are filled, but I'm not sure who is really looking at them and what you can get from them ... good candidates to be moved in offlineHLTSourceOnAODextra
133 # eventshapeDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIQ2Top005_Centrality1030_v, HLT_HIQ2Bottom005_Centrality1030_v, etc)
134 # HeavyIonUCCDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIUCC100_v and HLT_HIUCC020_v)
135 # hotlineDQMSequence * ## ORPHAN !!!!
136  * egammaMonitorHLT
137  * exoticaMonitorHLT
138  * susyMonitorHLT
139  * b2gMonitorHLT
140  * higgsMonitorHLT
141  * smpMonitorHLT
142  * topMonitorHLT
143  * btagMonitorHLT
144  * bphMonitorHLT
145  * hltObjectsMonitor # as online DQM, requested/suggested by TSG coordinators
146  * jetmetMonitorHLT
147 )
148 
149 
150 offlineHLTSourceWithRECO = cms.Sequence(
151  dqmHLTFiltersDQMonitor
152  * egHLTOffDQMSource
153  * egHLTOffDQMSource_HEP17
154  * jetMETHLTOfflineAnalyzer
155  * b2gHLTDQMSourceWithRECO
156 )
157 
162 offlineHLTSourceOnAODextra = cms.Sequence(
163 
164  btvHLTDQMSourceExtra
165  * egmHLTDQMSourceExtra # empty in 10_2_0
166  * jmeHLTDQMSourceExtra
167  * muoHLTDQMSourceExtra # empty in 10_2_0
168  * tauHLTDQMSourceExtra # empty in 10_2_0
169  * trkHLTDQMSourceExtra # empty in 10_2_0
170 
171  * b2gHLTDQMSourceExtra
172  * bphHLTDQMSourceExtra # empty in 10_2_0
173  * exoHLTDQMSourceExtra
174  * higHLTDQMSourceExtra
175  * smpHLTDQMSourceExtra # empty in 10_2_0
176  * susHLTDQMSourceExtra
177  * topHLTDQMSourceExtra
178  * fsqHLTDQMSourceExtra # empty in 10_2_0
179 # * hinHLTDQMSourceExtra
180 )
181 
186 
187 
188 offlineHLTSource4ExpressPD = cms.Sequence(
189 )
190 
191 
194 offlineHLTSource4HLTMonitorPD = cms.Sequence(
195  dqmInfoHLTMon *
196  lumiMonitorHLTsequence * # lumi
197  sistripMonitorHLTsequence * # strip
198  sipixelMonitorHLTsequence * # pixel
199  BTVHLTOfflineSource * # BTV
200  bTagHLTTrackMonitoringSequence * # BTV relative track efficiencies
201  trackingMonitorHLT * # tracking
202  BTagAndProbeHLT * # BTag and Probe
203  trackingMonitorHLTDisplacedJet* # EXO : DisplacedJet Tracking
204  egmTrackingMonitorHLT * # EGM tracking
205  hltToOfflineTrackValidatorSequence * # Relative Online to Offline performace
206  vertexingMonitorHLT * # vertexing
207  particleNetMonitoringHLT # HIG: monitoring of HLT PNET taggers (incl. comparisons to Offline PNET)
208 )
209 
210 _offlineHLTSource4HLTMonitorPDPh2 = cms.Sequence(
211  dqmInfoHLTMon *
212  HLTtrackerphase2DQMSource * # phase-2 IT and OT clusters
213  trackingMonitorHLT * # tracking
214  egmTrackingMonitorHLT * # EGM tracking
215  hltToOfflineTrackValidatorSequence * # Relative Online to Offline performace
216  vertexingMonitorHLT # vertexing
217 )
218 
219 # remove Strip HLT monitoring in the phase-2 sequence
220 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
221 phase2_tracker.toReplaceWith(offlineHLTSource4HLTMonitorPD,_offlineHLTSource4HLTMonitorPDPh2)
222 
223 # sequences run @tier0 on HLTMonitor PD
224 OfflineHLTMonitoring = cms.Sequence(
225  offlineHLTSource4HLTMonitorPD
226 )
227 
228 # sequences run @tier0 on HLTMonitor PD w/ HI (PbPb, XeXe), pPb, ppRef
229 OfflineHLTMonitoringPA = cms.Sequence(
230  dqmInfoHLTMon *
231  trackingMonitorHLT *
232  PAtrackingMonitorHLT
233 )
234 
235 
237 offlineHLTSource4physicsPD = cms.Sequence(
238  offlineHLTSourceOnAOD
239  * offlineHLTSourceWithRECO
240 )
241 
242 
244 offlineHLTSource4specialPhysicsPD = cms.Sequence(
245  offlineHLTSourceOnAOD
246  * offlineHLTSourceWithRECO
247  * fsqHLTOfflineSourceSequence
248  * HILowLumiHLTOfflineSourceSequence
249 )
250 
251 
252 offlineHLTSource4relval = cms.Sequence(
253  offlineHLTSourceOnAOD
254  * offlineHLTSourceWithRECO
255  * offlineHLTSource4HLTMonitorPD
256  * fsqHLTOfflineSourceSequence
257  * HILowLumiHLTOfflineSourceSequence
258  * offlineHLTSourceOnAODextra
259 )
260 
265 offlineValidationHLTSourceOnAOD = cms.Sequence(
266  offlineHLTSourceOnAOD
267  + offlineHLTSourceOnAODextra
268 )
269 
270 
271 
272 
273 offlineHLTSource = cms.Sequence(
274  offlineHLTSource4physicsPD
275 )
276 
277 
278 triggerOfflineDQMSource = cms.Sequence(
279  offlineHLTSource
280 )
281 
282 # this sequence can be used by AlCa for the validation of conditions,
283 # because it is like offlineHLTSource (run @tier0) + offlineHLTSourceOnAODextra (meant to validate new features)
284 offlineValidationHLTSource = cms.Sequence(
285  offlineHLTSource
286  + offlineHLTSourceOnAODextra
287 )