1 import FWCore.ParameterSet.Config
as cms
5 etBinsStd=cms.vdouble(5,10,12.5,15,17.5,20,22.5,25,30,35,40,45,50,60,80,100,150,200,250,300,350,400)
6 scEtaBinsStd = cms.vdouble(-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.566,-1.4442,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5)
7 phiBinsStd = cms.vdouble(-3.32,-2.97,-2.62,-2.27,-1.92,-1.57,-1.22,-0.87,-0.52,-0.18,0.18,0.52,0.87,1.22,1.57,1.92,2.27,2.62,2.97,3.32)
10 rangeVar=cms.string(
"et"),
11 allowedRanges=cms.vstring(
"0:10000"),
13 ecalBarrelEtaCut=cms.PSet(
14 rangeVar=cms.string(
"scEta"),
15 allowedRanges=cms.vstring(
"-1.4442:1.4442")
17 ecalEndcapEtaCut=cms.PSet(
18 rangeVar=cms.string(
"scEta"),
19 allowedRanges=cms.vstring(
"-2.5:-1.556",
"1.556:2.5")
21 ecalEndcapHighEtaCut=cms.PSet(
22 rangeVar=cms.string(
"scEta"),
23 allowedRanges=cms.vstring(
"-3.0:-2.5",
"2.5:3.0")
25 ecalEndcapPosHighEtaCut= cms.PSet(
26 rangeVar=cms.string(
"scEta"),
27 allowedRanges=cms.vstring(
"2.5:3.0"),
29 ecalEndcapNegHighEtaCut= cms.PSet(
30 rangeVar=cms.string(
"scEta"),
31 allowedRanges=cms.vstring(
"-3.0:-2.5"),
34 ecalBarrelAndEndcapEtaCut = cms.PSet(
35 rangeVar=cms.string(
"scEta"),
36 allowedRanges=cms.vstring(
"-1.4442:1.4442",
"-2.5:-1.556",
"1.556:2.5"),
38 hcalPosEtaCut= cms.PSet(
39 rangeVar=cms.string(
"scEta"),
40 allowedRanges=cms.vstring(
"1.3:1.4442",
"1.556:2.5"),
43 hcalNegEtaCut= cms.PSet(
44 rangeVar=cms.string(
"scEta"),
45 allowedRanges=cms.vstring(
"-2.5:-1.556",
"-1.4442:-1.3"),
49 rangeVar=cms.string(
"eta"),
50 allowedRanges=cms.vstring(
"-2.4:2.4")
52 tagAndProbeConfigEleWPTight = cms.PSet(
53 trigEvent = cms.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT"),
54 tagColl = cms.InputTag(
"gedGsfElectrons"),
55 probeColl = cms.InputTag(
"gedGsfElectrons"),
56 tagVIDCuts = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-RunIIIWinter22-V1-tight"),
57 probeVIDCuts = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-RunIIIWinter22-V1-tight"),
58 sampleTrigRequirements = cms.PSet(
59 hltInputTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
60 hltPaths = cms.vstring(
"HLT_Ele30_WPTight_Gsf_v*",
"HLT_Ele32_WPTight_Gsf_v*",
"HLT_Ele35_WPTight_Gsf_v*" 61 "HLT_Ele38_WPTight_Gsf_v*",
62 "HLT_Ele32_WPTight_Gsf_L1DoubleEG_v*",
66 tagFilters = cms.vstring(
"hltEle30WPTightGsfTrackIsoFilter",
67 "hltEle32WPTightGsfTrackIsoFilter" 68 "hltEle35noerWPTightGsfTrackIsoFilter" 69 "hltEle38noerWPTightGsfTrackIsoFilter" 70 "hltEle32L1DoubleEGWPTightGsfTrackIsoFilter" ),
71 tagFiltersORed = cms.bool(
True),
72 tagRangeCuts = cms.VPSet(ecalBarrelEtaCut),
73 probeFilters = cms.vstring(),
74 probeFiltersORed = cms.bool(
False),
75 probeRangeCuts = cms.VPSet(ecalBarrelAndEndcapEtaCut),
76 minTagProbeDR = cms.double(0),
77 minMass = cms.double(70.0),
78 maxMass = cms.double(110.0),
79 requireOpSign = cms.bool(
False),
84 tagAndProbeElePhoConfigEleWPTight = tagAndProbeConfigEleWPTight.clone(
85 probeColl=cms.InputTag(
"gedPhotons"),
86 probeVIDCuts=cms.InputTag(
"cutBasedPhotonID-RunIIIWinter22-122X-V1-loose"),
87 minTagProbeDR=cms.double(0.1)
90 tagAndProbeElePhoHighEtaConfigEleWPTight = tagAndProbeConfigEleWPTight.clone(
91 probeColl=cms.InputTag(
"gedPhotons"),
92 probeVIDCuts=cms.InputTag(
"cutBasedPhotonID-RunIIIWinter22-122X-V1-loose"),
93 probeRangeCuts = cms.VPSet(),
94 minTagProbeDR=cms.double(0.1)
97 tagAndProbeMuonEleConfigIsoMu = cms.PSet(
98 trigEvent = cms.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT"),
99 tagColl = cms.InputTag(
"muons"),
100 probeColl = cms.InputTag(
"gedGsfElectrons"),
101 tagVIDCuts = cms.InputTag(
"egmDQMSelectedMuons"),
102 probeVIDCuts = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-RunIIIWinter22-V1-tight"),
103 sampleTrigRequirements = cms.PSet(
104 hltInputTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
105 hltPaths = cms.vstring(
"HLT_IsoMu27_v*")
109 tagFilters = cms.vstring(
"hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p07"),
110 tagFiltersORed = cms.bool(
True),
111 tagRangeCuts = cms.VPSet(muonEtaCut),
112 probeFilters = cms.vstring(),
113 probeFiltersORed = cms.bool(
False),
114 probeRangeCuts = cms.VPSet(ecalBarrelAndEndcapEtaCut),
115 minTagProbeDR = cms.double(0.4),
116 minMass = cms.double(-1),
117 maxMass = cms.double(-1),
118 requireOpSign = cms.bool(
False),
122 tagAndProbeMuonPhoConfigIsoMu = tagAndProbeMuonEleConfigIsoMu.clone(
123 probeColl=cms.InputTag(
"gedPhotons"),
124 probeVIDCuts=cms.InputTag(
"cutBasedPhotonID-RunIIIWinter22-122X-V1-loose"),
127 egammaStdHistConfigs = cms.VPSet(
129 histType=cms.string(
"1D"),
130 vsVar=cms.string(
"et"),
131 nameSuffex=cms.string(
"_EBvsEt"),
132 rangeCuts=cms.VPSet(ecalBarrelEtaCut),
133 binLowEdges=etBinsStd,
136 histType=cms.string(
"1D"),
137 vsVar=cms.string(
"et"),
138 nameSuffex=cms.string(
"_EEvsEt"),
139 rangeCuts=cms.VPSet(ecalEndcapEtaCut),
140 binLowEdges=etBinsStd,
143 histType=cms.string(
"1D"),
144 vsVar=cms.string(
"scEta"),
145 nameSuffex=cms.string(
"_vsSCEta"),
146 rangeCuts=cms.VPSet(),
147 binLowEdges=scEtaBinsStd,
150 histType=cms.string(
"1D"),
151 vsVar=cms.string(
"phi"),
152 nameSuffex=cms.string(
"_EBvsPhi"),
153 rangeCuts=cms.VPSet(ecalBarrelEtaCut),
154 binLowEdges=phiBinsStd,
157 histType=cms.string(
"1D"),
158 vsVar=cms.string(
"phi"),
159 nameSuffex=cms.string(
"_EEvsPhi"),
160 rangeCuts=cms.VPSet(ecalEndcapEtaCut),
161 binLowEdges=phiBinsStd,
164 histType=cms.string(
"2D"),
165 xVar=cms.string(
"scEta"),
166 yVar=cms.string(
"phi"),
167 nameSuffex=cms.string(
"_vsSCEtaPhi"),
168 rangeCuts=cms.VPSet(),
169 xBinLowEdges=scEtaBinsStd,
170 yBinLowEdges=phiBinsStd,
175 egammaHighEtaHistConfigs = cms.VPSet(
177 histType=cms.string(
"1D"),
178 vsVar=cms.string(
"et"),
179 nameSuffex=cms.string(
"_vsEt"),
180 rangeCuts=cms.VPSet(),
181 binLowEdges=etBinsStd,
184 histType=cms.string(
"1D"),
185 vsVar=cms.string(
"scEta"),
186 nameSuffex=cms.string(
"_vsSCEta"),
187 rangeCuts=cms.VPSet(),
188 binLowEdges=cms.vdouble(-3.0,-2.9,-2.8,-2.7,-2.6,-2.5,2.5,2.6,2.7,2.8,2.9,3.0),
191 histType=cms.string(
"1D"),
192 vsVar=cms.string(
"phi"),
193 nameSuffex=cms.string(
"_vsPhi"),
194 rangeCuts=cms.VPSet(),
195 binLowEdges=phiBinsStd,
198 histType=cms.string(
"2D"),
199 xVar=cms.string(
"scEta"),
200 yVar=cms.string(
"phi"),
201 nameSuffex=cms.string(
"_vsSCEtaPhi"),
202 rangeCuts=cms.VPSet(),
203 xBinLowEdges=cms.vdouble(-3.0,-2.9,-2.8,-2.7,-2.6,-2.5,2.5,2.6,2.7,2.8,2.9,3.0),
204 yBinLowEdges=phiBinsStd,
209 egammaStdFiltersToMonitor= cms.VPSet(
211 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoubleEle33_CaloIdL_MW"),
212 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"40:99999")),),
213 filterName = cms.string(
"hltEle33CaloIdLMWPMS2Filter"),
214 histTitle = cms.string(
""),
215 tagExtraFilter = cms.string(
""),
218 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoubleEle33_CaloIdL_MW"),
219 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"40:99999")),),
220 filterName = cms.string(
"hltDiEle33CaloIdLMWPMS2UnseededFilter"),
221 histTitle = cms.string(
""),
222 tagExtraFilter = cms.string(
"hltEle33CaloIdLMWPMS2Filter"),
225 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon300_NoHE"),
226 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"320:99999")),),
227 filterName = cms.string(
"hltEG300erFilter"),
228 histTitle = cms.string(
""),
229 tagExtraFilter = cms.string(
""),
232 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton70"),
233 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"80:99999")),),
234 filterName = cms.string(
"hltEG70HEFilter"),
235 histTitle = cms.string(
""),
236 tagExtraFilter = cms.string(
""),
239 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton70"),
240 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"80:99999")),),
241 filterName = cms.string(
"hltDiEG70HEUnseededFilter"),
242 histTitle = cms.string(
""),
243 tagExtraFilter = cms.string(
"hltEG70HEFilter"),
246 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton85"),
247 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"90:99999")),),
248 filterName = cms.string(
"hltEG85HEFilter"),
249 histTitle = cms.string(
""),
250 tagExtraFilter = cms.string(
""),
253 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton85"),
254 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"80:99999")),),
255 filterName = cms.string(
"hltDiEG85HEUnseededFilter"),
256 histTitle = cms.string(
""),
257 tagExtraFilter = cms.string(
"hltEG85HEFilter"),
260 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DiSC30_18_EIso_AND_HE_Mass70"),
261 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
262 filterName = cms.string(
"hltEG30EIso15HE30EcalIsoLastFilter"),
263 histTitle = cms.string(
""),
264 tagExtraFilter = cms.string(
""),
267 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DiSC30_18_EIso_AND_HE_Mass70"),
268 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
269 filterName = cms.string(
"hltEG18EIso15HE30EcalIsoUnseededFilter"),
270 histTitle = cms.string(
""),
271 tagExtraFilter = cms.string(
"hltEG30EIso15HE30EcalIsoLastFilter"),
274 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL"),
275 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"26:99999")),),
276 filterName = cms.string(
"hltEle23Ele12CaloIdLTrackIdLIsoVLTrackIsoLeg1Filter"),
277 histTitle = cms.string(
""),
278 tagExtraFilter = cms.string(
""),
281 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL"),
282 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"15:99999")),),
283 filterName = cms.string(
"hltEle23Ele12CaloIdLTrackIdLIsoVLTrackIsoLeg2Filter"),
284 histTitle = cms.string(
""),
285 tagExtraFilter = cms.string(
""),
288 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele30_WPTight_Gsf"),
289 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"33:99999")),),
290 filterName = cms.string(
"hltEle30WPTightGsfTrackIsoFilter"),
291 histTitle = cms.string(
""),
292 tagExtraFilter = cms.string(
""),
295 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf"),
296 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
297 filterName = cms.string(
"hltEle32WPTightGsfTrackIsoFilter"),
298 histTitle = cms.string(
""),
299 tagExtraFilter = cms.string(
""),
302 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele35_WPTight_Gsf"),
303 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"42:99999")),),
304 filterName = cms.string(
"hltEle35noerWPTightGsfTrackIsoFilter"),
305 histTitle = cms.string(
""),
306 tagExtraFilter = cms.string(
""),
309 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele38_WPTight_Gsf"),
310 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"42:99999")),),
311 filterName = cms.string(
"hltEle38noerWPTightGsfTrackIsoFilter"),
312 histTitle = cms.string(
""),
313 tagExtraFilter = cms.string(
""),
316 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf_L1DoubleEG"),
317 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
318 filterName = cms.string(
"hltEle32L1DoubleEGWPTightGsfTrackIsoFilter"),
319 histTitle = cms.string(
""),
320 tagExtraFilter = cms.string(
""),
323 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon33"),
324 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
325 filterName = cms.string(
"hltEG33L1EG26HEFilter"),
326 histTitle = cms.string(
""),
327 tagExtraFilter = cms.string(
""),
330 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon50"),
331 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"55:99999")),),
332 filterName = cms.string(
"hltEG50HEFilter"),
333 histTitle = cms.string(
""),
334 tagExtraFilter = cms.string(
""),
337 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon75"),
338 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"80:99999")),),
339 filterName = cms.string(
"hltEG75HEFilter"),
340 histTitle = cms.string(
""),
341 tagExtraFilter = cms.string(
""),
344 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon90"),
345 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"95:99999")),),
346 filterName = cms.string(
"hltEG90HEFilter"),
347 histTitle = cms.string(
""),
348 tagExtraFilter = cms.string(
""),
351 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon120"),
352 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"95:99999")),),
353 filterName = cms.string(
"hltEG120HEFilter"),
354 histTitle = cms.string(
""),
355 tagExtraFilter = cms.string(
""),
358 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon150"),
359 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"160:99999")),),
360 filterName = cms.string(
"hltEG150HEFilter"),
361 histTitle = cms.string(
""),
362 tagExtraFilter = cms.string(
""),
365 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon175"),
366 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"180:99999")),),
367 filterName = cms.string(
"hltEG175HEFilter"),
368 histTitle = cms.string(
""),
369 tagExtraFilter = cms.string(
""),
372 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Photon200"),
373 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"220:99999")),),
374 filterName = cms.string(
"hltEG200HEFilter"),
375 histTitle = cms.string(
""),
376 tagExtraFilter = cms.string(
""),
379 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_CaloJet500_NoJetID"),
380 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"500:99999")),),
381 filterName = cms.string(
"hltSingleCaloJet500"),
382 histTitle = cms.string(
""),
383 tagExtraFilter = cms.string(
""),
386 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_CaloJet550_NoJetID"),
387 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"550:99999")),),
388 filterName = cms.string(
"hltSingleCaloJet550"),
389 histTitle = cms.string(
""),
390 tagExtraFilter = cms.string(
""),
393 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele28_HighEta_SC20_Mass55"),
394 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"32:99999")),),
395 filterName = cms.string(
"hltEle28HighEtaSC20TrackIsoFilter"),
396 histTitle = cms.string(
""),
397 tagExtraFilter = cms.string(
""),
400 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele50_CaloIdVT_GsfTrkIdT_PFJet165"),
401 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"55:99999")),),
402 filterName = cms.string(
"hltEle50CaloIdVTGsfTrkIdTGsfDphiFilter"),
403 histTitle = cms.string(
""),
404 tagExtraFilter = cms.string(
""),
407 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele115_CaloIdVT_GsfTrkIdT"),
408 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"120:99999")),),
409 filterName = cms.string(
"hltEle115CaloIdVTGsfTrkIdTGsfDphiFilter"),
410 histTitle = cms.string(
""),
411 tagExtraFilter = cms.string(
""),
414 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele135_CaloIdVT_GsfTrkIdT"),
415 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"140:99999")),),
416 filterName = cms.string(
"hltEle135CaloIdVTGsfTrkIdTGsfDphiFilter"),
417 histTitle = cms.string(
""),
418 tagExtraFilter = cms.string(
""),
421 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DiEle27_WPTightCaloOnly_L1DoubleEG"),
422 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"30:99999")),),
423 filterName = cms.string(
"hltEle27L1DoubleEGWPTightHcalIsoFilter"),
424 histTitle = cms.string(
""),
425 tagExtraFilter = cms.string(
""),
428 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DiEle27_WPTightCaloOnly_L1DoubleEG"),
429 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"30:99999")),),
430 filterName = cms.string(
"hltDiEle27L1DoubleEGWPTightEcalIsoFilter"),
431 histTitle = cms.string(
""),
432 tagExtraFilter = cms.string(
"hltEle27L1DoubleEGWPTightHcalIsoFilter"),
435 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoubleEle25_CaloIdL_MW"),
436 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"28:99999")),),
437 filterName = cms.string(
"hltEle25CaloIdLMWPMS2Filter"),
438 histTitle = cms.string(
""),
439 tagExtraFilter = cms.string(
""),
442 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoubleEle25_CaloIdL_MW"),
443 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"28:99999")),),
444 filterName = cms.string(
"hltDiEle25CaloIdLMWPMS2UnseededFilter"),
445 histTitle = cms.string(
""),
446 tagExtraFilter = cms.string(
"hltEle25CaloIdLMWPMS2Filter"),
449 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoubleEle27_CaloIdL_MW"),
450 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"30:99999")),),
451 filterName = cms.string(
"hltEle27CaloIdLMWPMS2Filter"),
452 histTitle = cms.string(
""),
453 tagExtraFilter = cms.string(
""),
456 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoubleEle27_CaloIdL_MW"),
457 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"30:99999")),),
458 filterName = cms.string(
"hltDiEle27CaloIdLMWPMS2UnseededFilter"),
459 histTitle = cms.string(
""),
460 tagExtraFilter = cms.string(
"hltEle27CaloIdLMWPMS2Filter"),
463 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele27_Ele37_CaloIdL_MW"),
464 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"30:99999")),),
465 filterName = cms.string(
"hltEle27CaloIdLMWPMS2Filter"),
466 histTitle = cms.string(
""),
467 tagExtraFilter = cms.string(
""),
470 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele27_Ele37_CaloIdL_MW"),
471 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"30:99999")),),
472 filterName = cms.string(
"hltDiEle27CaloIdLMWPMS2UnseededFilter"),
473 histTitle = cms.string(
""),
474 tagExtraFilter = cms.string(
"hltEle27CaloIdLMWPMS2Filter"),
477 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele27_Ele37_CaloIdL_MW"),
478 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"40:99999")),),
479 filterName = cms.string(
"hltEle37CaloIdLMWPMS2UnseededFilter"),
480 histTitle = cms.string(
""),
481 tagExtraFilter = cms.string(
"hltEle27CaloIdLMWPMS2Filter"),
488 egammaPhoHighEtaFiltersToMonitor= cms.VPSet(
490 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele28_HighEta_SC20_Mass55"),
491 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"22:99999")),
494 filterName = cms.string(
"hltEle28HighEtaSC20Mass55Filter"),
495 histTitle = cms.string(
""),
496 tagExtraFilter = cms.string(
"hltEle28HighEtaSC20TrackIsoFilter"),
499 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele28_HighEta_SC20_Mass55"),
500 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"22:99999")),
503 filterName = cms.string(
"hltEle28HighEtaSC20HcalIsoFilterUnseeded"),
504 histTitle = cms.string(
""),
505 tagExtraFilter = cms.string(
"hltEle28HighEtaSC20TrackIsoFilter"),
509 egammaPhoFiltersToMonitor= cms.VPSet(
511 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2"),
512 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"25:99999")),),
513 filterName = cms.string(
"hltEG20CaloIdLV2ClusterShapeL1TripleEGFilter"),
514 histTitle = cms.string(
""),
515 tagExtraFilter = cms.string(
""),
518 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2"),
519 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"25:99999")),),
520 filterName = cms.string(
"hltTriEG20CaloIdLV2ClusterShapeUnseededFilter"),
521 histTitle = cms.string(
""),
522 tagExtraFilter = cms.string(
"hltEG20CaloIdLV2ClusterShapeL1TripleEGFilter"),
525 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2_R9IdVL"),
526 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"25:99999")),),
527 filterName = cms.string(
"hltEG20CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
528 histTitle = cms.string(
""),
529 tagExtraFilter = cms.string(
""),
532 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2_R9IdVL"),
533 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"25:99999")),),
534 filterName = cms.string(
"hltTriEG20CaloIdLV2R9IdVLR9IdUnseededFilter"),
535 histTitle = cms.string(
""),
536 tagExtraFilter = cms.string(
"hltEG20CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
540 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2"),
541 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
542 filterName = cms.string(
"hltEG30CaloIdLV2ClusterShapeL1TripleEGFilter"),
543 histTitle = cms.string(
""),
544 tagExtraFilter = cms.string(
""),
548 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2"),
549 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"15:99999")),),
550 filterName = cms.string(
"hltEG10CaloIdLV2ClusterShapeUnseededFilter"),
551 histTitle = cms.string(
""),
552 tagExtraFilter = cms.string(
"hltEG30CaloIdLV2ClusterShapeL1TripleEGFilter"),
556 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2"),
557 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
558 filterName = cms.string(
"hltDiEG30CaloIdLV2EtUnseededFilter"),
559 histTitle = cms.string(
""),
560 tagExtraFilter = cms.string(
"hltEG30CaloIdLV2ClusterShapeL1TripleEGFilter"),
564 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2_R9IdVL"),
565 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
566 filterName = cms.string(
"hltEG30CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
567 histTitle = cms.string(
""),
568 tagExtraFilter = cms.string(
""),
572 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2_R9IdVL"),
573 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"15:99999")),),
574 filterName = cms.string(
"hltEG10CaloIdLV2R9IdVLR9IdUnseededFilter"),
575 histTitle = cms.string(
""),
576 tagExtraFilter = cms.string(
"hltEG30CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
581 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2_R9IdVL"),
582 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
583 filterName = cms.string(
"hltDiEG30CaloIdLV2R9IdVLEtUnseededFilter"),
584 histTitle = cms.string(
""),
585 tagExtraFilter = cms.string(
"hltEG30CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
589 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_35_35_5_CaloIdLV2_R9IdVL"),
590 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"38:99999")),),
591 filterName = cms.string(
"hltEG35CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
592 histTitle = cms.string(
""),
593 tagExtraFilter = cms.string(
""),
597 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_35_35_5_CaloIdLV2_R9IdVL"),
598 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"10:99999")),),
599 filterName = cms.string(
"hltEG5CaloIdLV2R9IdVLR9IdUnseededFilter"),
600 histTitle = cms.string(
""),
601 tagExtraFilter = cms.string(
"hltEG35CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
605 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_35_35_5_CaloIdLV2_R9IdVL"),
606 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"38:99999")),),
607 filterName = cms.string(
"hltDiEG35CaloIdLV2R9IdVLEtUnseededFilter"),
608 histTitle = cms.string(
""),
609 tagExtraFilter = cms.string(
"hltEG35CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
615 egammaMuPhoFiltersToMonitor= cms.VPSet(
617 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Mu12_DoublePhoton20"),
618 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"25:99999")),),
619 filterName = cms.string(
"hltMu12DiEG20HEUnseededFilter"),
620 histTitle = cms.string(
""),
621 tagExtraFilter = cms.string(
"hltL3fL1sMu12Diphoton20L1f0L2f8QL3Filtered12"),
625 egammaMuEleFiltersToMonitor= cms.VPSet(
627 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Mu12_DoublePhoton20"),
628 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"25:99999")),),
629 filterName = cms.string(
"hltMu12DiEG20HEUnseededFilter"),
630 histTitle = cms.string(
""),
631 tagExtraFilter = cms.string(
"hltL3fL1sMu12Diphoton20L1f0L2f8QL3Filtered12"),
634 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Mu37_Ele27_CaloIdL_MW"),
635 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"30:99999")),),
636 filterName = cms.string(
"hltEle27CaloIdLMWPMS2UnseededFilter"),
637 histTitle = cms.string(
""),
638 tagExtraFilter = cms.string(
"hltL3fL1sMu16orMu25L1f0L2f10QL3Filtered37Q"),
641 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Mu27_Ele37_CaloIdL_MW"),
642 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"42:99999")),),
643 filterName = cms.string(
"hltEle37CaloIdLMWPMS2UnseededFilter"),
644 histTitle = cms.string(
""),
645 tagExtraFilter = cms.string(
"hltL3fL1sMu16orMu25L1f0L2f10QL3Filtered27Q"),
648 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_DoubleEle33_CaloIdL_MW"),
649 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"40:99999")),),
650 filterName = cms.string(
"hltEle33CaloIdLMWPMS2Filter"),
651 histTitle = cms.string(
""),
652 tagExtraFilter = cms.string(
""),
655 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf"),
656 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
657 filterName = cms.string(
"hltEle32WPTightGsfTrackIsoFilter"),
658 histTitle = cms.string(
""),
659 tagExtraFilter = cms.string(
""),
662 folderName = cms.string(
"HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf_L1DoubleEG"),
663 rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring(
"35:99999")),),
664 filterName = cms.string(
"hltEle32L1DoubleEGWPTightGsfTrackIsoFilter"),
665 histTitle = cms.string(
""),
666 tagExtraFilter = cms.string(
""),
670 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
672 tagAndProbeCollections = cms.VPSet(
674 tagAndProbeConfigEleWPTight,
675 histConfigs = egammaStdHistConfigs,
676 baseHistName = cms.string(
"eleWPTightTag_"),
677 filterConfigs = egammaStdFiltersToMonitor,
682 egHLTElePhoHighEtaDQMOfflineTnPSource =
DQMEDAnalyzer(
"HLTElePhoTagAndProbeOfflineSource",
683 tagAndProbeCollections = cms.VPSet(
685 tagAndProbeElePhoHighEtaConfigEleWPTight,
686 histConfigs = egammaHighEtaHistConfigs,
687 baseHistName = cms.string(
"eleWPTightTagPhoHighEtaProbe_"),
688 filterConfigs = egammaPhoHighEtaFiltersToMonitor,
692 egHLTElePhoDQMOfflineTnPSource =
DQMEDAnalyzer(
"HLTElePhoTagAndProbeOfflineSource",
693 tagAndProbeCollections = cms.VPSet(
695 tagAndProbeElePhoConfigEleWPTight,
696 histConfigs = egammaStdHistConfigs,
697 baseHistName = cms.string(
"eleWPTightTagPhoProbe_"),
698 filterConfigs = egammaPhoFiltersToMonitor,
703 egHLTMuonEleDQMOfflineTnPSource =
DQMEDAnalyzer(
"HLTMuEleTagAndProbeOfflineSource",
704 tagAndProbeCollections = cms.VPSet(
706 tagAndProbeMuonEleConfigIsoMu,
707 histConfigs = egammaStdHistConfigs,
708 baseHistName = cms.string(
"muonIsoMuTagEleProbe_"),
709 filterConfigs = egammaMuEleFiltersToMonitor,
713 egHLTMuonPhoDQMOfflineTnPSource =
DQMEDAnalyzer(
"HLTMuPhoTagAndProbeOfflineSource",
714 tagAndProbeCollections = cms.VPSet(
716 tagAndProbeMuonPhoConfigIsoMu,
717 histConfigs = egammaStdHistConfigs,
718 baseHistName = cms.string(
"muonIsoMuTagPhoProbe_"),
719 filterConfigs = egammaMuPhoFiltersToMonitor,
725 from RecoEgamma.ElectronIdentification.egmGsfElectronIDs_cff
import egmGsfElectronIDs
727 egmGsfElectronIDsForDQM = egmGsfElectronIDs.clone()
728 egmGsfElectronIDsForDQM.physicsObjectsIDs = cms.VPSet()
729 egmGsfElectronIDsForDQM.physicsObjectSrc == cms.InputTag(
'gedGsfElectrons')
733 my_id_modules = [
'RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_Winter22_122X_V1_cff']
734 for id_module_name
in my_id_modules:
735 idmod= __import__(id_module_name, globals(), locals(), [
'idName',
'cutFlow'])
736 for name
in dir(idmod):
737 item = getattr(idmod,name)
738 if hasattr(item,
'idName')
and hasattr(item,
'cutFlow'):
742 from RecoEgamma.PhotonIdentification.photonIDValueMapProducer_cff
import photonIDValueMapProducer
743 from RecoEgamma.PhotonIdentification.egmPhotonIDs_cfi
import egmPhotonIDs
744 photonIDValueMapProducerForDQM = photonIDValueMapProducer.clone(
746 vertices=
"offlinePrimaryVertices",
747 ebReducedRecHitCollection=
"reducedEcalRecHitsEB",
748 eeReducedRecHitCollection=
"reducedEcalRecHitsEE",
749 esReducedRecHitCollection=
"reducedEcalRecHitsES",
750 pfCandidates=
"particleFlow",
753 egmPhotonIDsForDQM = egmPhotonIDs.clone()
757 my_id_modules = [
'RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_RunIIIWinter22_122X_V1_cff']
758 for id_module_name
in my_id_modules:
759 idmod= __import__(id_module_name, globals(), locals(), [
'idName',
'cutFlow'])
760 for name
in dir(idmod):
761 item = getattr(idmod,name)
762 if hasattr(item,
'idName')
and hasattr(item,
'cutFlow'):
764 egmPhotonIDSequenceForDQM = cms.Sequence(photonIDValueMapProducerForDQM*
767 egmDQMSelectedMuons = cms.EDProducer(
"HLTDQMMuonSelector",
768 objs=cms.InputTag(
"muons"),
769 vertices=cms.InputTag(
"offlinePrimaryVertices"),
770 selection=cms.string(
"pt > 20"),
771 muonSelectionType=cms.string(
"tight")
773 egmMuonIDSequenceForDQM = cms.Sequence(egmDQMSelectedMuons)