File indexing completed on 2024-04-09 02:22:13
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from DQMOffline.Trigger.JetMonitor_cfi import hltJetMETmonitoring
0004 from DQMOffline.Trigger.HTMonitor_cfi import hltHTmonitoring
0005 from DQMOffline.Trigger.MjjMonitor_cfi import hltMjjmonitoring
0006 from DQMOffline.Trigger.SoftdropMonitor_cfi import hltSoftdropmonitoring
0007 from DQMOffline.Trigger.B2GTnPMonitor_cfi import B2GegmGsfElectronIDsForDQM,B2GegHLTDQMOfflineTnPSource
0008 from DQMOffline.Trigger.TopMonitor_cfi import hltTOPmonitoring
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 PFHT1050_Mjjmonitoring = hltMjjmonitoring.clone(
0022 FolderName = 'HLT/B2G/PFHT1050',
0023 jets = "ak8PFJetsPuppi",
0024 jetSelection = "pt > 200 && eta < 2.4",
0025 numGenericTriggerEventPSet= dict(hltPaths = ["HLT_PFHT1050_v*"])
0026 )
0027
0028 PFHT1050_Softdropmonitoring = hltSoftdropmonitoring.clone(
0029 FolderName = 'HLT/B2G/PFHT1050',
0030 jetSelection = "pt > 200 && eta < 2.4",
0031 numGenericTriggerEventPSet = dict(hltPaths = ["HLT_PFHT1050_v*"])
0032 )
0033
0034 AK8PFJet500_Mjjmonitoring = hltMjjmonitoring.clone(
0035 FolderName = 'HLT/B2G/AK8PFJet500',
0036 jets = "ak8PFJetsPuppi",
0037 jetSelection = "pt > 200 && eta < 2.4",
0038 numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet500_v*"])
0039 )
0040
0041 AK8PFJet380_SoftDropMass30_Mjjmonitoring = hltMjjmonitoring.clone(
0042 FolderName = 'HLT/B2G/AK8PFJet380_SoftDropMass30',
0043 jets = "ak8PFJetsPuppi",
0044 jetSelection = "pt > 200 && eta < 2.4",
0045 numGenericTriggerEventPSet= dict(hltPaths = ["HLT_AK8PFJet380_SoftDropMass30_v*"])
0046 )
0047
0048 AK8DiPFJet260_260_SoftDropMass30_Mjjmonitoring = hltMjjmonitoring.clone(
0049 FolderName = 'HLT/B2G/AK8DiPFJet260_260_SoftDropMass30',
0050 jets = "ak8PFJetsPuppi",
0051 jetSelection = "pt > 200 && eta < 2.4",
0052 numGenericTriggerEventPSet= dict(hltPaths = ["HLT_AK8DiPFJet260_260_SoftDropMass30_v*"])
0053 )
0054
0055 AK8PFJet500_Softdropmonitoring = hltSoftdropmonitoring.clone(
0056 FolderName = 'HLT/B2G/AK8PFJet500',
0057 jetSelection = "pt > 200 && eta < 2.4",
0058 numGenericTriggerEventPSet= dict(hltPaths = ["HLT_AK8PFJet500_v*"]),
0059 histoPSet = dict(
0060 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.],
0061 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
0062 )
0063 )
0064
0065
0066
0067 AK8PFJet380_SoftDropMass30_PromptMonitoring = hltJetMETmonitoring.clone(
0068 FolderName = 'HLT/B2G/AK8PFJet380_SoftDropMass30',
0069 ptcut = 200,
0070 numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet380_SoftDropMass30_v*"])
0071 )
0072
0073
0074 AK8PFJet380_SoftDropMass30_Softdropmonitoring = hltSoftdropmonitoring.clone(
0075 FolderName = 'HLT/B2G/AK8PFJet380_SoftDropMass30',
0076 jetSelection = "pt > 200 && eta < 2.4",
0077 numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8PFJet380_SoftDropMass30_v*"]),
0078 histoPSet = dict(
0079 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.],
0080 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
0081 )
0082 )
0083
0084
0085
0086 AK8DiPFJet260_260_SoftDropMass30_PromptMonitoring = hltJetMETmonitoring.clone(
0087 FolderName = 'HLT/B2G/AK8DiPFJet260_260_SoftDropMass30',
0088 ptcut = 200,
0089 numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8DiPFJet260_260_SoftDropMass30_v*"])
0090 )
0091
0092
0093 AK8DiPFJet260_260_SoftDropMass30_Softdropmonitoring = hltSoftdropmonitoring.clone(
0094 FolderName = 'HLT/B2G/AK8DiPFJet260_260_SoftDropMass30',
0095 jetSelection = "pt > 200 && eta < 2.4",
0096 numGenericTriggerEventPSet = dict(hltPaths = ["HLT_AK8DiPFJet260_260_SoftDropMass30_v*"]),
0097 histoPSet = dict(
0098 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.],
0099 htPSet = dict(nbins = 200, xmin = -0.5, xmax = 19999.5)
0100 )
0101 )
0102
0103
0104
0105 hltDQMonitorB2G_MuEle = hltTOPmonitoring.clone(
0106 FolderName = 'HLT/B2G/Dileptonic/HLT_MuXX_EleXX_CaloIdL_MW',
0107 nelectrons = 1,
0108 eleSelection = 'pt>20 & abs(eta)<2.4',
0109 nmuons = 1,
0110 muoSelection = 'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
0111 numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu37_Ele27_CaloIdL_MW_v*', 'HLT_Mu27_Ele37_CaloIdL_MW_v*'])
0112 )
0113
0114 hltDQMonitorB2G_MuTkMu = hltTOPmonitoring.clone(
0115 FolderName = 'HLT/B2G/Dileptonic/HLT_Mu37_TkMu27',
0116 nmuons = 2,
0117 muoSelection = 'pt>20 & abs(eta)<2.4 & ((pfIsolationR04.sumChargedHadronPt + max(pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - (pfIsolationR04.sumPUPt)/2.,0.))/pt < 0.25) & isPFMuon & (isTrackerMuon || isGlobalMuon)',
0118 numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu37_TkMu27_v*'])
0119 )
0120
0121
0122
0123
0124 b2gMonitorHLT = cms.Sequence(
0125
0126 PFHT1050_Mjjmonitoring +
0127
0128 AK8PFJet500_Mjjmonitoring +
0129
0130 AK8PFJet380_SoftDropMass30_Mjjmonitoring +
0131 AK8DiPFJet260_260_SoftDropMass30_Mjjmonitoring +
0132
0133 AK8PFJet380_SoftDropMass30_PromptMonitoring +
0134 AK8DiPFJet260_260_SoftDropMass30_PromptMonitoring +
0135
0136 B2GegHLTDQMOfflineTnPSource
0137
0138 * hltDQMonitorB2G_MuEle
0139 * hltDQMonitorB2G_MuTkMu
0140
0141 , cms.Task(B2GegmGsfElectronIDsForDQM)
0142 )
0143
0144
0145
0146
0147
0148 b2gHLTDQMSourceWithRECO = cms.Sequence(
0149 PFHT1050_Softdropmonitoring +
0150 AK8PFJet500_Softdropmonitoring +
0151 AK8PFJet380_SoftDropMass30_Softdropmonitoring +
0152 AK8DiPFJet260_260_SoftDropMass30_Softdropmonitoring
0153 )
0154
0155 b2gHLTDQMSourceExtra = cms.Sequence(
0156 )