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 # lumi
8 # Egamma
10 # Egamma
12 from DQMOffline.Trigger.EgammaMonitoring_cff import * # tag-n-probe (egammaMonitorHLT + egmHLTDQMSourceExtra)
13 # Muon
15 # Top
16 #from DQMOffline.Trigger.QuadJetAna_cfi import *
17 # Tau
19 # JetMET
21 
22 # BTV
24 
27 
28 # TnP
29 #from DQMOffline.Trigger.TnPEfficiency_cff import *
30 # Inclusive VBF
32 
33 # vertexing
35 
36 # tracking
38 from DQMOffline.Trigger.TrackingMonitoringPA_cff import*
39 
40 # hcal
42 
43 # strip
45 
46 # pixel
48 
49 # photon jet
51 
52 ##hotline
53 #from DQMOffline.Trigger.hotlineDQM_cfi import * # ORPHAN
54 
55 ##eventshape
56 #from DQMOffline.Trigger.eventshapeDQM_cfi import * # OBSOLETE
57 
58 ##UCC
59 #from DQMOffline.Trigger.heavyionUCCDQM_cfi import * # OBSOLETE
60 
62 dqmEnvHLT= DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone()
63 dqmEnvHLT.subSystemFolder = 'HLT'
64 
65 # EXO
67 # SUS
69 # B2G
71 # HIG
73 # SMP
75 # TOP
77 # BTV
79 # BPH
81 # remove quadJetAna
84 
85 # offline DQM for running also on AOD (w/o the need of the RECO step on-the-fly)
86 ## ADD here sequences/modules which rely ONLY on collections stored in the AOD format
87 
88 egHLTOffDQMSource_HEP17 = egHLTOffDQMSource.clone()
89 egHLTOffDQMSource_HEP17.subDQMDirName=cms.string('HEP17')
90 egHLTOffDQMSource_HEP17.doHEP =cms.bool(True)
91 
92 offlineHLTSourceOnAOD = cms.Sequence(
93  hltResults *
94  lumiMonitorHLTsequence *
95  muonFullOfflineDQM *
96  HLTTauDQMOffline *
97  hltInclusiveVBFSource *
98  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
99  dqmEnvHLT *
100  topHLTriggerOfflineDQM * # 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
101 # eventshapeDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIQ2Top005_Centrality1030_v, HLT_HIQ2Bottom005_Centrality1030_v, etc)
102 # HeavyIonUCCDQMSequence * ## OBSOLETE !!!! (looks for HLT_HIUCC100_v and HLT_HIUCC020_v)
103 # hotlineDQMSequence * ## ORPHAN !!!!
104  egammaMonitorHLT *
105  exoticaMonitorHLT *
106  susyMonitorHLT *
107  b2gMonitorHLT *
108  higgsMonitorHLT *
109  smpMonitorHLT *
110  topMonitorHLT *
111  btagMonitorHLT *
112  bphMonitorHLT *
113  hltObjectsMonitor * # as online DQM, requested/suggested by TSG coordinators
114  jetmetMonitorHLT
115 )
116 
117 offlineHLTSourceWithRECO = cms.Sequence(
118  jetMETHLTOfflineAnalyzer
119 )
120 
121 # offline DQM for running in the standard RECO,DQM (in PromptReco, ReReco, relval, etc)
122 ## THIS IS THE SEQUENCE TO BE RUN AT TIER0
123 ## ADD here only sequences/modules which rely on transient collections produced by the RECO step
124 ## and not stored in the AOD format
125 offlineHLTSource = cms.Sequence(
126  offlineHLTSourceWithRECO *
127  offlineHLTSourceOnAOD
128 )
129 
130 ## sequence for HI, FSQ and LowLumi
131 offlineHLTSourceOnAOD4LowLumi = cms.Sequence(
132  offlineHLTSourceOnAOD *
133  fsqHLTOfflineSourceSequence *
134  HILowLumiHLTOfflineSourceSequence
135 )
136 
137 offlineHLTSource4LowLumi = cms.Sequence(
138  offlineHLTSourceWithRECO *
139  offlineHLTSourceOnAOD4LowLumi
140 )
141 
142 # offline DQM to be run on AOD (w/o the need of the RECO step on-the-fly) only in the VALIDATION of the HLT menu based on data
143 # it is needed in order to have the DQM code in the release, w/o the issue of crashing the tier0
144 # asa the new modules in the sequence offlineHLTSourceOnAODextra are tested,
145 # these have to be migrated in the main offlineHLTSourceOnAOD sequence
146 offlineHLTSourceOnAODextra = cms.Sequence(
147  egHLTOffDQMSource * ## NEEDED in VALIDATION, not really in MONITORING
148  egHLTOffDQMSource_HEP17 * ## NEEDED in VALIDATION, not really in MONITORING
149 ### POG
150  btvHLTDQMSourceExtra
151  * egmHLTDQMSourceExtra
152  * jmeHLTDQMSourceExtra
153  * muoHLTDQMSourceExtra
154  * tauHLTDQMSourceExtra
155  * trkHLTDQMSourceExtra
156 ### PAG
157  * b2gHLTDQMSourceExtra
158  * bphHLTDQMSourceExtra
159  * exoHLTDQMSourceExtra
160  * higHLTDQMSourceExtra
161  * smpHLTDQMSourceExtra
162  * susHLTDQMSourceExtra
163  * topHLTDQMSourceExtra
164  * fsqHLTDQMSourceExtra
165 # * hinHLTDQMSourceExtra
166 )
167 
168 # offline DQM to be run on AOD (w/o the need of the RECO step on-the-fly) in the VALIDATION of the HLT menu based on data
169 # it is needed in order to have the DQM code in the release, w/o the issue of crashing the tier0
170 # asa the new modules in the sequence offlineHLTSourceOnAODextra are tested
171 # these have to be migrated in the main offlineHLTSourceOnAOD sequence
172 offlineValidationHLTSourceOnAOD = cms.Sequence(
173  offlineHLTSourceOnAOD
174  + offlineHLTSourceOnAODextra
175 )
176 
177 # offline DQM for the HLTMonitoring stream
178 ## ADD here only sequences/modules which rely on HLT collections which are stored in the HLTMonitoring stream
179 ## and are not available in the standard RAW format
180 dqmInfoHLTMon = cms.EDAnalyzer("DQMEventInfo",
181  subSystemFolder = cms.untracked.string('HLT')
182  )
183 
184 # sequences run @tier0 on HLTMonitor PD
185 OfflineHLTMonitoring = cms.Sequence(
186  dqmInfoHLTMon *
187  lumiMonitorHLTsequence * # lumi
188  sistripMonitorHLTsequence * # strip
189  sipixelMonitorHLTsequence * # pixel
190  BTVHLTOfflineSource *
191  trackingMonitorHLT * # tracking
192  trackingMonitorHLTDisplacedJet* #DisplacedJet Tracking
193  egmTrackingMonitorHLT * # egm tracking
194  vertexingMonitorHLT # vertexing
195  )
196 
197 # sequences run @tier0 on HLTMonitor PD w/ HI (PbPb, XeXe), pPb, ppRef
198 OfflineHLTMonitoringPA = cms.Sequence(
199  dqmInfoHLTMon *
200  trackingMonitorHLT *
201  PAtrackingMonitorHLT
202  )
203 
204 ### sequence run @tier0 (called by main DQM sequences in DQMOffline/Configuration/python/DQMOffline_cff.py) on all PDs, but HLTMonitor one
205 triggerOfflineDQMSource = cms.Sequence(
206  offlineHLTSource
207 )
208 
209 triggerOfflineDQMSource4LowLumi = cms.Sequence(
210  offlineHLTSource4LowLumi
211 )
212 
213 # this sequence can be used by AlCa for the validation of conditions,
214 # because it is like offlineHLTSource (run @tier0) + offlineHLTSourceOnAODextra (meant to validate new features)
215 offlineValidationHLTSource = cms.Sequence(
216  offlineHLTSource
217  + offlineHLTSourceOnAODextra
218 )