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
8 hltFiltersDQM = hltFiltersDQMonitor.clone(
9  folderName = 'HLT/Filters',
10  efficPlotNamePrefix = 'effic_',
11  triggerResults = 'TriggerResults::HLT',
12  triggerSummaryAOD = 'hltTriggerSummaryAOD::HLT',
13  triggerSummaryRAW = '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 # ParticleNet jet flavor tagging monitoring
39 
40 # vertexing
42 
43 # tracking
45 from DQMOffline.Trigger.TrackingMonitoringPA_cff import*
47 
48 
49 # hcal
51 
52 # strip
54 
55 # pixel
57 
58 # B2G
60 
61 # BPH
63 
64 # EXO
66 
67 # FSQ
69 
70 # HI
72 
73 # HIG
75 # photon jet
77 #Check if perLSsaving is enabled to mask MEs vs LS
78 from Configuration.ProcessModifiers.dqmPerLSsaving_cff import dqmPerLSsaving
79 dqmPerLSsaving.toModify(higPhotonJetHLTOfflineSource, perLSsaving=True)
80 # SMP
82 
83 # SUS
85 
86 # TOP
88 
89 # Inclusive VBF
91 
92 
94 
95 
97 
98 
100 
102 dqmEnvHLT = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
103  subSystemFolder = 'HLT'
104 )
105 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
106 dqmInfoHLTMon = DQMEDAnalyzer('DQMEventInfo',
107  subSystemFolder = cms.untracked.string('HLT')
108 )
109 
113 offlineHLTSourceOnMiniAOD = cms.Sequence(
114 )
115 
116 
118 offlineHLTSourceOnAOD = cms.Sequence(
119  dqmEnvHLT
120  * hltFiltersDQM
121  * lumiMonitorHLTsequence
122  * muonFullOfflineDQM
123  * HLTTauDQMOffline
124  * hltInclusiveVBFSource
125  * 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
126 # eventshapeDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIQ2Top005_Centrality1030_v, HLT_HIQ2Bottom005_Centrality1030_v, etc)
127 # HeavyIonUCCDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIUCC100_v and HLT_HIUCC020_v)
128 # hotlineDQMSequence * ## ORPHAN !!!!
129  * egammaMonitorHLT
130  * exoticaMonitorHLT
131  * susyMonitorHLT
132  * b2gMonitorHLT
133  * higgsMonitorHLT
134  * smpMonitorHLT
135  * topMonitorHLT
136  * btagMonitorHLT
137  * bphMonitorHLT
138  * hltObjectsMonitor # as online DQM, requested/suggested by TSG coordinators
139  * jetmetMonitorHLT
140 )
141 
142 
143 offlineHLTSourceWithRECO = cms.Sequence(
144  hltFiltersDQM
145  * egHLTOffDQMSource
146  * egHLTOffDQMSource_HEP17
147  * jetMETHLTOfflineAnalyzer
148  * b2gHLTDQMSourceWithRECO
149 )
150 
155 offlineHLTSourceOnAODextra = cms.Sequence(
156 
157  btvHLTDQMSourceExtra
158  * egmHLTDQMSourceExtra # empty in 10_2_0
159  * jmeHLTDQMSourceExtra
160  * muoHLTDQMSourceExtra # empty in 10_2_0
161  * tauHLTDQMSourceExtra # empty in 10_2_0
162  * trkHLTDQMSourceExtra # empty in 10_2_0
163 
164  * b2gHLTDQMSourceExtra
165  * bphHLTDQMSourceExtra # empty in 10_2_0
166  * exoHLTDQMSourceExtra
167  * higHLTDQMSourceExtra
168  * smpHLTDQMSourceExtra # empty in 10_2_0
169  * susHLTDQMSourceExtra
170  * topHLTDQMSourceExtra
171  * fsqHLTDQMSourceExtra # empty in 10_2_0
172 # * hinHLTDQMSourceExtra
173 )
174 
179 
180 
181 offlineHLTSource4ExpressPD = cms.Sequence(
182 )
183 
184 
187 offlineHLTSource4HLTMonitorPD = cms.Sequence(
188  dqmInfoHLTMon *
189  lumiMonitorHLTsequence * # lumi
190  sistripMonitorHLTsequence * # strip
191  sipixelMonitorHLTsequence * # pixel
192  BTVHLTOfflineSource * # BTV
193  bTagHLTTrackMonitoringSequence * # BTV relative track efficeicies
194  trackingMonitorHLT * # tracking
195  trackingMonitorHLTDisplacedJet* # EXO : DisplacedJet Tracking
196  egmTrackingMonitorHLT * # EGM tracking
197  hltToOfflineTrackValidatorSequence * # Relative Online to Offline performace
198  vertexingMonitorHLT * # vertexing
199  particleNetMonitoringHLT # HIG: monitoring of HLT PNET taggers (incl. comparisons to Offline PNET)
200 )
201 
202 # sequences run @tier0 on HLTMonitor PD
203 OfflineHLTMonitoring = cms.Sequence(
204  offlineHLTSource4HLTMonitorPD
205 )
206 
207 # sequences run @tier0 on HLTMonitor PD w/ HI (PbPb, XeXe), pPb, ppRef
208 OfflineHLTMonitoringPA = cms.Sequence(
209  dqmInfoHLTMon *
210  trackingMonitorHLT *
211  PAtrackingMonitorHLT
212 )
213 
214 
216 offlineHLTSource4physicsPD = cms.Sequence(
217  offlineHLTSourceOnAOD
218  * offlineHLTSourceWithRECO
219 )
220 
221 
223 offlineHLTSource4specialPhysicsPD = cms.Sequence(
224  offlineHLTSourceOnAOD
225  * offlineHLTSourceWithRECO
226  * fsqHLTOfflineSourceSequence
227  * HILowLumiHLTOfflineSourceSequence
228 )
229 
230 
231 offlineHLTSource4relval = cms.Sequence(
232  offlineHLTSourceOnAOD
233  * offlineHLTSourceWithRECO
234  * offlineHLTSource4HLTMonitorPD
235  * fsqHLTOfflineSourceSequence
236  * HILowLumiHLTOfflineSourceSequence
237  * offlineHLTSourceOnAODextra
238 )
239 
244 offlineValidationHLTSourceOnAOD = cms.Sequence(
245  offlineHLTSourceOnAOD
246  + offlineHLTSourceOnAODextra
247 )
248 
249 
250 
251 
252 offlineHLTSource = cms.Sequence(
253  offlineHLTSource4physicsPD
254 )
255 
256 
257 triggerOfflineDQMSource = cms.Sequence(
258  offlineHLTSource
259 )
260 
261 # this sequence can be used by AlCa for the validation of conditions,
262 # because it is like offlineHLTSource (run @tier0) + offlineHLTSourceOnAODextra (meant to validate new features)
263 offlineValidationHLTSource = cms.Sequence(
264  offlineHLTSource
265  + offlineHLTSourceOnAODextra
266 )