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 AK8PFJet380_SoftDropMass30_Mjjmonitoring = hltMjjmonitoring.clone(
42 FolderName =
'HLT/B2G/AK8PFJet380_SoftDropMass30',
43 jets =
"ak8PFJetsPuppi",
44 jetSelection =
"pt > 200 && eta < 2.4",
45 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet380_SoftDropMass30_v*"])
48 AK8DiPFJet260_260_SoftDropMass30_Mjjmonitoring = hltMjjmonitoring.clone(
49 FolderName =
'HLT/B2G/AK8DiPFJet260_260_SoftDropMass30',
50 jets =
"ak8PFJetsPuppi",
51 jetSelection =
"pt > 200 && eta < 2.4",
52 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8DiPFJet260_260_SoftDropMass30_v*"])
55 AK8PFJet500_Softdropmonitoring = hltSoftdropmonitoring.clone(
56 FolderName =
'HLT/B2G/AK8PFJet500',
57 jetSelection =
"pt > 200 && eta < 2.4",
58 numGenericTriggerEventPSet= dict(hltPaths = [
"HLT_AK8PFJet500_v*"]),
60 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.],
61 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
67 AK8PFJet380_SoftDropMass30_PromptMonitoring = hltJetMETmonitoring.clone(
68 FolderName =
'HLT/B2G/AK8PFJet380_SoftDropMass30',
70 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet380_SoftDropMass30_v*"])
74 AK8PFJet380_SoftDropMass30_Softdropmonitoring = hltSoftdropmonitoring.clone(
75 FolderName =
'HLT/B2G/AK8PFJet380_SoftDropMass30',
76 jetSelection =
"pt > 200 && eta < 2.4",
77 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8PFJet380_SoftDropMass30_v*"]),
79 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.],
80 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
86 AK8DiPFJet260_260_SoftDropMass30_PromptMonitoring = hltJetMETmonitoring.clone(
87 FolderName =
'HLT/B2G/AK8DiPFJet260_260_SoftDropMass30',
89 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet260_260_SoftDropMass30_v*"])
93 AK8DiPFJet260_260_SoftDropMass30_Softdropmonitoring = hltSoftdropmonitoring.clone(
94 FolderName =
'HLT/B2G/AK8DiPFJet260_260_SoftDropMass30',
95 jetSelection =
"pt > 200 && eta < 2.4",
96 numGenericTriggerEventPSet = dict(hltPaths = [
"HLT_AK8DiPFJet260_260_SoftDropMass30_v*"]),
98 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.],
99 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
105 hltDQMonitorB2G_MuEle = hltTOPmonitoring.clone(
106 FolderName =
'HLT/B2G/Dileptonic/HLT_MuXX_EleXX_CaloIdL_MW',
108 eleSelection =
'pt>20 & abs(eta)<2.4',
110 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
111 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_Ele27_CaloIdL_MW_v*',
'HLT_Mu27_Ele37_CaloIdL_MW_v*'])
114 hltDQMonitorB2G_MuTkMu = hltTOPmonitoring.clone(
115 FolderName =
'HLT/B2G/Dileptonic/HLT_Mu37_TkMu27',
117 muoSelection =
'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
118 numGenericTriggerEventPSet = dict(hltPaths = [
'HLT_Mu37_TkMu27_v*'])
124 b2gMonitorHLT = cms.Sequence(
126 PFHT1050_Mjjmonitoring +
128 AK8PFJet500_Mjjmonitoring +
130 AK8PFJet380_SoftDropMass30_Mjjmonitoring +
131 AK8DiPFJet260_260_SoftDropMass30_Mjjmonitoring +
133 AK8PFJet380_SoftDropMass30_PromptMonitoring +
134 AK8DiPFJet260_260_SoftDropMass30_PromptMonitoring +
136 B2GegHLTDQMOfflineTnPSource
138 * hltDQMonitorB2G_MuEle
139 * hltDQMonitorB2G_MuTkMu
141 , cms.Task(B2GegmGsfElectronIDsForDQM)
148 b2gHLTDQMSourceWithRECO = cms.Sequence(
149 PFHT1050_Softdropmonitoring +
150 AK8PFJet500_Softdropmonitoring +
151 AK8PFJet380_SoftDropMass30_Softdropmonitoring +
152 AK8DiPFJet260_260_SoftDropMass30_Softdropmonitoring
155 b2gHLTDQMSourceExtra = cms.Sequence(