1 import FWCore.ParameterSet.Config
as cms
3 from DQMOffline.Trigger.JetMonitor_cfi
import hltJetMETmonitoring
4 from DQMOffline.Trigger.HTMonitor_cfi
import hltHTmonitoring
5 from DQMOffline.Trigger.MjjMonitor_cfi
import hltMjjmonitoring
6 from DQMOffline.Trigger.SoftdropMonitor_cfi
import hltSoftdropmonitoring
7 from DQMOffline.Trigger.B2GTnPMonitor_cfi
import B2GegmGsfElectronIDsForDQM,B2GegHLTDQMOfflineTnPSource
8 from DQMOffline.Trigger.TopMonitor_cfi
import hltTOPmonitoring
23 PFHT1050_Mjjmonitoring = hltMjjmonitoring.clone(
24 FolderName =
'HLT/B2G/PFHT1050',
25 jets =
"ak8PFJetsPuppi",
26 jetSelection =
"pt > 200 && eta < 2.4",
27 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_PFHT1050_v*"])
30 PFHT1050_Softdropmonitoring = hltSoftdropmonitoring.clone(
31 FolderName =
'HLT/B2G/PFHT1050',
32 jetSelection =
"pt > 200 && eta < 2.4",
33 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_PFHT1050_v*"])
36 AK8PFJet500_Mjjmonitoring = hltMjjmonitoring.clone(
37 FolderName =
'HLT/B2G/AK8PFJet500',
38 jets =
"ak8PFJetsPuppi",
39 jetSelection =
"pt > 200 && eta < 2.4",
40 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet500_v*"])
43 AK8PFJet500_Softdropmonitoring = hltSoftdropmonitoring.clone(
44 FolderName =
'HLT/B2G/AK8PFJet500',
45 jetSelection =
"pt > 200 && eta < 2.4",
46 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet500_v*"]),
48 htBinning = [0., 10., 20., 30., 40., 50., 60., 70., 80., 90., 100., 110., 120., 130., 140., 150., 160., 170., 180., 190., 200., 210., 220., 230., 240., 250., 260., 270., 280., 290., 300., 310., 320., 330., 340., 350.],
49 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
55 AK8PFHT800_TrimMass50_HTmonitoring = hltHTmonitoring.clone(
56 FolderName =
'HLT/B2G/AK8PFHT800_TrimMass50',
57 jets =
"ak8PFJetsPuppi",
58 jetSelection =
"pt > 200 && eta < 2.4",
59 jetSelection_HT =
"pt > 200 && eta < 2.4",
60 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFHT800_TrimMass50_v*"])
63 AK8PFHT800_TrimMass50_Mjjmonitoring = hltMjjmonitoring.clone(
64 FolderName =
'HLT/B2G/AK8PFHT800_TrimMass50',
65 jets =
"ak8PFJetsPuppi",
66 jetSelection =
"pt > 200 && eta < 2.4",
67 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFHT800_TrimMass50_v*"])
70 AK8PFHT800_TrimMass50_Softdropmonitoring = hltSoftdropmonitoring.clone(
71 FolderName =
'HLT/B2G/AK8PFHT800_TrimMass50',
72 jetSelection =
"pt > 200 && eta < 2.4",
73 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFHT800_TrimMass50_v*"]),
75 htBinning = [0., 10., 20., 30., 40., 50., 60., 70., 80., 90., 100., 110., 120., 130., 140., 150., 160., 170., 180., 190., 200., 210., 220., 230., 240., 250., 260., 270., 280., 290., 300., 310., 320., 330., 340., 350.],
76 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
82 AK8PFJet400_TrimMass30_PromptMonitoring = hltJetMETmonitoring.clone(
83 FolderName =
'HLT/B2G/AK8PFJet400_TrimMass30',
85 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_TrimMass30_v*"])
88 AK8PFJet400_TrimMass30_Mjjmonitoring = hltMjjmonitoring.clone(
89 FolderName =
'HLT/B2G/AK8PFJet400_TrimMass30',
90 jets =
"ak8PFJetsPuppi",
91 jetSelection =
"pt > 200 && eta < 2.4",
92 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet400_TrimMass30_v*"])
95 AK8PFJet400_TrimMass30_Softdropmonitoring = hltSoftdropmonitoring.clone(
96 FolderName =
'HLT/B2G/AK8PFJet400_TrimMass30',
97 jetSelection =
"pt > 200 && eta < 2.4",
98 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_TrimMass30_v*"]),
100 htBinning = [0., 10., 20., 30., 40., 50., 60., 70., 80., 90., 100., 110., 120., 130., 140., 150., 160., 170., 180., 190., 200., 210., 220., 230., 240., 250., 260., 270., 280., 290., 300., 310., 320., 330., 340., 350.],
101 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
107 AK8PFJet400_MassSD30_PromptMonitoring = hltJetMETmonitoring.clone(
108 FolderName =
'HLT/B2G/AK8PFJet400_MassSD30',
110 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_MassSD30_v*"])
113 AK8PFJet400_MassSD30_Mjjmonitoring = hltMjjmonitoring.clone(
114 FolderName =
'HLT/B2G/AK8PFJet400_MassSD30',
115 jets =
"ak8PFJetsPuppi",
116 jetSelection =
"pt > 200 && eta < 2.4",
117 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet400_MassSD30_v*"])
120 AK8PFJet400_MassSD30_Softdropmonitoring = hltSoftdropmonitoring.clone(
121 FolderName =
'HLT/B2G/AK8PFJet400_MassSD30',
122 jetSelection =
"pt > 200 && eta < 2.4",
123 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_MassSD30_v*"]),
125 htBinning = [0., 10., 20., 30., 40., 50., 60., 70., 80., 90., 100., 110., 120., 130., 140., 150., 160., 170., 180., 190., 200., 210., 220., 230., 240., 250., 260., 270., 280., 290., 300., 310., 320., 330., 340., 350.],
126 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
132 AK8DiPFJet250_250_MassSD30_PromptMonitoring = hltJetMETmonitoring.clone(
133 FolderName =
'HLT/B2G/AK8DiPFJet250_250_MassSD30',
135 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet250_250_MassSD30_v*"])
138 AK8DiPFJet250_250_MassSD30_Mjjmonitoring = hltMjjmonitoring.clone(
139 FolderName =
'HLT/B2G/AK8DiPFJet250_250_MassSD30',
140 jets =
"ak8PFJetsPuppi",
141 jetSelection =
"pt > 200 && eta < 2.4",
142 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8DiPFJet250_250_MassSD30_v*"])
145 AK8DiPFJet250_250_MassSD30_Softdropmonitoring = hltSoftdropmonitoring.clone(
146 FolderName =
'HLT/B2G/AK8DiPFJet250_250_MassSD30',
147 jetSelection =
"pt > 200 && eta < 2.4",
148 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet250_250_MassSD30_v*"]),
150 htBinning = [0., 10., 20., 30., 40., 50., 60., 70., 80., 90., 100., 110., 120., 130., 140., 150., 160., 170., 180., 190., 200., 210., 220., 230., 240., 250., 260., 270., 280., 290., 300., 310., 320., 330., 340., 350.],
151 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
157 hltDQMonitorB2G_MuEle = hltTOPmonitoring.clone(
158 FolderName =
'HLT/B2G/Dileptonic/HLT_MuXX_EleXX_CaloIdL_MW',
160 eleSelection =
'pt>20 & abs(eta)<2.4',
162 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
163 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_Ele27_CaloIdL_MW_v*',
'HLT_Mu27_Ele37_CaloIdL_MW_v*'])
166 hltDQMonitorB2G_MuTkMu = hltTOPmonitoring.clone(
167 FolderName =
'HLT/B2G/Dileptonic/HLT_Mu37_TkMu27',
169 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
170 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_TkMu27_v*'])
176 b2gMonitorHLT = cms.Sequence(
178 PFHT1050_Mjjmonitoring +
180 AK8PFJet500_Mjjmonitoring +
182 AK8PFHT800_TrimMass50_HTmonitoring +
183 AK8PFHT800_TrimMass50_Mjjmonitoring +
185 AK8PFJet400_TrimMass30_PromptMonitoring +
186 AK8PFJet400_TrimMass30_Mjjmonitoring +
188 AK8PFJet400_MassSD30_PromptMonitoring +
189 AK8PFJet400_MassSD30_Mjjmonitoring +
191 AK8DiPFJet250_250_MassSD30_PromptMonitoring +
192 AK8DiPFJet250_250_MassSD30_Mjjmonitoring +
194 B2GegHLTDQMOfflineTnPSource
196 * hltDQMonitorB2G_MuEle
197 * hltDQMonitorB2G_MuTkMu
199 , cms.Task(B2GegmGsfElectronIDsForDQM)
206 b2gHLTDQMSourceWithRECO = cms.Sequence(
207 PFHT1050_Softdropmonitoring +
208 AK8PFJet500_Softdropmonitoring +
209 AK8PFHT800_TrimMass50_Softdropmonitoring +
210 AK8PFJet400_TrimMass30_Softdropmonitoring +
211 AK8PFJet400_MassSD30_Softdropmonitoring +
212 AK8DiPFJet250_250_MassSD30_Softdropmonitoring
215 b2gHLTDQMSourceExtra = cms.Sequence(