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 )
111 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
112 dqmInfoHLTMon = DQMEDAnalyzer('DQMEventInfo',
113  subSystemFolder = cms.untracked.string('HLT')
114 )
115 
119 offlineHLTSourceOnMiniAOD = cms.Sequence(
120 )
121 
122 
124 offlineHLTSourceOnAOD = cms.Sequence(
125  dqmEnvHLT
126  * dqmHLTFiltersDQMonitor
127  * lumiMonitorHLTsequence
128  * muonFullOfflineDQM
129  * HLTTauDQMOffline
130  * hltInclusiveVBFSource
131  * 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
132 # eventshapeDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIQ2Top005_Centrality1030_v, HLT_HIQ2Bottom005_Centrality1030_v, etc)
133 # HeavyIonUCCDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIUCC100_v and HLT_HIUCC020_v)
134 # hotlineDQMSequence * ## ORPHAN !!!!
135  * egammaMonitorHLT
136  * exoticaMonitorHLT
137  * susyMonitorHLT
138  * b2gMonitorHLT
139  * higgsMonitorHLT
140  * smpMonitorHLT
141  * topMonitorHLT
142  * btagMonitorHLT
143  * bphMonitorHLT
144  * hltObjectsMonitor # as online DQM, requested/suggested by TSG coordinators
145  * jetmetMonitorHLT
146 )
147 
148 
149 offlineHLTSourceWithRECO = cms.Sequence(
150  dqmHLTFiltersDQMonitor
151  * egHLTOffDQMSource
152  * egHLTOffDQMSource_HEP17
153  * jetMETHLTOfflineAnalyzer
154  * b2gHLTDQMSourceWithRECO
155 )
156 
161 offlineHLTSourceOnAODextra = cms.Sequence(
162 
163  btvHLTDQMSourceExtra
164  * egmHLTDQMSourceExtra # empty in 10_2_0
165  * jmeHLTDQMSourceExtra
166  * muoHLTDQMSourceExtra # empty in 10_2_0
167  * tauHLTDQMSourceExtra # empty in 10_2_0
168  * trkHLTDQMSourceExtra # empty in 10_2_0
169 
170  * b2gHLTDQMSourceExtra
171  * bphHLTDQMSourceExtra # empty in 10_2_0
172  * exoHLTDQMSourceExtra
173  * higHLTDQMSourceExtra
174  * smpHLTDQMSourceExtra # empty in 10_2_0
175  * susHLTDQMSourceExtra
176  * topHLTDQMSourceExtra
177  * fsqHLTDQMSourceExtra # empty in 10_2_0
178 # * hinHLTDQMSourceExtra
179 )
180 
185 
186 
187 offlineHLTSource4ExpressPD = cms.Sequence(
188 )
189 
190 
193 offlineHLTSource4HLTMonitorPD = cms.Sequence(
194  dqmInfoHLTMon *
195  lumiMonitorHLTsequence * # lumi
196  sistripMonitorHLTsequence * # strip
197  sipixelMonitorHLTsequence * # pixel
198  BTVHLTOfflineSource * # BTV
199  bTagHLTTrackMonitoringSequence * # BTV relative track efficiencies
200  trackingMonitorHLT * # tracking
201  BTagAndProbeHLT * # BTag and Probe
202  trackingMonitorHLTDisplacedJet* # EXO : DisplacedJet Tracking
203  egmTrackingMonitorHLT * # EGM tracking
204  hltToOfflineTrackValidatorSequence * # Relative Online to Offline performace
205  vertexingMonitorHLT * # vertexing
206  particleNetMonitoringHLT # HIG: monitoring of HLT PNET taggers (incl. comparisons to Offline PNET)
207 )
208 
209 _offlineHLTSource4HLTMonitorPDPh2 = cms.Sequence(
210  dqmInfoHLTMon *
211  HLTtrackerphase2DQMSource * # phase-2 IT and OT clusters
212  trackingMonitorHLT * # tracking
213  hltToOfflineTrackValidatorSequence * # Relative Online to Offline performace
214  vertexingMonitorHLT # vertexing
215 )
216 
217 # remove Strip HLT monitoring in the phase-2 sequence
218 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
219 phase2_tracker.toReplaceWith(offlineHLTSource4HLTMonitorPD,_offlineHLTSource4HLTMonitorPDPh2)
220 
221 # sequences run @tier0 on HLTMonitor PD
222 OfflineHLTMonitoring = cms.Sequence(
223  offlineHLTSource4HLTMonitorPD
224 )
225 
226 # sequences run @tier0 on HLTMonitor PD w/ HI (PbPb, XeXe), pPb, ppRef
227 OfflineHLTMonitoringPA = cms.Sequence(
228  dqmInfoHLTMon *
229  trackingMonitorHLT *
230  PAtrackingMonitorHLT
231 )
232 
233 
235 offlineHLTSource4physicsPD = cms.Sequence(
236  offlineHLTSourceOnAOD
237  * offlineHLTSourceWithRECO
238 )
239 
240 
242 offlineHLTSource4specialPhysicsPD = cms.Sequence(
243  offlineHLTSourceOnAOD
244  * offlineHLTSourceWithRECO
245  * fsqHLTOfflineSourceSequence
246  * HILowLumiHLTOfflineSourceSequence
247 )
248 
249 
250 offlineHLTSource4relval = cms.Sequence(
251  offlineHLTSourceOnAOD
252  * offlineHLTSourceWithRECO
253  * offlineHLTSource4HLTMonitorPD
254  * fsqHLTOfflineSourceSequence
255  * HILowLumiHLTOfflineSourceSequence
256  * offlineHLTSourceOnAODextra
257 )
258 
263 offlineValidationHLTSourceOnAOD = cms.Sequence(
264  offlineHLTSourceOnAOD
265  + offlineHLTSourceOnAODextra
266 )
267 
268 
269 
270 
271 offlineHLTSource = cms.Sequence(
272  offlineHLTSource4physicsPD
273 )
274 
275 
276 triggerOfflineDQMSource = cms.Sequence(
277  offlineHLTSource
278 )
279 
280 # this sequence can be used by AlCa for the validation of conditions,
281 # because it is like offlineHLTSource (run @tier0) + offlineHLTSourceOnAODextra (meant to validate new features)
282 offlineValidationHLTSource = cms.Sequence(
283  offlineHLTSource
284  + offlineHLTSourceOnAODextra
285 )