1 import FWCore.ParameterSet.Config
as cms
3 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
5 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
8 hltProcessName = cms.string(
"HLT"),
9 analyses = cms.vstring(
"HWW",
"HZZ",
"HZZControlPaths",
"MuonJet",
"Hgg",
"Htaunu",
"H2tau",
"VBFHbb_0btag",
"VBFHbb_1btag",
"VBFHbb_2btag",
"ZnnHbb",
"DoubleHinTaus",
"HiggsDalitz",
"X4b",
"TTHbbej",
"AHttH",
"WHToENuBB",
"VBFHToInv"),
10 histDirectory = cms.string(
"HLT/Higgs"),
13 genParticleLabel = cms.string(
"genParticles"),
16 genJetLabel = cms.string(
"ak4GenJets"),
19 recoHtJetLabel = cms.untracked.string(
"ak4PFJetsCHS"),
22 pileUpInfoLabel = cms.string(
"addPileupInfo"),
25 parametersTurnOn = cms.vdouble(0,
27 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
28 22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
29 45, 50, 55, 60, 65, 70,
34 parametersEta = cms.vdouble(48, -2.400, 2.400),
35 parametersPhi = cms.vdouble(50, -3.142, 3.142),
36 parametersPu = cms.vdouble(10, 0, 50),
37 parametersHt = cms.untracked.vdouble(100, 0, 1000),
40 cutsDr = cms.vdouble(0.4, 0.4, 0.015),
42 maxDeltaPhi = cms.double(0.4),
43 maxDeltaR = cms.double(0.4),
51 Mu_genCut = cms.string(
"pt > 10 && abs(eta) < 2.4 && abs(pdgId) == 13 && status == 1"),
52 Mu_recCut = cms.string(
"pt > 10 && abs(eta) < 2.4 && isGlobalMuon"),
53 Mu_cutMinPt = cms.double(10),
54 Mu_cutMaxEta = cms.double(2.4),
57 Ele_genCut = cms.string(
"pt > 10 && abs(eta) < 2.5 && abs(pdgId) == 11 && status == 1"),
58 Ele_recCut = cms.string(
"pt > 10 && abs(eta) < 2.5 && hadronicOverEm < 0.05 && eSuperClusterOverP > 0.5 && eSuperClusterOverP < 2.5"),
59 Ele_cutMinPt = cms.double(10),
60 Ele_cutMaxEta = cms.double(2.5),
63 Photon_genCut = cms.string(
"abs(pdgId) == 22 && status == 1"),
64 Photon_recCut = cms.string(
"pt > 20 && abs(eta) < 2.4 && hadronicOverEm < 0.1 && "+\
65 " ( ( abs(eta) < 1.479 && r9 > 0.85 ) || "+\
66 " ( abs(eta) > 1.479 && r9 > 0.90 ) || "+\
67 " ( abs(eta) < 1.479 && r9 > 0.50 && sigmaIetaIeta < 0.014 && "+\
68 " ecalRecHitSumEtConeDR03 < (6.0+0.012*et) && trkSumPtSolidConeDR03 < (6.0 + 0.002*et) ) || "+\
69 " ( abs(eta) > 1.479 && r9 > 0.80 && sigmaIetaIeta < 0.035 && "+\
70 " ecalRecHitSumEtConeDR03 < (6.0+0.012*et) && trkSumPtSolidConeDR03 < (6.0 + 0.002*et) ) ) " 72 Photon_cutMinPt = cms.double(20),
73 Photon_cutMaxEta = cms.double(2.4),
76 PFTau_genCut = cms.string(
"pt > 20 && abs(eta) < 2.4 && abs(pdgId) == 15 && status == 3"),
77 PFTau_recCut = cms.string(
"pt > 20 && abs(eta) < 2.4"),
78 PFTau_cutMinPt = cms.double(20),
79 PFTau_cutMaxEta = cms.double(2.5),
82 MET_genCut = cms.string(
"(abs(pdgId) == 12 || abs(pdgId)==14 || abs(pdgId) == 16 ) && status == 1"),
83 MET_recCut = cms.string(
"pt > 75."),
84 MET_cutMinPt = cms.double(75),
85 MET_cutMaxEta = cms.double(0),
88 PFMET_genCut = cms.string(
"(abs(pdgId) == 12 || abs(pdgId)==14 || abs(pdgId) == 16 ) && status == 1"),
89 PFMET_recCut = cms.string(
"pt > 75."),
90 PFMET_cutMinPt = cms.double(75),
91 PFMET_cutMaxEta = cms.double(0),
94 Jet_genCut = cms.string(
"pt > 10"),
95 Jet_recCut = cms.string(
"pt > 10"),
96 Jet_cutMinPt = cms.double(0),
97 Jet_cutMaxEta = cms.double(0),
117 hltPathsToCheck = cms.vstring(
119 "HLT_Ele25_eta2p1_WPTight_Gsf_v",
120 "HLT_Ele25_WPTight_Gsf_v",
121 "HLT_Ele25_eta2p1_WPLoose_Gsf_v",
122 "HLT_Ele35_WPLoose_Gsf_v",
123 "HLT_Ele27_eta2p1_WPTight_Gsf_v",
124 "HLT_Ele27_WPTight_Gsf_v",
125 "HLT_Ele27_eta2p1_WPLoose_Gsf_v",
126 "HLT_Ele45_WPLoose_Gsf_v",
127 "HLT_IsoMu20_eta2p1_v",
131 "HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v",
132 "HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v",
133 "HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v",
134 "HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v",
135 "HLT_Mu23_TrkIsoVVL_Ele8_CaloIdL_TrackIdL_IsoVL_v",
136 "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v",
137 "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v",
138 "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v",
139 "HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v",
140 "HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v",
141 "HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v",
143 "HLT_Ele17_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v",
144 "HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v",
145 "HLT_Mu17_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v",
147 "HLT_Ele17_CaloIdL_TrackIdL_IsoVL_v",
148 "HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v",
149 "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v",
150 "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
151 "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
152 "HLT_Ele23_CaloIdL_TrackIdL_IsoVL_v",
153 "HLT_Ele12_CaloIdL_TrackIdL_IsoVL_v",
154 "HLT_Ele17_Ele12_CaloIdL_TrackIdL_IsoVL_v" 156 recMuonLabel = cms.string(
"muons"),
157 recElecLabel = cms.string(
"gedGsfElectrons"),
159 minCandidates = cms.uint32(2),
162 hltPathsToCheck = cms.vstring(
164 "HLT_Ele16_Ele12_Ele8_CaloIdL_TrackIdL_v",
165 "HLT_Mu8_DiEle12_CaloIdL_TrackIdL_v",
166 "HLT_DiMu9_Ele9_CaloIdL_TrackIdL_v",
167 "HLT_TripleMu_12_10_5_v",
168 "HLT_TripleMu_5_3_3_v",
169 "HLT_TripleMu_5_3_3_DZ_Mass3p8_v" 171 recMuonLabel = cms.string(
"muons"),
172 recElecLabel = cms.string(
"gedGsfElectrons"),
175 minCandidates = cms.uint32(4),
177 HZZControlPaths = cms.PSet(
178 hltPathsToCheck = cms.vstring(
179 "HLT_Photon36_R9Id90_HE10_Iso40_EBOnly_PFMET40" 181 recPhotonLabel = cms.string(
"photons"),
182 recPFMETLabel = cms.string(
"pfMet"),
184 minCandidates = cms.uint32(2),
185 PFMET_recCut = cms.untracked.string(
"pt > 20."),
188 hltPathsToCheck = cms.vstring(
191 recMuonLabel = cms.string(
"muons"),
192 recJetLabel = cms.string(
"ak4PFJetsCHS"),
194 Mu_genCut = cms.string(
"pt > 0 && abs(eta) < 2.4 && abs(pdgId) == 13 && status == 1"),
195 Mu_recCut = cms.string(
"pt > 0 && abs(eta) < 2.4 && isGlobalMuon"),
196 minCandidates = cms.uint32(2),
199 hltPathsToCheck = cms.vstring(
200 "HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass90_v",
201 "HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass95_v",
202 "HLT_Diphoton30PV_18PV_R9Id_AND_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v",
203 "HLT_Diphoton30PV_18PV_R9Id_AND_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v",
204 "HLT_Diphoton30EB_18EB_R9Id_OR_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v",
205 "HLT_Diphoton30EB_18EB_R9Id_OR_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v",
206 "HLT_Diphoton30_18_PVrealAND_R9Id_AND_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v",
207 "HLT_Diphoton30_18_PVrealAND_R9Id_AND_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v",
209 recPhotonLabel = cms.string(
"photons"),
211 minCandidates = cms.uint32(2),
213 DoubleHinTaus = cms.PSet(
214 hltPathsToCheck = cms.vstring(
217 "HLT_Mu17_Mu8_SameSign_v",
218 "HLT_Mu17_Mu8_SameSign_DZ_v",
220 "HLT_Mu20_Mu10_DZ_v",
221 "HLT_Mu20_Mu10_SameSign_v",
222 "HLT_Mu20_Mu10_SameSign_DZ_v",
224 recMuonLabel = cms.string(
"muons"),
226 minCandidates = cms.uint32(2),
228 HiggsDalitz = cms.PSet(
229 hltPathsToCheck = cms.vstring(
230 "HLT_Mu17_Photon22_CaloIdL_L1ISO_v",
231 "HLT_Mu12_Photon25_CaloIdL_L1ISO_v",
232 "HLT_Mu17_Photon30_CaloIdL_L1ISO_v",
233 "HLT_Mu17_Photon35_CaloIdL_L1ISO_v",
234 "HLT_Mu12_Photon25_CaloIdL_v",
235 "HLT_Mu12_Photon25_CaloIdL_L1OR_v" 237 recMuonLabel = cms.string(
"muons"),
238 recPhotonLabel = cms.string(
"photons"),
240 minCandidates = cms.uint32(2),
243 hltPathsToCheck = cms.vstring(
244 "HLT_LooseIsoPFTau50_Trk30_eta2p1_MET80_JetIdCleaned_v",
245 "HLT_LooseIsoPFTau50_Trk30_eta2p1_MET120_JetIdCleaned_v",
246 "HLT_LooseIsoPFTau50_Trk30_eta2p1_v",
247 "HLT_LooseIsoPFTau50_Trk30_eta2p1_MET80_v",
248 "HLT_LooseIsoPFTau50_Trk30_eta2p1_MET120_v",
249 "HLT_IsoMu16_eta2p1_CaloMET30_LooseIsoPFTau50_Trk30_eta2p1_v",
250 "HLT_IsoMu16_eta2p1_CaloMET30_v" 252 recPFTauLabel = cms.string(
"hpsPFTauProducer"),
253 recCaloMETLabel = cms.string(
"caloMet"),
254 recMuonLabel = cms.string(
"muons"),
256 minCandidates = cms.uint32(1),
257 parametersTurnOn = cms.vdouble(0,
259 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
260 22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
261 45, 50, 55, 60, 65, 70,
262 80, 100, 120, 140, 160, 180, 200,
266 hltPathsToCheck = cms.vstring(
267 "HLT_IsoMu17_eta2p1_LooseIsoPFTau20_v",
268 "HLT_DoubleMediumIsoPFTau40_Trk1_eta2p1_Reg_v",
269 "HLT_IsoMu17_eta2p1_LooseIsoPFTau20_SingleL1_v",
270 "HLT_IsoMu17_eta2p1_MediumIsoPFTau40_Trk1_eta2p1_Reg_v",
271 "HLT_IsoMu17_eta2p1_v",
272 "HLT_DoubleIsoMu17_eta2p1_v",
273 "HLT_IsoMu16_eta2p1_CaloMET30_v",
274 "HLT_Mu16_eta2p1_CaloMET30_v",
275 "HLT_Ele27_eta2p1_WPLoose_Gsf_DoubleMediumIsoPFTau40_Trk1_eta2p1_Reg_v",
276 "HLT_Ele32_eta2p1_WPLoose_Gsf_DoubleMediumIsoPFTau40_Trk1_eta2p1_Reg_v",
277 "HLT_Ele27_eta2p1_WPLoose_Gsf_LooseIsoPFTau20_v",
278 "HLT_Ele32_eta2p1_WPLoose_Gsf_LooseIsoPFTau20_v",
279 "HLT_Ele22_eta2p1_WPLoose_Gsf_v",
280 "HLT_Ele22_eta2p1_WPTight_Gsf_v",
281 "HLT_DoubleEle24_22_eta2p1_WPLoose_Gsf_v",
282 "HLT_IsoMu24_eta2p1_LooseIsoPFTau20_v",
283 "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v",
284 "HLT_Ele22_eta2p1_WPLoose_Gsf_LooseIsoPFTau20_v",
285 "HLT_Ele27_eta2p1_WPLoose_Gsf_v",
286 "HLT_Ele27_eta2p1_WPTight_Gsf_v",
287 "HLT_Ele32_eta2p1_WPLoose_Gsf_v",
288 "HLT_Ele32_eta2p1_WPTight_Gsf_v",
290 recPFTauLabel = cms.string(
"hpsPFTauProducer"),
291 recMuonLabel = cms.string(
"muons"),
292 recElecLabel = cms.string(
"gedGsfElectrons"),
293 recCaloMETLabel = cms.string(
"caloMet"),
295 minCandidates = cms.uint32(2),
297 VBFHbb_0btag = cms.PSet(
298 hltPathsToCheck = cms.vstring(
299 "HLT_QuadPFJet_VBF_v",
300 "HLT_L1_TripleJet_VBF_v" 302 recJetLabel = cms.string(
"ak4PFJetsCHS"),
303 jetTagLabel = cms.string(
"pfCombinedSecondaryVertexV2BJetTags"),
305 minCandidates = cms.uint32(4),
306 NminOneCuts = cms.untracked.vdouble(2.5, 240, 2.1, 0, 0, 0, 0, 0, 0, 95, 85, 70, 40),
308 VBFHbb_2btag = cms.PSet(
309 hltPathsToCheck = cms.vstring(
310 "HLT_QuadPFJet_BTagCSV_p016_p11_VBF_Mqq200_v",
311 "HLT_QuadPFJet_BTagCSV_p016_p11_VBF_Mqq240_v",
313 recJetLabel = cms.string(
"ak4PFJetsCHS"),
314 jetTagLabel = cms.string(
"pfCombinedSecondaryVertexV2BJetTags"),
316 minCandidates = cms.uint32(4),
317 NminOneCuts = cms.untracked.vdouble(2.5, 240, 2.1, 0.8, 0.5, 0, 0, 0, 0, 95, 85, 70, 40),
319 VBFHbb_1btag = cms.PSet(
320 hltPathsToCheck = cms.vstring(
321 "HLT_QuadPFJet_BTagCSV_p016_VBF_Mqq460_v",
322 "HLT_QuadPFJet_BTagCSV_p016_VBF_Mqq500_v",
324 recJetLabel = cms.string(
"ak4PFJetsCHS"),
325 jetTagLabel = cms.string(
"pfCombinedSecondaryVertexV2BJetTags"),
327 minCandidates = cms.uint32(4),
328 NminOneCuts = cms.untracked.vdouble(5, 550, 1.0, 0.8, 0, 0, 0, 0, 0, 95, 85, 70, 40),
331 hltPathsToCheck = cms.vstring(
332 "HLT_CaloMHTNoPU90_PFMET90_PFMHT90_IDTight_BTagCSV_p067_v",
333 "HLT_CaloMHTNoPU90_PFMET90_PFMHT90_IDTight_v" 334 "HLT_PFMET120_PFMHT120_IDTight_v",
335 "HLT_PFMET110_PFMHT110_IDTight_v",
336 "HLT_PFMET100_PFMHT100_IDTight_v",
337 "HLT_PFMET100_PFMHT100_IDTight_BeamHaloCleaned_v",
338 "HLT_PFMET90_PFMHT90_IDTight_v",
340 "HLT_CaloMHTNoPU90_PFMET90_PFMHT90_IDTight_BTagCSV0p72_v" 342 Jet_recCut = cms.string(
"pt > 10 && abs(eta) < 2.6"),
343 recJetLabel = cms.string(
"ak4PFJetsCHS"),
344 jetTagLabel = cms.string(
"pfCombinedSecondaryVertexV2BJetTags"),
345 recPFMETLabel = cms.string(
"pfMet"),
347 minCandidates = cms.uint32(1),
348 NminOneCuts = cms.untracked.vdouble(0, 0, 0, 0.9, 0, 0, 8, 30, 100, 70),
351 hltPathsToCheck = cms.vstring(
352 "HLT_DoubleJet90_Double30_TripleBTagCSV_p087_v",
353 "HLT_DoubleJet90_Double30_DoubleBTagCSV_p087_v",
354 "HLT_QuadJet45_TripleBTagCSV_p087_v",
355 "HLT_QuadJet45_DoubleBTagCSV_p087_v",
357 "HLT_DoubleJet90_Double30_TripleBTagCSV0p67_v",
358 "HLT_DoubleJet90_Double30_DoubleBTagCSV0p67_v",
359 "HLT_QuadJet45_TripleBTagCSV0p67_v",
360 "HLT_QuadJet45_DoubleBTagCSV0p67_v",
362 recJetLabel = cms.string(
"ak4PFJetsCHS"),
363 jetTagLabel = cms.string(
"pfCombinedSecondaryVertexV2BJetTags"),
365 minCandidates = cms.uint32(4),
366 NminOneCuts = cms.untracked.vdouble(0, 0, 0, 0.5, 0.5 , 0.5, 0, 0, 0, 0, 90, 0, 45),
369 hltPathsToCheck = cms.vstring(
370 "HLT_Ele27_eta2p1_WPLoose_Gsf_v",
371 "HLT_Ele27_eta2p1_WPLoose_Gsf_HT200_v",
373 recElecLabel = cms.string(
"gedGsfElectrons"),
377 minCandidates = cms.uint32(1),
378 HtJetPtMin = cms.untracked.double(30),
379 HtJetEtaMax = cms.untracked.double(3.0),
382 hltPathsToCheck = cms.vstring(
383 "HLT_PFHT450_SixJet40_BTagCSV_p056_v",
384 "HLT_PFHT400_SixJet30_DoubleBTagCSV_p056_v",
385 "HLT_PFHT450_SixJet40_v",
386 "HLT_PFHT400_SixJet30_v",
388 "HLT_PFHT450_SixJet40_PFBTagCSV0p72_v",
389 "HLT_PFHT400_SixJet30_BTagCSV0p55_2PFBTagCSV0p72_v",
392 recJetLabel = cms.string(
"ak4PFJetsCHS"),
393 jetTagLabel = cms.string(
"pfCombinedSecondaryVertexV2BJetTags"),
395 minCandidates = cms.uint32(6),
397 WHToENuBB = cms.PSet(
398 hltPathsToCheck = cms.vstring(
399 "HLT_Ele27_WPLoose_Gsf_WHbbBoost_v",
400 "HLT_Ele23_WPLoose_Gsf_WHbbBoost_v" 402 recElecLabel = cms.string(
"gedGsfElectrons"),
403 recJetLabel = cms.string(
"ak4PFJetsCHS"),
404 minCandidates = cms.uint32(1),
408 VBFHToInv = cms.PSet(
409 hltPathsToCheck = cms.vstring(
410 "HLT_DiPFJet40_DEta3p5_MJJ600_PFMETNoMu140_v",
411 "HLT_DiPFJet40_DEta3p5_MJJ600_PFMETNoMu80_v",
412 "HLT_DiPFJet40_DEta3p5_MJJ600_PFMETNoMu140_JetIdCleaned_v",
413 "HLT_DiPFJet40_DEta3p5_MJJ600_PFMETNoMu80_JetIdCleaned_v" 415 recJetLabel = cms.string(
"ak4PFJetsCHS"),
416 recPFMETLabel = cms.string(
"pfMet"),
417 minCandidates = cms.uint32(2),
421 hltHiggsValidator_run3 = hltHiggsValidator.clone()
422 hltHiggsValidator_run3.VBFHbb_0btag.jetTagLabel =
"pfDeepCSVJetTags:probb" 423 hltHiggsValidator_run3.VBFHbb_1btag.jetTagLabel =
"pfDeepCSVJetTags:probb" 424 hltHiggsValidator_run3.VBFHbb_2btag.jetTagLabel =
"pfDeepCSVJetTags:probb" 425 hltHiggsValidator_run3.ZnnHbb.jetTagLabel =
"pfDeepCSVJetTags:probb" 426 hltHiggsValidator_run3.X4b.jetTagLabel =
"pfDeepCSVJetTags:probb" 427 hltHiggsValidator_run3.AHttH.jetTagLabel =
"pfDeepCSVJetTags:probb" 429 run3_common.toReplaceWith( hltHiggsValidator, hltHiggsValidator_run3)