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 > 65 && 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 > 65 && eta < 2.4",
46 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet500_v*"])
51 AK8PFHT800_TrimMass50_HTmonitoring = hltHTmonitoring.clone(
52 FolderName =
'HLT/B2G/AK8PFHT800_TrimMass50',
53 jets =
"ak8PFJetsPuppi",
54 jetSelection =
"pt > 0 && eta < 2.5",
55 jetSelection_HT =
"pt > 200 && eta < 2.5",
56 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFHT800_TrimMass50_v*"])
59 AK8PFHT800_TrimMass50_Mjjmonitoring = hltMjjmonitoring.clone(
60 FolderName =
'HLT/B2G/AK8PFHT800_TrimMass50',
61 jets =
"ak8PFJetsPuppi",
62 jetSelection =
"pt > 200 && eta < 2.4",
63 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFHT800_TrimMass50_v*"])
66 AK8PFHT800_TrimMass50_Softdropmonitoring = hltSoftdropmonitoring.clone(
67 FolderName =
'HLT/B2G/AK8PFHT800_TrimMass50',
68 jetSelection =
"pt > 65 && eta < 2.4",
69 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFHT800_TrimMass50_v*"])
74 AK8PFJet400_TrimMass30_PromptMonitoring = hltJetMETmonitoring.clone(
75 FolderName =
'HLT/B2G/AK8PFJet400_TrimMass30',
77 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_TrimMass30_v*"])
80 AK8PFJet400_TrimMass30_Mjjmonitoring = hltMjjmonitoring.clone(
81 FolderName =
'HLT/B2G/AK8PFJet400_TrimMass30',
82 jets =
"ak8PFJetsPuppi",
83 jetSelection =
"pt > 200 && eta < 2.4",
84 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet400_TrimMass30_v*"])
87 AK8PFJet400_TrimMass30_Softdropmonitoring = hltSoftdropmonitoring.clone(
88 FolderName =
'HLT/B2G/AK8PFJet400_TrimMass30',
89 jetSelection =
"pt > 200 && eta < 2.4",
90 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_TrimMass30_v*"]),
92 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.],
93 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
99 AK8PFJet400_MassSD30_PromptMonitoring = hltJetMETmonitoring.clone(
100 FolderName =
'HLT/B2G/AK8PFJet400_MassSD30',
102 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_MassSD30_v*"])
105 AK8PFJet400_MassSD30_Mjjmonitoring = hltMjjmonitoring.clone(
106 FolderName =
'HLT/B2G/AK8PFJet400_MassSD30',
107 jets =
"ak8PFJetsPuppi",
108 jetSelection =
"pt > 200 && eta < 2.4",
109 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet400_MassSD30_v*"])
112 AK8PFJet400_MassSD30_Softdropmonitoring = hltSoftdropmonitoring.clone(
113 FolderName =
'HLT/B2G/AK8PFJet400_MassSD30',
114 jetSelection =
"pt > 200 && eta < 2.4",
115 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet400_MassSD30_v*"]),
117 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.],
118 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
124 AK8DiPFJet250_250_MassSD30_PromptMonitoring = hltJetMETmonitoring.clone(
125 FolderName =
'HLT/B2G/AK8DiPFJet250_250_MassSD30',
127 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet250_250_MassSD30_v*"])
130 AK8DiPFJet250_250_MassSD30_Mjjmonitoring = hltMjjmonitoring.clone(
131 FolderName =
'HLT/B2G/AK8DiPFJet250_250_MassSD30',
132 jets =
"ak8PFJetsPuppi",
133 jetSelection =
"pt > 200 && eta < 2.4",
134 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8DiPFJet250_250_MassSD30_v*"])
137 AK8DiPFJet250_250_MassSD30_Softdropmonitoring = hltSoftdropmonitoring.clone(
138 FolderName =
'HLT/B2G/AK8DiPFJet250_250_MassSD30',
139 jetSelection =
"pt > 200 && eta < 2.4",
140 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet250_250_MassSD30_v*"]),
142 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.],
143 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
149 hltDQMonitorB2G_MuEle = hltTOPmonitoring.clone(
150 FolderName =
'HLT/B2G/Dileptonic/HLT_MuXX_EleXX_CaloIdL_MW',
152 eleSelection =
'pt>20 & abs(eta)<2.5',
154 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
155 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_Ele27_CaloIdL_MW_v*',
'HLT_Mu27_Ele37_CaloIdL_MW_v*'])
158 hltDQMonitorB2G_MuTkMu = hltTOPmonitoring.clone(
159 FolderName =
'HLT/B2G/Dileptonic/HLT_Mu37_TkMu27',
161 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
162 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_TkMu27_v*'])
168 b2gMonitorHLT = cms.Sequence(
170 PFHT1050_Mjjmonitoring +
172 AK8PFJet500_Mjjmonitoring +
174 AK8PFHT800_TrimMass50_HTmonitoring +
175 AK8PFHT800_TrimMass50_Mjjmonitoring +
177 AK8PFJet400_TrimMass30_PromptMonitoring +
178 AK8PFJet400_TrimMass30_Mjjmonitoring +
180 AK8PFJet400_MassSD30_PromptMonitoring +
181 AK8PFJet400_MassSD30_Mjjmonitoring +
183 AK8DiPFJet250_250_MassSD30_PromptMonitoring +
184 AK8DiPFJet250_250_MassSD30_Mjjmonitoring +
186 B2GegHLTDQMOfflineTnPSource
188 * hltDQMonitorB2G_MuEle
189 * hltDQMonitorB2G_MuTkMu
191 , cms.Task(B2GegmGsfElectronIDsForDQM)
198 b2gHLTDQMSourceWithRECO = cms.Sequence(
199 PFHT1050_Softdropmonitoring +
200 AK8PFJet500_Softdropmonitoring +
201 AK8PFHT800_TrimMass50_Softdropmonitoring +
202 AK8PFJet400_TrimMass30_Softdropmonitoring +
203 AK8PFJet400_MassSD30_Softdropmonitoring +
204 AK8DiPFJet250_250_MassSD30_Softdropmonitoring
207 b2gHLTDQMSourceExtra = cms.Sequence(