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