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