CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TopMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.TopMonitor_cfi import hltTOPmonitoring
4 
5 from Configuration.Eras.Modifier_run2_HLTconditions_2018_cff import run2_HLTconditions_2018
6 from Configuration.Eras.Modifier_run2_HLTconditions_2017_cff import run2_HLTconditions_2017
7 from Configuration.Eras.Modifier_run2_HLTconditions_2016_cff import run2_HLTconditions_2016
8 
9 
12 
13 topEleJet_jet = hltTOPmonitoring.clone(
14  FolderName = 'HLT/TOP/EleJet/JetMonitor',
15  enable2DPlots = False,
16  nmuons = 0,
17  nelectrons = 1,
18  njets = 1,
19  eleSelection = 'pt>50 & abs(eta)<2.1',
20  jetSelection = 'pt>30 & abs(eta)<2.4',
21  histoPSet = dict(eleEtaBinning = [-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1],
22  eleEtaBinning2D = [-2.1,-1.5,-0.6,0,0.6,1.5,2.1],
23  elePtBinning = [0,50,60,80,120,200,400],
24  elePtBinning2D = [0,50,70,120,200,400],
25  jetPtBinning = [0,30,35,37.5,40,50,60,80,120,200,400],
26  jetPtBinning2D = [0,30,35,40,50,60,80,100,200,400]),
27  numGenericTriggerEventPSet= dict(hltPaths = ['HLT_Ele30_eta2p1_WPTight_Gsf_CentralPFJet35_EleCleaned_v*']),
28  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele35_WPTight_Gsf_v*',
29  'HLT_Ele38_WPTight_Gsf_v*',
30  'HLT_Ele40_WPTight_Gsf_v*',])
31 )
32 
33 
34 topEleJet_ele = hltTOPmonitoring.clone(
35  FolderName = 'HLT/TOP/EleJet/ElectronMonitor',
36  enable2DPlots = False,
37  nmuons = 0,
38  nelectrons = 1,
39  njets = 1,
40  eleSelection = 'pt>25 & abs(eta)<2.1',
41  jetSelection = 'pt>50 & abs(eta)<2.4',
42  histoPSet = dict(eleEtaBinning = [-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1],
43  eleEtaBinning2D = [-2.1,-1.5,-0.6,0,0.6,1.5,2.1],
44  elePtBinning = [0,25,30,32.5,35,40,45,50,60,80,120,200,400],
45  elePtBinning2D = [0,25,30,40,50,60,80,100,200,400],
46  jetPtBinning = [0,50,60,80,120,200,400],
47  jetPtBinning2D = [0,50,60,80,100,200,400]),
48  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele30_eta2p1_WPTight_Gsf_CentralPFJet35_EleCleaned_v*']),
49  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFJet60_v*',
50  'HLT_PFJet80_v*',
51  'HLT_PFJet140_v*',
52  'HLT_PFJet200_v*',
53  'HLT_PFJet260_v*',
54  'HLT_PFJet320_v*',
55  'HLT_PFJet400_v*',
56  'HLT_PFJet450_v*',
57  'HLT_PFJet500_v*',
58  'HLT_PFJet550_v*'])
59 )
60 
61 topEleJet_all = hltTOPmonitoring.clone(
62  FolderName = 'HLT/TOP/EleJet/GlobalMonitor',
63  enable2DPlots = False,
64  nmuons = 0,
65  nelectrons = 1,
66  njets = 1,
67  eleSelection = 'pt>25 & abs(eta)<2.1',
68  jetSelection = 'pt>30 & abs(eta)<2.4',
69  histoPSet = dict(eleEtaBinning = [-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1],
70  eleEtaBinning2D = [-2.1,-1.5,-0.6,0,0.6,1.5,2.1],
71  elePtBinning = [0,25,30,32.5,35,40,45,50,60,80,120,200,400],
72  elePtBinning2D = [0,25,30,40,50,60,80,100,200,400],
73  jetPtBinning = [0,30,35,37.5,40,50,60,80,120,200,400],
74  jetPtBinning2D = [0,30,35,40,50,60,80,100,200,400]),
75  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele30_eta2p1_WPTight_Gsf_CentralPFJet35_EleCleaned_v*']),
76  #denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu24_v*'])
77 )
78 
81 
82 topEleHT_ht = hltTOPmonitoring.clone(
83  FolderName = 'HLT/TOP/EleHT/HTMonitor',
84  enable2DPlots = False,
85  nmuons = 0,
86  nelectrons = 1,
87  njets = 2,
88  eleSelection = 'pt>50 & abs(eta)<2.1',
89  jetSelection = 'pt>30 & abs(eta)<2.4',
90  HTcut = 100,
91  histoPSet = dict(eleEtaBinning = [-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1],
92  eleEtaBinning2D = [-2.1,-1.5,-0.6,0,0.6,1.5,2.1],
93  elePtBinning = [0,50,60,80,120,200,400],
94  elePtBinning2D = [0,50,70,120,200,400],
95  jetPtBinning = [0,30,40,50,60,80,120,200,400],
96  jetPtBinning2D = [0,30,40,60,80,100,200,400],
97  HTBinning = [0,100,120,140,150,160,175,200,300,400,500,700],
98  HTBinning2D = [0,100,125,150,175,200,400,700]),
99  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele28_eta2p1_WPTight_Gsf_HT150_v*']),
100  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele35_WPTight_Gsf_v*',
101  'HLT_Ele38_WPTight_Gsf_v*',
102  'HLT_Ele40_WPTight_Gsf_v*'])
103 )
104 
105 
106 topEleHT_ele = hltTOPmonitoring.clone(
107  FolderName = 'HLT/TOP/EleHT/ElectronMonitor',
108  enable2DPlots = False,
109  nmuons = 0,
110  nelectrons = 1,
111  njets = 2,
112  eleSelection = 'pt>25 & abs(eta)<2.1',
113  jetSelection = 'pt>30 & abs(eta)<2.4',
114  HTcut = 200,
115  histoPSet = dict(eleEtaBinning = [-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1],
116  eleEtaBinning2D = [-2.1,-1.5,-0.6,0,0.6,1.5,2.1],
117  elePtBinning = [0,25,30,32.5,35,40,45,50,60,80,120,200,400],
118  elePtBinning2D = [0,25,30,40,50,60,80,100,200,400],
119  jetPtBinning = [0,30,40,50,60,80,120,200,400],
120  jetPtBinning2D = [0,30,40,60,80,100,200,400],
121  HTBinning = [0,200,250,300,350,400,500,700],
122  HTBinning2D = [0,200,250,300,400,500,700]),
123  numGenericTriggerEventPSet =dict(hltPaths = ['HLT_Ele28_eta2p1_WPTight_Gsf_HT150_v*']),
124  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT250_v*',
125  'HLT_PFHT370_v*',
126  'HLT_PFHT430_v*',
127  'HLT_PFHT510_v*',
128  'HLT_PFHT590_v*',
129  'HLT_PFHT680_v*',
130  'HLT_PFHT780_v*',
131  'HLT_PFHT890_v*'])
132 )
133 
134 
135 topEleHT_all = hltTOPmonitoring.clone(
136  FolderName = 'HLT/TOP/EleHT/GlobalMonitor',
137  enable2DPlots = False,
138  nmuons = 0,
139  nelectrons = 1,
140  njets = 2,
141  eleSelection = 'pt>25 & abs(eta)<2.1',
142  jetSelection = 'pt>30 & abs(eta)<2.4',
143  HTcut = 100,
144  histoPSet = dict(eleEtaBinning = [-2.1,-1.5,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.5,2.1],
145  eleEtaBinning2D = [-2.1,-1.5,-0.6,0,0.6,1.5,2.1],
146  elePtBinning = [0,25,30,32.5,35,40,45,50,60,80,120,200,400],
147  elePtBinning2D = [0,25,30,40,50,60,80,100,200,400],
148  jetPtBinning = [0,30,40,50,60,80,120,200,400],
149  jetPtBinning2D = [0,30,40,60,80,100,200,400],
150  HTBinning = [0,100,120,140,150,160,175,200,300,400,500,700],
151  HTBinning2D = [0,100,125,150.175,200,400,700]),
152  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele28_eta2p1_WPTight_Gsf_HT150_v*'])
153  #denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu24_v*'])
154 )
155 
158 
159 topSingleMuonHLTMonitor_Mu24 = hltTOPmonitoring.clone(
160  FolderName = 'HLT/TOP/SingleLepton/SingleMuon/Mu24/',
161  enable2DPlots = False,
162  nmuons = 1,
163  nelectrons = 0,
164  njets = 0,
165  eleSelection = 'pt>30 & abs(eta)<2.4',
166  muoSelection = 'pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & isTrackerMuon & numberOfMatches>1 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.) )/pt<0.15',
167  jetSelection = 'pt>20 & abs(eta)<2.4',
168  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu24_eta2p1_v*', 'HLT_IsoMu24_v*'])
169 )
170 
171 
172 topSingleMuonHLTMonitor_Mu27 = hltTOPmonitoring.clone(
173  FolderName = 'HLT/TOP/SingleLepton/SingleMuon/Mu27/',
174  enable2DPlots = False,
175  nmuons = 1,
176  nelectrons = 0,
177  njets = 0,
178  eleSelection = 'pt>30 & abs(eta)<2.4',
179  muoSelection = 'pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & isTrackerMuon & numberOfMatches>1 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.) )/pt<0.15',
180  jetSelection = 'pt>20 & abs(eta)<2.4',
181  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
182 )
183 
184 
185 topSingleMuonHLTMonitor_Mu50 = hltTOPmonitoring.clone(
186  FolderName = 'HLT/TOP/SingleLepton/SingleMuon/Mu50/',
187  enable2DPlots = False,
188  nmuons = 1,
189  nelectrons = 0,
190  njets = 0,
191  eleSelection = 'pt>30 & abs(eta)<2.4',
192  muoSelection = 'pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & isTrackerMuon & numberOfMatches>1 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.) )/pt<0.15',
193  jetSelection = 'pt>20 & abs(eta)<2.4',
194  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu50_v*'])
195 )
196 
199 
200 topDiElectronHLTMonitor = hltTOPmonitoring.clone(
201  FolderName = 'HLT/TOP/DiLepton/DiElectron/Ele23Ele12/',
202  enable2DPlots = False,
203  nmuons = 0,
204  nelectrons = 2,
205  njets = 0,
206  eleSelection = 'pt>15 & abs(eta)<2.4',
207  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
208  jetSelection = 'pt>30 & abs(eta)<2.4',
209  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*'])
210 )
211 
212 
213 topDiElectronHLTMonitor_Dz = topDiElectronHLTMonitor.clone(
214  FolderName = 'HLT/TOP/DiLepton/DiElectron/Ele23Ele12_DzEfficiency/',
215  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v*'])
216 )
217 
220 
221 topDiMuonHLTMonitor_noDz = hltTOPmonitoring.clone(
222  FolderName = 'HLT/TOP/DiLepton/DiMuon/Mu17_Mu8/',
223  enable2DPlots = False,
224  nmuons = 2,
225  nelectrons = 0,
226  njets = 0,
227  eleSelection = 'pt>15 & abs(eta)<2.4',
228  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
229  jetSelection = 'pt>30 & abs(eta)<2.4',
230  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v*'])
231 )
232 
233 
234 topDiMuonHLTMonitor_Dz = hltTOPmonitoring.clone(
235  FolderName = 'HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_Dz/',
236  enable2DPlots = False,
237  nmuons = 2,
238  nelectrons = 0,
239  njets = 0,
240  eleSelection = 'pt>15 & abs(eta)<2.4',
241  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
242  jetSelection = 'pt>30 & abs(eta)<2.4',
243  numGenericTriggerEventPSet =dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*'])
244 )
245 
246 
247 topDiMuonHLTMonitor_Dz_Mu17_Mu8 = topDiMuonHLTMonitor_Dz.clone(
248  FolderName = 'HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_DzEfficiency/',
249  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*']),
250  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v*'])
251 )
252 
253 
254 topDiMuonHLTMonitor_Mass8 = hltTOPmonitoring.clone(
255  FolderName = 'HLT/TOP/DiLepton/DiMuon/Mass8/',
256  enable2DPlots = False,
257  nmuons = 2,
258  nelectrons = 0,
259  njets = 0,
260  eleSelection = 'pt>15 & abs(eta)<2.4',
261  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
262  jetSelection = 'pt>30 & abs(eta)<2.4',
263  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v*'])
264 )
265 
266 
267 topDiMuonHLTMonitor_Mass3p8 = hltTOPmonitoring.clone(
268  FolderName = 'HLT/TOP/DiLepton/DiMuon/Mass3p8/',
269  enable2DPlots = False,
270  nmuons = 2,
271  nelectrons = 0,
272  njets = 0,
273  eleSelection = 'pt>15 & abs(eta)<2.4',
274  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
275  jetSelection = 'pt>30 & abs(eta)<2.4',
276  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v*'])
277 )
278 
279 
280 topDiMuonHLTMonitor_Mass8Mon = hltTOPmonitoring.clone(
281  FolderName = 'HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_Mass8Efficiency/',
282  enable2DPlots = False,
283  nmuons = 2,
284  nelectrons = 0,
285  njets = 0,
286  eleSelection = 'pt>15 & abs(eta)<2.4',
287  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
288  jetSelection = 'pt>30 & abs(eta)<2.4',
289  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v*']),
290  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*'])
291 )
292 
293 
294 topDiMuonHLTMonitor_Mass3p8Mon = hltTOPmonitoring.clone(
295  FolderName = 'HLT/TOP/DiLepton/DiMuon/Mu17_Mu8_Mass3p8Efficiency/',
296  enable2DPlots = False,
297  nmuons = 2,
298  nelectrons = 0,
299  njets = 0,
300  eleSelection = 'pt>15 & abs(eta)<2.4',
301  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
302  jetSelection = 'pt>30 & abs(eta)<2.4',
303  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v*']),
304  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*'])
305 )
306 
309 
310 topElecMuonHLTMonitor = hltTOPmonitoring.clone(
311  FolderName = 'HLT/TOP/DiLepton/ElecMuon/OR/',
312  enable2DPlots = False,
313  nmuons = 1,
314  nelectrons = 1,
315  njets = 0,
316  eleSelection = 'pt>15 & abs(eta)<2.4',
317  muoSelection = 'pt>15 & abs(eta)<2.4 & (pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25 & isPFMuon & (isTrackerMuon || isGlobalMuon)',
318  jetSelection = 'pt>30 & abs(eta)<2.4',
319  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*',
320  'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*',
321  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*',
322  'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*',
323  'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*',
324  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*'])
325 )
326 
327 
328 topElecMuonHLTMonitor_Dz_Mu12Ele23 = topElecMuonHLTMonitor.clone(
329  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu12Ele23_DzEfficiency/',
330  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*']),
331  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*'])
332 )
333 
334 
335 topElecMuonHLTMonitor_Dz_Mu8Ele23 = topElecMuonHLTMonitor.clone(
336  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu8Ele23_DzEfficiency/',
337  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*']),
338  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*'])
339 )
340 
341 
342 topElecMuonHLTMonitor_Dz_Mu23Ele12 = topElecMuonHLTMonitor.clone(
343  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu23Ele12_DzEfficiency/',
344  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*']),
345  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*'])
346 )
347 
348 
349 topElecMuonHLTMonitor_Mu12Ele23 = topElecMuonHLTMonitor.clone(
350  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu12Ele23/',
351  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*'])
352 )
353 
354 
355 topElecMuonHLTMonitor_Mu8Ele23 = topElecMuonHLTMonitor.clone(
356  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu8Ele23/',
357  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v*'])
358 )
359 
360 
361 topElecMuonHLTMonitor_Mu23Ele12 = topElecMuonHLTMonitor.clone(
362  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu23Ele12/',
363  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*'])
364 )
365 
366 
367 topElecMuonHLTMonitor_Mu12Ele23_ref = topElecMuonHLTMonitor.clone(
368  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu12Ele23_Ref/',
369  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*'])
370 )
371 
372 
373 topElecMuonHLTMonitor_Mu8Ele23_ref = topElecMuonHLTMonitor.clone(
374  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu8Ele23_Ref/',
375  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*'])
376 )
377 
378 
379 topElecMuonHLTMonitor_Mu23Ele12_ref = topElecMuonHLTMonitor.clone(
380  FolderName = 'HLT/TOP/DiLepton/ElecMuon/Mu23Ele12_Ref/',
381  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*'])
382 )
383 
386 
387 fullyhadronic_ref350 = hltTOPmonitoring.clone(
388  FolderName = 'HLT/TOP/FullyHadronic/Reference/PFHT350Monitor/',
389  enable2DPlots = False,
390  # Selections
391  leptJetDeltaRmin = 0.0,
392  HTdefinition = 'pt>30 & abs(eta)<2.4',
393  HTcut = 250,
394  # Binning
395  histoPSet =dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000 ),
396  HTBinning = [0,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900,1000]),
397  # Trigger
398  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT350_v*']),
399  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
400 )
401 
402 
403 fullyhadronic_ref370 = hltTOPmonitoring.clone(
404  FolderName = 'HLT/TOP/FullyHadronic/Reference/PFHT370Monitor/',
405  enable2DPlots = False,
406  # Selections
407  leptJetDeltaRmin = 0.0,
408  HTdefinition = 'pt>30 & abs(eta)<2.4',
409  HTcut = 250,
410  # Binning
411  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
412  HTBinning = [0,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900,1000]),
413  # Trigger
414  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT370_v*']),
415  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
416 )
417 
418 
419 fullyhadronic_ref430 = hltTOPmonitoring.clone(
420  FolderName = 'HLT/TOP/FullyHadronic/Reference/PFHT430Monitor/',
421  enable2DPlots = False,
422  # Selections
423  leptJetDeltaRmin = 0.0,
424  HTdefinition = 'pt>30 & abs(eta)<2.4',
425  HTcut = 250,
426  # Binning
427  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000 ),
428  HTBinning = [0,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900,1000]),
429  # Trigger
430  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT430_v*']),
431  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
432 )
433 
434 
435 fullyhadronic_DoubleBTag_all = hltTOPmonitoring.clone(
436  FolderName = 'HLT/TOP/FullyHadronic/DoubleBTag/GlobalMonitor/',
437  enable2DPlots = False,
438  # Selections
439  leptJetDeltaRmin = 0.0,
440  njets = 6,
441  jetSelection = 'pt>40 & abs(eta)<2.4',
442  HTdefinition = 'pt>30 & abs(eta)<2.4',
443  HTcut = 500,
444  nbjets = 2,
445  bjetSelection = 'pt>40 & abs(eta)<2.4',
446  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
447  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
448  # Binning
449  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
450  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
451  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
452  # Triggers
453  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*']),
454  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
455 )
456 # conditions 2016
457 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_all, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
458 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_all, workingpoint = 0.8484)
459 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixJet30_DoubleBTagCSV_p056_v*'])
460 # conditions 2017
461 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_all, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
462 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_all, workingpoint = 0.8484)
463 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT380_SixPFJet32_DoublePFBTagCSV_2p2_v*'])
464 # conditions 2018
465 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_all, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
466 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_all, workingpoint = 0.4941)
467 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*'])
468 
469 
470 fullyhadronic_DoubleBTag_DeepJet_all = hltTOPmonitoring.clone(
471  FolderName = 'HLT/TOP/FullyHadronic/DoubleBTagDeepJet/GlobalMonitor/',
472  enable2DPlots = False,
473  # Selections
474  leptJetDeltaRmin = 0.0,
475  njets = 6,
476  jetSelection = 'pt>40 & abs(eta)<2.4',
477  HTdefinition = 'pt>30 & abs(eta)<2.4',
478  HTcut = 500,
479  nbjets = 2,
480  bjetSelection = 'pt>40 & abs(eta)<2.4',
481  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
482  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
483  #btagAlgos = ["pfDeepFlavourJetTags:probb", "pfDeepFlavourJetTags:probbb", "pfDeepFlavourJetTags:problepb"],
484  #workingpoint = 0.2770, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation102X )
485  # Binning
486  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
487  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
488  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
489  # Triggers
490  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_DoublePFBTagDeepJet_2p94_v*']),
491  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
492 )
493 
494 fullyhadronic_DoubleBTag_DeepJet_bjet = hltTOPmonitoring.clone(
495  FolderName = 'HLT/TOP/FullyHadronic/DoubleBTagDeepJet/BJetMonitor/',
496  enable2DPlots = False,
497  # Selections
498  leptJetDeltaRmin = 0.0,
499  njets = 6,
500  jetSelection = 'pt>40 & abs(eta)<2.4',
501  HTdefinition = 'pt>30 & abs(eta)<2.4',
502  HTcut = 500,
503  nbjets = 2,
504  bjetSelection = 'pt>40 & abs(eta)<2.4',
505  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
506  workingpoint = 0.1522, # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
507  #btagAlgos = ["pfDeepFlavourJetTags:probb", "pfDeepFlavourJetTags:probbb", "pfDeepFlavourJetTags:problepb"],
508  #workingpoint = 0.0494, # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation102X )
509  # Binning
510  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
511  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
512  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
513  # Triggers
514  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_DoublePFBTagDeepJet_2p94_v*']),
515  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_v*'])
516 )
517 
518 
519 fullyhadronic_DoubleBTag_jet = hltTOPmonitoring.clone(
520  FolderName = 'HLT/TOP/FullyHadronic/DoubleBTag/JetMonitor/',
521  enable2DPlots = False,
522  # Selections
523  leptJetDeltaRmin = 0.0,
524  njets = 6,
525  jetSelection = 'pt>30 & abs(eta)<2.4',
526  HTdefinition = 'pt>30 & abs(eta)<2.4',
527  HTcut = 500,
528  nbjets = 2,
529  bjetSelection = 'pt>30 & abs(eta)<2.4',
530  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
531  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
532  # Binning
533  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
534  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
535  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
536  # Triggers
537  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_v*']),
538  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT370_v*'])
539 )
540 # conditions 2016
541 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_jet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
542 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_jet, workingpoint = 0.8484)
543 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixJet30_v*'])
544 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_jet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT350_v*'])
545 # conditions 2017
546 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_jet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
547 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_jet, workingpoint = 0.8484)
548 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT380_SixPFJet32_v*'])
549 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_jet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT370_v*'])
550 # conditions 2018
551 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_jet, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
552 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_jet, workingpoint = 0.4941)
553 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixPFJet32_v*'])
554 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_jet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT370_v*'])
555 
556 
557 fullyhadronic_DoubleBTag_bjet = hltTOPmonitoring.clone(
558  FolderName = 'HLT/TOP/FullyHadronic/DoubleBTag/BJetMonitor/',
559  enable2DPlots = False,
560  # Selections
561  leptJetDeltaRmin = 0.0,
562  njets = 6,
563  jetSelection = 'pt>40 & abs(eta)<2.4',
564  HTdefinition = 'pt>30 & abs(eta)<2.4',
565  HTcut = 500,
566  nbjets = 2,
567  bjetSelection = 'pt>40 & abs(eta)<2.4',
568  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
569  workingpoint = 0.1522, # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
570  # Binning
571  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
572  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
573  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
574  # Triggers
575  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*']),
576  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_v*'])
577 )
578 # conditions 2016
579 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_bjet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
580 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_bjet, workingpoint = 0.5426)
581 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixJet30_DoubleBTagCSV_p056_v*'])
582 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixJet30_v*'])
583 # conditions 2017
584 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_bjet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
585 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_bjet, workingpoint = 0.5426)
586 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT380_SixPFJet32_DoublePFBTagCSV_2p2_v*'])
587 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT380_SixPFJet32_v*'])
588 # conditions 2018
589 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_bjet, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
590 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_bjet, workingpoint = 0.1522)
591 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*'])
592 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixPFJet32_v*'])
593 
594 
595 
596 fullyhadronic_DoubleBTag_ref = hltTOPmonitoring.clone(
597  FolderName = 'HLT/TOP/FullyHadronic/DoubleBTag/RefMonitor/',
598  enable2DPlots = False,
599  # Selections
600  leptJetDeltaRmin = 0.0,
601  njets = 6,
602  jetSelection = 'pt>40 & abs(eta)<2.4',
603  HTdefinition = 'pt>30 & abs(eta)<2.4',
604  HTcut = 500,
605  nbjets = 0,
606  bjetSelection = 'pt>40 & abs(eta)<2.4',
607  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
608  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
609  # Binning
610  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
611  jetPtBinning = [0,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
612  HTBinning = [0,360,380,400,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
613  # Triggers
614  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT400_SixPFJet32_v*']),
615  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
616 )
617 # conditions 2016
618 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_ref, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
619 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_ref, workingpoint = 0.8484)
620 run2_HLTconditions_2016.toModify(fullyhadronic_DoubleBTag_ref.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixJet30_v*'])
621 # conditions 2017
622 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_ref, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
623 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_ref, workingpoint = 0.8484)
624 run2_HLTconditions_2017.toModify(fullyhadronic_DoubleBTag_ref.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT380_SixPFJet32_v*'])
625 # conditions 2018
626 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_ref, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
627 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_ref, workingpoint = 0.4941)
628 run2_HLTconditions_2018.toModify(fullyhadronic_DoubleBTag_ref.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_SixPFJet32_v*'])
629 
630 
631 
632 fullyhadronic_SingleBTag_all = hltTOPmonitoring.clone(
633  FolderName= 'HLT/TOP/FullyHadronic/SingleBTag/GlobalMonitor/',
634  enable2DPlots = False,
635  # Selections
636  leptJetDeltaRmin = 0.0,
637  njets = 6,
638  jetSelection = 'pt>40 & abs(eta)<2.4',
639  HTdefinition = 'pt>30 & abs(eta)<2.4',
640  HTcut = 500,
641  nbjets = 2,
642  bjetSelection = 'pt>40 & abs(eta)<2.4',
643  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
644  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
645  # Binning
646  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
647  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
648  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
649  # Triggers
650  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_PFBTagDeepCSV_1p59_v*']),
651  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
652 )
653 # conditions 2016
654 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_all, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
655 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_all, workingpoint = 0.8484)
656 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixJet40_BTagCSV_p056_v*'])
657 # conditions 2017
658 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_all, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
659 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_all, workingpoint = 0.8484)
660 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT430_SixPFJet40_PFBTagCSV_1p5_v*'])
661 # conditions 2018
662 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_all, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
663 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_all, workingpoint = 0.4941)
664 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixPFJet36_PFBTagDeepCSV_1p59_v*'])
665 
666 
667 
668 fullyhadronic_SingleBTagDeepJet_all = hltTOPmonitoring.clone(
669  FolderName= 'HLT/TOP/FullyHadronic/SingleBTagDeepJet/GlobalMonitor/',
670  enable2DPlots = False,
671  # Selections
672  leptJetDeltaRmin = 0.0,
673  njets = 6,
674  jetSelection = 'pt>40 & abs(eta)<2.4',
675  HTdefinition = 'pt>30 & abs(eta)<2.4',
676  HTcut = 500,
677  nbjets = 2,
678  bjetSelection = 'pt>40 & abs(eta)<2.4',
679  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
680  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
681  #btagAlgos = ["pfDeepFlavourJetTags:probb", "pfDeepFlavourJetTags:probbb", "pfDeepFlavourJetTags:problepb"],
682  #workingpoint = 0.2770,
683  # Binning
684  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
685  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
686  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
687  # Triggers
688  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_PFBTagDeepJet_1p59_v*']),
689  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*']),
690 )
691 
692 fullyhadronic_SingleBTagDeepJet_bjet = hltTOPmonitoring.clone(
693  FolderName= 'HLT/TOP/FullyHadronic/SingleBTagDeepJet/BJetMonitor/',
694  enable2DPlots = False,
695  # Selection
696  leptJetDeltaRmin = 0.0,
697  njets = 6,
698  jetSelection = 'pt>40 & abs(eta)<2.4',
699  HTdefinition = 'pt>30 & abs(eta)<2.4',
700  HTcut = 500,
701  nbjets = 2,
702  bjetSelection = 'pt>40 & abs(eta)<2.4',
703  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
704  workingpoint = 0.1522, # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
705  #btagAlgos = ["pfDeepFlavourJetTags:probb", "pfDeepFlavourJetTags:probbb", "pfDeepFlavourJetTags:problepb"],
706  #workingpoint = 0.0494, # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation102X )
707  # Binning
708  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
709  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
710  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
711  # Triggers
712  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_PFBTagDeepJet_1p59_v*']),
713  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_v*'])
714 )
715 
716 
717 
718 fullyhadronic_SingleBTag_jet = hltTOPmonitoring.clone(
719  FolderName= 'HLT/TOP/FullyHadronic/SingleBTag/JetMonitor/',
720  enable2DPlots = False,
721  # Selection
722  leptJetDeltaRmin = 0.0,
723  njets = 6,
724  jetSelection = 'pt>30 & abs(eta)<2.4',
725  HTdefinition = 'pt>30 & abs(eta)<2.4',
726  HTcut = 500,
727  nbjets = 2,
728  bjetSelection = 'pt>30 & abs(eta)<2.4',
729  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
730  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
731  # Binning
732  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
733  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
734  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
735  # Triggers
736  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_v*']),
737  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT430_v*'])
738 )
739 # conditions 2016
740 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_jet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
741 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_jet, workingpoint = 0.8484)
742 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixJet40_v*'])
743 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_jet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT400_v*'])
744 # conditions 2017
745 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_jet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
746 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_jet, workingpoint = 0.8484)
747 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT430_SixPFJet40_v*'])
748 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_jet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT430_v*'])
749 # conditions 2018
750 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_jet, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
751 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_jet, workingpoint = 0.4941)
752 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixPFJet36_v*'])
753 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_jet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT430_v*'])
754 
755 
756 
757 fullyhadronic_SingleBTag_bjet = hltTOPmonitoring.clone(
758  FolderName= 'HLT/TOP/FullyHadronic/SingleBTag/BJetMonitor/',
759  enable2DPlots = False,
760  # Selection
761  leptJetDeltaRmin = 0.0,
762  njets = 6,
763  jetSelection = 'pt>40 & abs(eta)<2.4',
764  HTdefinition = 'pt>30 & abs(eta)<2.4',
765  HTcut = 500,
766  nbjets = 2,
767  bjetSelection = 'pt>40 & abs(eta)<2.4',
768  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
769  workingpoint = 0.1522, # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
770  # Binning
771  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
772  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
773  HTBinning = [0,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
774  # Triggers
775  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_PFBTagDeepCSV_1p59_v*']),
776  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_v*'])
777 )
778 
779 # conditions 2016
780 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_bjet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
781 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_bjet, workingpoint = 0.5426)
782 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixJet40_BTagCSV_p056_v*'])
783 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixJet40_v*'])
784 # conditions 2017
785 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_bjet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
786 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_bjet, workingpoint = 0.5426)
787 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT430_SixPFJet40_PFBTagCSV_1p5_v*'])
788 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT430_SixPFJet40_v*'])
789 # conditions 2018
790 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_bjet, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
791 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_bjet, workingpoint = 0.1522)
792 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixPFJet36_PFBTagDeepCSV_1p59_v*'])
793 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixPFJet36_v*'])
794 
795 
796 
797 fullyhadronic_SingleBTag_ref = hltTOPmonitoring.clone(
798  FolderName= 'HLT/TOP/FullyHadronic/SingleBTag/RefMonitor/',
799  enable2DPlots = False,
800  # Selection
801  leptJetDeltaRmin = 0.0,
802  njets = 6,
803  jetSelection = 'pt>40 & abs(eta)<2.4',
804  HTdefinition = 'pt>30 & abs(eta)<2.4',
805  HTcut = 500,
806  nbjets = 0,
807  bjetSelection = 'pt>40 & abs(eta)<2.4',
808  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
809  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
810  # Binning
811  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
812  jetPtBinning = [0,30,35,40,45,50,55,60,65,70,75,80,90,100,120,140,160,200],
813  HTBinning = [0,400,420,440,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
814  # Triggers
815  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT450_SixPFJet36_v*']),
816  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
817 )
818 # conditions 2016
819 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_ref, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
820 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_ref, workingpoint = 0.8484)
821 run2_HLTconditions_2016.toModify(fullyhadronic_SingleBTag_ref.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixJet40_v*'])
822 # conditions 2017
823 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_ref, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
824 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_ref, workingpoint = 0.8484)
825 run2_HLTconditions_2017.toModify(fullyhadronic_SingleBTag_ref.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT430_SixPFJet40_v*'])
826 # conditions 2018
827 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_ref, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
828 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_ref, workingpoint = 0.4941)
829 run2_HLTconditions_2018.toModify(fullyhadronic_SingleBTag_ref.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT450_SixPFJet36_v*'])
830 
831 
832 
833 fullyhadronic_TripleBTag_all = hltTOPmonitoring.clone(
834  FolderName = 'HLT/TOP/FullyHadronic/TripleBTag/GlobalMonitor/',
835  enable2DPlots = False,
836  # Selections
837  leptJetDeltaRmin = 0.0,
838  njets = 4,
839  jetSelection = 'pt>45 & abs(eta)<2.4',
840  HTdefinition = 'pt>30 & abs(eta)<2.4',
841  HTcut = 500,
842  nbjets = 4,
843  bjetSelection = 'pt>45 & abs(eta)<2.4',
844  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
845  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
846  # Binning
847  histoPSet = dict(htPSet =dict(nbins= 50, xmin= 0.0, xmax= 1000),
848  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,200,400],
849  HTBinning = [0,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
850  # Triggers
851  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_TriplePFBTagDeepCSV_4p5_v*']),
852  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_IsoMu27_v*'])
853 )
854 # conditions 2017
855 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_all, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
856 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_all, workingpoint = 0.8484)
857 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT300PT30_QuadPFJet_75_60_45_40_TriplePFBTagCSV_3p0_v*'])
858 # conditions 2018
859 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_all, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
860 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_all, workingpoint = 0.4941)
861 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_all.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_TriplePFBTagDeepCSV_4p5_v*'])
862 
863 
864 fullyhadronic_TripleBTag_jet = hltTOPmonitoring.clone(
865  FolderName = 'HLT/TOP/FullyHadronic/TripleBTag/JetMonitor/',
866  enable2DPlots = False,
867  # Selections
868  leptJetDeltaRmin = 0.0,
869  njets = 4,
870  jetSelection = 'pt>45 & abs(eta)<2.4',
871  HTdefinition = 'pt>30 & abs(eta)<2.4',
872  HTcut = 500,
873  nbjets = 4,
874  bjetSelection = 'pt>45 & abs(eta)<2.4',
875  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
876  workingpoint = 0.4941, # Medium (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
877  # Binning
878  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
879  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,200,400],
880  HTBinning = [0,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
881  # Triggers
882  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_v*']),
883  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT350_v*'])
884 )
885 # conditions 2017
886 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_jet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
887 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_jet, workingpoint = 0.8484)
888 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT300PT30_QuadPFJet_75_60_45_40_v*'])
889 # conditions 2018
890 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_jet, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
891 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_jet, workingpoint = 0.4941)
892 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_jet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_v*'])
893 
894 
895 
896 fullyhadronic_TripleBTag_bjet = hltTOPmonitoring.clone(
897  FolderName = 'HLT/TOP/FullyHadronic/TripleBTag/BJetMonitor/',
898  enable2DPlots = False,
899  # Selections
900  leptJetDeltaRmin = 0.0,
901  njets = 4,
902  jetSelection = 'pt>45 & abs(eta)<2.4',
903  HTdefinition = 'pt>30 & abs(eta)<2.4',
904  HTcut = 500,
905  nbjets = 4,
906  bjetSelection = 'pt>45 & abs(eta)<2.4',
907  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
908  workingpoint = 0.1522, # Loose (According to: https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X)
909  # Binning
910  histoPSet = dict(htPSet = dict(nbins= 50, xmin= 0.0, xmax= 1000),
911  jetPtBinning = [0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,90,100,120,200,400],
912  HTBinning = [0,460,480,500,520,540,560,580,600,650,700,750,800,850,900]),
913  # Triggers
914  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_TriplePFBTagDeepCSV_4p5_v*']),
915  denGenericTriggerEventPSet = dict(hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_v*'])
916 )
917 # conditions 2017
918 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_bjet, btagAlgos = ["pfCombinedSecondaryVertexV2BJetTags"])
919 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_bjet, workingpoint = 0.5426)
920 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT300PT30_QuadPFJet_75_60_45_40_TriplePFBTagCSV_3p0_v*'])
921 run2_HLTconditions_2017.toModify(fullyhadronic_TripleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT300PT30_QuadPFJet_75_60_45_40_v*'])
922 # conditions 2018
923 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_bjet, btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"])
924 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_bjet, workingpoint = 0.1522)
925 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_bjet.numGenericTriggerEventPSet, hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_TriplePFBTagDeepCSV_4p5_v*'])
926 run2_HLTconditions_2018.toModify(fullyhadronic_TripleBTag_bjet.denGenericTriggerEventPSet, hltPaths = ['HLT_PFHT330PT30_QuadPFJet_75_60_45_40_v*'])
927 
928 
931 
932 from DQMOffline.Trigger.HLTEGTnPMonitor_cfi import egmGsfElectronIDsForDQM
933 
934 topMonitorHLT = cms.Sequence(
935 
936  topEleJet_ele
937  + topEleJet_jet
938  + topEleJet_all
939  + topEleHT_ele
940  + topEleHT_ht
941  + topEleHT_all
942 
943  + topSingleMuonHLTMonitor_Mu24
944  + topSingleMuonHLTMonitor_Mu27
945  + topSingleMuonHLTMonitor_Mu50
946 
947  + topDiElectronHLTMonitor
948  + topDiElectronHLTMonitor_Dz
949 
950  + topDiMuonHLTMonitor_noDz
951  + topDiMuonHLTMonitor_Dz
952  + topDiMuonHLTMonitor_Dz_Mu17_Mu8
953  + topDiMuonHLTMonitor_Mass8
954  + topDiMuonHLTMonitor_Mass3p8
955  + topDiMuonHLTMonitor_Mass8Mon
956  + topDiMuonHLTMonitor_Mass3p8Mon
957 
958  + topElecMuonHLTMonitor
959  + topElecMuonHLTMonitor_Dz_Mu12Ele23
960  + topElecMuonHLTMonitor_Dz_Mu8Ele23
961  + topElecMuonHLTMonitor_Dz_Mu23Ele12
962  + topElecMuonHLTMonitor_Mu12Ele23
963  + topElecMuonHLTMonitor_Mu8Ele23
964  + topElecMuonHLTMonitor_Mu23Ele12
965  + topElecMuonHLTMonitor_Mu12Ele23_ref
966  + topElecMuonHLTMonitor_Mu8Ele23_ref
967  + topElecMuonHLTMonitor_Mu23Ele12_ref
968 
969  + fullyhadronic_ref350
970  + fullyhadronic_ref370
971  + fullyhadronic_ref430
972 
973  + fullyhadronic_DoubleBTag_all
974  + fullyhadronic_DoubleBTag_jet
975  + fullyhadronic_DoubleBTag_bjet
976  + fullyhadronic_DoubleBTag_ref
977 
978  + fullyhadronic_DoubleBTag_DeepJet_all
979  + fullyhadronic_DoubleBTag_DeepJet_bjet
980 
981  + fullyhadronic_SingleBTag_all
982  + fullyhadronic_SingleBTag_jet
983  + fullyhadronic_SingleBTag_bjet
984  + fullyhadronic_SingleBTag_ref
985 
986  + fullyhadronic_SingleBTagDeepJet_all
987  + fullyhadronic_SingleBTagDeepJet_bjet
988 
989  + fullyhadronic_TripleBTag_all
990  + fullyhadronic_TripleBTag_jet
991  + fullyhadronic_TripleBTag_bjet
992  , cms.Task(egmGsfElectronIDsForDQM) # Use of electron VID requires this module being executed first
993 )
994 
995 topHLTDQMSourceExtra = cms.Sequence(
996 )
997 
998 topMonitorHLT_2016 = topMonitorHLT.copy()
999 topMonitorHLT_2016.remove( topEleJet_jet )
1000 topMonitorHLT_2016.remove( topEleJet_ele )
1001 topMonitorHLT_2016.remove( topEleJet_all )
1002 topMonitorHLT_2016.remove( topEleHT_ht )
1003 topMonitorHLT_2016.remove( topEleHT_ele )
1004 topMonitorHLT_2016.remove( topEleHT_all )
1005 topMonitorHLT_2016.remove( topDiMuonHLTMonitor_Mass3p8 )
1006 topMonitorHLT_2016.remove( topDiMuonHLTMonitor_Mass8Mon )
1007 topMonitorHLT_2016.remove( topDiMuonHLTMonitor_Mass3p8Mon )
1008 topMonitorHLT_2016.remove( fullyhadronic_ref370 )
1009 topMonitorHLT_2016.remove( fullyhadronic_ref430 )
1010 topMonitorHLT_2016.remove( fullyhadronic_TripleBTag_all )
1011 topMonitorHLT_2016.remove( fullyhadronic_TripleBTag_jet )
1012 topMonitorHLT_2016.remove( fullyhadronic_TripleBTag_bjet )
1013 
1014 run2_HLTconditions_2016.toReplaceWith(topMonitorHLT, topMonitorHLT_2016)