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 
53 # hcal
55 
56 # strip
58 
59 # pixel
61 
62 # B2G
64 
65 # BPH
67 
68 # EXO
70 
71 # FSQ
73 
74 # HI
76 
77 # HIG
79 # photon jet
81 #Check if perLSsaving is enabled to mask MEs vs LS
82 from Configuration.ProcessModifiers.dqmPerLSsaving_cff import dqmPerLSsaving
83 dqmPerLSsaving.toModify(higPhotonJetHLTOfflineSource, perLSsaving=True)
84 # SMP
86 
87 # SUS
89 
90 # TOP
92 
93 # Inclusive VBF
95 
96 
98 
99 
101 
102 
104 
106 dqmEnvHLT = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
107  subSystemFolder = 'HLT'
108 )
109 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
110 dqmInfoHLTMon = DQMEDAnalyzer('DQMEventInfo',
111  subSystemFolder = cms.untracked.string('HLT')
112 )
113 
117 offlineHLTSourceOnMiniAOD = cms.Sequence(
118 )
119 
120 
122 offlineHLTSourceOnAOD = cms.Sequence(
123  dqmEnvHLT
124  * dqmHLTFiltersDQMonitor
125  * lumiMonitorHLTsequence
126  * muonFullOfflineDQM
127  * HLTTauDQMOffline
128  * hltInclusiveVBFSource
129  * 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
130 # eventshapeDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIQ2Top005_Centrality1030_v, HLT_HIQ2Bottom005_Centrality1030_v, etc)
131 # HeavyIonUCCDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIUCC100_v and HLT_HIUCC020_v)
132 # hotlineDQMSequence * ## ORPHAN !!!!
133  * egammaMonitorHLT
134  * exoticaMonitorHLT
135  * susyMonitorHLT
136  * b2gMonitorHLT
137  * higgsMonitorHLT
138  * smpMonitorHLT
139  * topMonitorHLT
140  * btagMonitorHLT
141  * bphMonitorHLT
142  * hltObjectsMonitor # as online DQM, requested/suggested by TSG coordinators
143  * jetmetMonitorHLT
144 )
145 
146 
147 offlineHLTSourceWithRECO = cms.Sequence(
148  dqmHLTFiltersDQMonitor
149  * egHLTOffDQMSource
150  * egHLTOffDQMSource_HEP17
151  * jetMETHLTOfflineAnalyzer
152  * b2gHLTDQMSourceWithRECO
153 )
154 
159 offlineHLTSourceOnAODextra = cms.Sequence(
160 
161  btvHLTDQMSourceExtra
162  * egmHLTDQMSourceExtra # empty in 10_2_0
163  * jmeHLTDQMSourceExtra
164  * muoHLTDQMSourceExtra # empty in 10_2_0
165  * tauHLTDQMSourceExtra # empty in 10_2_0
166  * trkHLTDQMSourceExtra # empty in 10_2_0
167 
168  * b2gHLTDQMSourceExtra
169  * bphHLTDQMSourceExtra # empty in 10_2_0
170  * exoHLTDQMSourceExtra
171  * higHLTDQMSourceExtra
172  * smpHLTDQMSourceExtra # empty in 10_2_0
173  * susHLTDQMSourceExtra
174  * topHLTDQMSourceExtra
175  * fsqHLTDQMSourceExtra # empty in 10_2_0
176 # * hinHLTDQMSourceExtra
177 )
178 
183 
184 
185 offlineHLTSource4ExpressPD = cms.Sequence(
186 )
187 
188 
191 offlineHLTSource4HLTMonitorPD = cms.Sequence(
192  dqmInfoHLTMon *
193  lumiMonitorHLTsequence * # lumi
194  sistripMonitorHLTsequence * # strip
195  sipixelMonitorHLTsequence * # pixel
196  BTVHLTOfflineSource * # BTV
197  bTagHLTTrackMonitoringSequence * # BTV relative track efficiencies
198  trackingMonitorHLT * # tracking
199  BTagAndProbeHLT * # BTag and Probe
200  trackingMonitorHLTDisplacedJet* # EXO : DisplacedJet Tracking
201  egmTrackingMonitorHLT * # EGM tracking
202  hltToOfflineTrackValidatorSequence * # Relative Online to Offline performace
203  vertexingMonitorHLT * # vertexing
204  particleNetMonitoringHLT # HIG: monitoring of HLT PNET taggers (incl. comparisons to Offline PNET)
205 )
206 
207 # sequences run @tier0 on HLTMonitor PD
208 OfflineHLTMonitoring = cms.Sequence(
209  offlineHLTSource4HLTMonitorPD
210 )
211 
212 # sequences run @tier0 on HLTMonitor PD w/ HI (PbPb, XeXe), pPb, ppRef
213 OfflineHLTMonitoringPA = cms.Sequence(
214  dqmInfoHLTMon *
215  trackingMonitorHLT *
216  PAtrackingMonitorHLT
217 )
218 
219 
221 offlineHLTSource4physicsPD = cms.Sequence(
222  offlineHLTSourceOnAOD
223  * offlineHLTSourceWithRECO
224 )
225 
226 
228 offlineHLTSource4specialPhysicsPD = cms.Sequence(
229  offlineHLTSourceOnAOD
230  * offlineHLTSourceWithRECO
231  * fsqHLTOfflineSourceSequence
232  * HILowLumiHLTOfflineSourceSequence
233 )
234 
235 
236 offlineHLTSource4relval = cms.Sequence(
237  offlineHLTSourceOnAOD
238  * offlineHLTSourceWithRECO
239  * offlineHLTSource4HLTMonitorPD
240  * fsqHLTOfflineSourceSequence
241  * HILowLumiHLTOfflineSourceSequence
242  * offlineHLTSourceOnAODextra
243 )
244 
249 offlineValidationHLTSourceOnAOD = cms.Sequence(
250  offlineHLTSourceOnAOD
251  + offlineHLTSourceOnAODextra
252 )
253 
254 
255 
256 
257 offlineHLTSource = cms.Sequence(
258  offlineHLTSource4physicsPD
259 )
260 
261 
262 triggerOfflineDQMSource = cms.Sequence(
263  offlineHLTSource
264 )
265 
266 # this sequence can be used by AlCa for the validation of conditions,
267 # because it is like offlineHLTSource (run @tier0) + offlineHLTSourceOnAODextra (meant to validate new features)
268 offlineValidationHLTSource = cms.Sequence(
269  offlineHLTSource
270  + offlineHLTSourceOnAODextra
271 )