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
21 PFHT1050_Mjjmonitoring = hltMjjmonitoring.clone(
22 FolderName =
'HLT/B2G/PFHT1050',
23 jets =
"ak8PFJetsPuppi",
24 jetSelection =
"pt > 200 && eta < 2.4",
25 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_PFHT1050_v*"])
28 PFHT1050_Softdropmonitoring = hltSoftdropmonitoring.clone(
29 FolderName =
'HLT/B2G/PFHT1050',
30 jetSelection =
"pt > 200 && eta < 2.4",
31 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_PFHT1050_v*"])
34 AK8PFJet500_Mjjmonitoring = hltMjjmonitoring.clone(
35 FolderName =
'HLT/B2G/AK8PFJet500',
36 jets =
"ak8PFJetsPuppi",
37 jetSelection =
"pt > 200 && eta < 2.4",
38 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet500_v*"])
41 AK8PFJet500_Softdropmonitoring = hltSoftdropmonitoring.clone(
42 FolderName =
'HLT/B2G/AK8PFJet500',
43 jetSelection =
"pt > 200 && eta < 2.4",
44 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet500_v*"]),
46 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.],
47 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
54 AK8PFJet420_MassSD30_PromptMonitoring = hltJetMETmonitoring.clone(
55 FolderName =
'HLT/B2G/AK8PFJet420_MassSD30',
57 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet420_MassSD30_v*"])
60 AK8PFJet420_MassSD30_Mjjmonitoring = hltMjjmonitoring.clone(
61 FolderName =
'HLT/B2G/AK8PFJet420_MassSD30',
62 jets =
"ak8PFJetsPuppi",
63 jetSelection =
"pt > 200 && eta < 2.4",
64 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet420_MassSD30_v*"])
67 AK8PFJet420_MassSD30_Softdropmonitoring = hltSoftdropmonitoring.clone(
68 FolderName =
'HLT/B2G/AK8PFJet420_MassSD30',
69 jetSelection =
"pt > 200 && eta < 2.4",
70 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet420_MassSD30_v*"]),
72 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.],
73 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
79 AK8DiPFJet270_270_MassSD30_PromptMonitoring = hltJetMETmonitoring.clone(
80 FolderName =
'HLT/B2G/AK8DiPFJet270_270_MassSD30',
82 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet270_270_MassSD30_v*"])
85 AK8DiPFJet270_270_MassSD30_Mjjmonitoring = hltMjjmonitoring.clone(
86 FolderName =
'HLT/B2G/AK8DiPFJet270_270_MassSD30',
87 jets =
"ak8PFJetsPuppi",
88 jetSelection =
"pt > 200 && eta < 2.4",
89 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8DiPFJet270_270_MassSD30_v*"])
92 AK8DiPFJet270_270_MassSD30_Softdropmonitoring = hltSoftdropmonitoring.clone(
93 FolderName =
'HLT/B2G/AK8DiPFJet270_270_MassSD30',
94 jetSelection =
"pt > 200 && eta < 2.4",
95 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet270_270_MassSD30_v*"]),
97 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.],
98 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
104 hltDQMonitorB2G_MuEle = hltTOPmonitoring.clone(
105 FolderName =
'HLT/B2G/Dileptonic/HLT_MuXX_EleXX_CaloIdL_MW',
107 eleSelection =
'pt>20 & abs(eta)<2.4',
109 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
110 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_Ele27_CaloIdL_MW_v*',
'HLT_Mu27_Ele37_CaloIdL_MW_v*'])
113 hltDQMonitorB2G_MuTkMu = hltTOPmonitoring.clone(
114 FolderName =
'HLT/B2G/Dileptonic/HLT_Mu37_TkMu27',
116 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
117 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_TkMu27_v*'])
123 b2gMonitorHLT = cms.Sequence(
125 PFHT1050_Mjjmonitoring +
127 AK8PFJet500_Mjjmonitoring +
129 AK8PFJet420_MassSD30_PromptMonitoring +
130 AK8PFJet420_MassSD30_Mjjmonitoring +
132 AK8DiPFJet270_270_MassSD30_PromptMonitoring +
133 AK8DiPFJet270_270_MassSD30_Mjjmonitoring +
135 B2GegHLTDQMOfflineTnPSource
137 * hltDQMonitorB2G_MuEle
138 * hltDQMonitorB2G_MuTkMu
140 , cms.Task(B2GegmGsfElectronIDsForDQM)
147 b2gHLTDQMSourceWithRECO = cms.Sequence(
148 PFHT1050_Softdropmonitoring +
149 AK8PFJet500_Softdropmonitoring +
150 AK8PFJet420_MassSD30_Softdropmonitoring +
151 AK8DiPFJet270_270_MassSD30_Softdropmonitoring
154 b2gHLTDQMSourceExtra = cms.Sequence(