CMS 3D CMS Logo

HLTEGTnPMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #this is the config to define t&p based DQM offline monitoring for e/gamma
4 
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 scEtaBinsHEP17 = cms.vdouble(1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5)
8 scEtaBinsHEM17 = 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)
9 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 phiBinsHE17 = cms.vdouble(-0.87,-0.80,-0.73,-0.66,-0.59,-0.52)
11 
12 etRangeCut= cms.PSet(
13  rangeVar=cms.string("et"),
14  allowedRanges=cms.vstring("0:10000"),
15  )
16 ecalBarrelEtaCut=cms.PSet(
17  rangeVar=cms.string("scEta"),
18  allowedRanges=cms.vstring("-1.4442:1.4442")
19  )
20 ecalEndcapEtaCut=cms.PSet(
21  rangeVar=cms.string("scEta"),
22  allowedRanges=cms.vstring("-2.5:-1.556","1.556:2.5")
23  )
24 ecalEndcapHighEtaCut=cms.PSet(
25  rangeVar=cms.string("scEta"),
26  allowedRanges=cms.vstring("-3.0:-2.5","2.5:3.0")
27  )
28 ecalEndcapPosHighEtaCut= cms.PSet(
29  rangeVar=cms.string("scEta"),
30  allowedRanges=cms.vstring("2.5:3.0"),
31  )
32 ecalEndcapNegHighEtaCut= cms.PSet(
33  rangeVar=cms.string("scEta"),
34  allowedRanges=cms.vstring("-3.0:-2.5"),
35  )
36 
37 ecalBarrelAndEndcapEtaCut = cms.PSet(
38  rangeVar=cms.string("scEta"),
39  allowedRanges=cms.vstring("-1.4442:1.4442","-2.5:-1.556","1.556:2.5"),
40  )
41 hcalPosEtaCut= cms.PSet(
42  rangeVar=cms.string("scEta"),
43  allowedRanges=cms.vstring("1.3:1.4442","1.556:2.5"),
44  )
45 
46 hcalNegEtaCut= cms.PSet(
47  rangeVar=cms.string("scEta"),
48  allowedRanges=cms.vstring("-2.5:-1.556","-1.4442:-1.3"),
49  )
50 hcalPhi17Cut = cms.PSet(
51  rangeVar=cms.string("phi"),
52  allowedRanges=cms.vstring("-0.87:-0.52"),
53  )
54 
55 muonEtaCut=cms.PSet(
56  rangeVar=cms.string("eta"),
57  allowedRanges=cms.vstring("-2.4:2.4")
58  )
59 tagAndProbeConfigEle27WPTight = cms.PSet(
60  trigEvent = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
61  tagColl = cms.InputTag("gedGsfElectrons"),
62  probeColl = cms.InputTag("gedGsfElectrons"),
63  tagVIDCuts = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Summer16-80X-V1-tight"),
64  probeVIDCuts = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Summer16-80X-V1-tight"),
65  sampleTrigRequirements = cms.PSet(
66  hltInputTag = cms.InputTag("TriggerResults","","HLT"),
67  hltPaths = cms.vstring("HLT_Ele27_WPTight_Gsf_v*","HLT_Ele32_WPTight_Gsf_v*","HLT_Ele35_WPTight_Gsf_v*"
68  "HLT_Ele38_WPTight_Gsf_v*",
69  "HLT_Ele27_WPTight_Gsf_L1DoubleEG_v*","HLT_Ele32_WPTight_Gsf_L1DoubleEG_v*",
70  )
71  ),
72  #it is intended that these are the filters of the triggers listed for sampleTrigRequirements
73  tagFilters = cms.vstring("hltEle27WPTightGsfTrackIsoFilter",
74  "hltEle32WPTightGsfTrackIsoFilter"
75  "hltEle35noerWPTightGsfTrackIsoFilter"
76  "hltEle38noerWPTightGsfTrackIsoFilter"
77  "hltEle27L1DoubleEGWPTightGsfTrackIsoFilter",
78  "hltEle32L1DoubleEGWPTightGsfTrackIsoFilter" ),
79  tagFiltersORed = cms.bool(True),
80  tagRangeCuts = cms.VPSet(ecalBarrelEtaCut),
81  probeFilters = cms.vstring(),
82  probeFiltersORed = cms.bool(False),
83  probeRangeCuts = cms.VPSet(ecalBarrelAndEndcapEtaCut),
84  minTagProbeDR = cms.double(0),
85  minMass = cms.double(70.0),
86  maxMass = cms.double(110.0),
87  requireOpSign = cms.bool(False),
88 
89 
90  )
91 tagAndProbeConfigEle27WPTightHEP17 = tagAndProbeConfigEle27WPTight.clone(
92  probeRangeCuts = cms.VPSet(
93  hcalPosEtaCut,
94  hcalPhi17Cut,
95 ))
96 tagAndProbeConfigEle27WPTightHEM17 = tagAndProbeConfigEle27WPTight.clone(
97  probeRangeCuts = cms.VPSet(
98  hcalNegEtaCut,
99  hcalPhi17Cut,
100 ))
101 
102 
103 tagAndProbeElePhoConfigEle27WPTight = tagAndProbeConfigEle27WPTight.clone(
104  probeColl=cms.InputTag("gedPhotons"),
105  probeVIDCuts=cms.InputTag("cutBasedPhotonID-Spring16-V2p2-loose"),
106  minTagProbeDR=cms.double(0.1)
107 )
108 
109 tagAndProbeElePhoConfigEle27WPTightHEP17 = tagAndProbeElePhoConfigEle27WPTight.clone(
110  probeRangeCuts = cms.VPSet(
111  hcalPosEtaCut,
112  hcalPhi17Cut,
113 ))
114 tagAndProbeElePhoConfigEle27WPTightHEM17 = tagAndProbeElePhoConfigEle27WPTight.clone(
115  probeRangeCuts = cms.VPSet(
116  hcalNegEtaCut,
117  hcalPhi17Cut,
118 ))
119 
120 tagAndProbeElePhoHighEtaConfigEle27WPTight = tagAndProbeConfigEle27WPTight.clone(
121  probeColl=cms.InputTag("gedPhotons"),
122  probeVIDCuts=cms.InputTag("cutBasedPhotonID-Spring16-V2p2-loose"),
123  probeRangeCuts = cms.VPSet(),
124  minTagProbeDR=cms.double(0.1)
125 )
126 tagAndProbeElePhoHighEtaConfigEle27WPTightHEP17 = tagAndProbeElePhoHighEtaConfigEle27WPTight.clone(
127  probeRangeCuts = cms.VPSet(
128  ecalEndcapPosHighEtaCut,
129  hcalPhi17Cut,
130 ))
131 tagAndProbeElePhoHighEtaConfigEle27WPTightHEM17 = tagAndProbeElePhoHighEtaConfigEle27WPTight.clone(
132  probeRangeCuts = cms.VPSet(
133  ecalEndcapPosHighEtaCut,
134  hcalPhi17Cut,
135 ))
136 
137 
138 tagAndProbeMuonEleConfigIsoMu = cms.PSet(
139  trigEvent = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
140  tagColl = cms.InputTag("muons"),
141  probeColl = cms.InputTag("gedGsfElectrons"),
142  tagVIDCuts = cms.InputTag("egmDQMSelectedMuons"),
143  probeVIDCuts = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Summer16-80X-V1-tight"),
144  sampleTrigRequirements = cms.PSet(
145  hltInputTag = cms.InputTag("TriggerResults","","HLT"),
146  hltPaths = cms.vstring("HLT_IsoMu27_v*")
147 
148  ),
149  #it is intended that these are the filters of the triggers listed for sampleTrigRequirements
150  tagFilters = cms.vstring("hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p07"),
151  tagFiltersORed = cms.bool(True),
152  tagRangeCuts = cms.VPSet(muonEtaCut),
153  probeFilters = cms.vstring(),
154  probeFiltersORed = cms.bool(False),
155  probeRangeCuts = cms.VPSet(ecalBarrelAndEndcapEtaCut),
156  minTagProbeDR = cms.double(0.4),
157  minMass = cms.double(-1),
158  maxMass = cms.double(-1),
159  requireOpSign = cms.bool(False),
160  )
161 
162 tagAndProbeMuonEleConfigIsoMuHEP17 = tagAndProbeMuonEleConfigIsoMu.clone(
163  probeRangeCuts = cms.VPSet(
164  hcalPosEtaCut,
165  hcalPhi17Cut,
166  )
167  )
168 tagAndProbeMuonEleConfigIsoMuHEM17 = tagAndProbeMuonEleConfigIsoMu.clone(
169  probeRangeCuts = cms.VPSet(
170  hcalNegEtaCut,
171  hcalPhi17Cut,
172  )
173  )
174 
175 tagAndProbeMuonPhoConfigIsoMu = tagAndProbeMuonEleConfigIsoMu.clone(
176  probeColl=cms.InputTag("gedPhotons"),
177  probeVIDCuts=cms.InputTag("cutBasedPhotonID-Spring16-V2p2-loose"),
178 )
179 tagAndProbeMuonPhoConfigIsoMuHEP17 = tagAndProbeMuonPhoConfigIsoMu.clone(
180  probeRangeCuts = cms.VPSet(
181  hcalPosEtaCut,
182  hcalPhi17Cut,
183  )
184  )
185 tagAndProbeMuonPhoConfigIsoMuHEM17 = tagAndProbeMuonPhoConfigIsoMu.clone(
186  probeRangeCuts = cms.VPSet(
187  hcalNegEtaCut,
188  hcalPhi17Cut,
189  )
190  )
191 
192 
193 egammaStdHistConfigs = cms.VPSet(
194  cms.PSet(
195  histType=cms.string("1D"),
196  vsVar=cms.string("et"),
197  nameSuffex=cms.string("_EBvsEt"),
198  rangeCuts=cms.VPSet(ecalBarrelEtaCut),
199  binLowEdges=etBinsStd,
200  ),
201  cms.PSet(
202  histType=cms.string("1D"),
203  vsVar=cms.string("et"),
204  nameSuffex=cms.string("_EEvsEt"),
205  rangeCuts=cms.VPSet(ecalEndcapEtaCut),
206  binLowEdges=etBinsStd,
207  ),
208  cms.PSet(
209  histType=cms.string("1D"),
210  vsVar=cms.string("scEta"),
211  nameSuffex=cms.string("_vsSCEta"),
212  rangeCuts=cms.VPSet(),
213  binLowEdges=scEtaBinsStd,
214  ),
215  cms.PSet(
216  histType=cms.string("1D"),
217  vsVar=cms.string("phi"),
218  nameSuffex=cms.string("_EBvsPhi"),
219  rangeCuts=cms.VPSet(ecalBarrelEtaCut),
220  binLowEdges=phiBinsStd,
221  ),
222  cms.PSet(
223  histType=cms.string("1D"),
224  vsVar=cms.string("phi"),
225  nameSuffex=cms.string("_EEvsPhi"),
226  rangeCuts=cms.VPSet(ecalEndcapEtaCut),
227  binLowEdges=phiBinsStd,
228  ),
229  cms.PSet(
230  histType=cms.string("2D"),
231  xVar=cms.string("scEta"),
232  yVar=cms.string("phi"),
233  nameSuffex=cms.string("_vsSCEtaPhi"),
234  rangeCuts=cms.VPSet(),
235  xBinLowEdges=scEtaBinsStd,
236  yBinLowEdges=phiBinsStd,
237  ),
238 
239  )
240 
241 egammaHEP17HistConfigs = cms.VPSet(
242  cms.PSet(
243  histType=cms.string("1D"),
244  vsVar=cms.string("et"),
245  nameSuffex=cms.string("_vsEt"),
246  rangeCuts=cms.VPSet(),
247  binLowEdges=etBinsStd,
248  ),
249  cms.PSet(
250  histType=cms.string("1D"),
251  vsVar=cms.string("scEta"),
252  nameSuffex=cms.string("_vsSCEta"),
253  rangeCuts=cms.VPSet(),
254  binLowEdges=scEtaBinsHEP17,
255  ),
256  cms.PSet(
257  histType=cms.string("1D"),
258  vsVar=cms.string("phi"),
259  nameSuffex=cms.string("_vsPhi"),
260  rangeCuts=cms.VPSet(),
261  binLowEdges=phiBinsHE17,
262  )
263 )
264 egammaHEM17HistConfigs = cms.VPSet(
265  cms.PSet(
266  histType=cms.string("1D"),
267  vsVar=cms.string("et"),
268  nameSuffex=cms.string("_vsEt"),
269  rangeCuts=cms.VPSet(),
270  binLowEdges=etBinsStd,
271  ),
272  cms.PSet(
273  histType=cms.string("1D"),
274  vsVar=cms.string("scEta"),
275  nameSuffex=cms.string("_vsSCEta"),
276  rangeCuts=cms.VPSet(),
277  binLowEdges=scEtaBinsHEM17,
278  ),
279  cms.PSet(
280  histType=cms.string("1D"),
281  vsVar=cms.string("phi"),
282  nameSuffex=cms.string("_vsPhi"),
283  rangeCuts=cms.VPSet(),
284  binLowEdges=phiBinsHE17,
285  )
286 )
287 egammaHighEtaHistConfigs = cms.VPSet(
288  cms.PSet(
289  histType=cms.string("1D"),
290  vsVar=cms.string("et"),
291  nameSuffex=cms.string("_vsEt"),
292  rangeCuts=cms.VPSet(),
293  binLowEdges=etBinsStd,
294  ),
295  cms.PSet(
296  histType=cms.string("1D"),
297  vsVar=cms.string("scEta"),
298  nameSuffex=cms.string("_vsSCEta"),
299  rangeCuts=cms.VPSet(),
300  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),
301  ),
302  cms.PSet(
303  histType=cms.string("1D"),
304  vsVar=cms.string("phi"),
305  nameSuffex=cms.string("_vsPhi"),
306  rangeCuts=cms.VPSet(),
307  binLowEdges=phiBinsStd,
308  ),
309  cms.PSet(
310  histType=cms.string("2D"),
311  xVar=cms.string("scEta"),
312  yVar=cms.string("phi"),
313  nameSuffex=cms.string("_vsSCEtaPhi"),
314  rangeCuts=cms.VPSet(),
315  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),
316  yBinLowEdges=phiBinsStd,
317  ),
318 
319  )
320 
321 egammaStdFiltersToMonitor= cms.VPSet(
322  cms.PSet(
323  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoubleEle33_CaloIdL_MW"),
324  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("40:99999")),),
325  filterName = cms.string("hltEle33CaloIdLMWPMS2Filter"),
326  histTitle = cms.string(""),
327  tagExtraFilter = cms.string(""),
328  ),
329  cms.PSet(
330  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoubleEle33_CaloIdL_MW"),
331  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("40:99999")),),
332  filterName = cms.string("hltDiEle33CaloIdLMWPMS2UnseededFilter"),
333  histTitle = cms.string(""),
334  tagExtraFilter = cms.string("hltEle33CaloIdLMWPMS2Filter"),
335  ),
336  cms.PSet(
337  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon300_NoHE"),
338  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("320:99999")),),
339  filterName = cms.string("hltEG300erFilter"),
340  histTitle = cms.string(""),
341  tagExtraFilter = cms.string(""),
342  ),
343  cms.PSet(
344  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton70"),
345  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("80:99999")),),
346  filterName = cms.string("hltEG70HEFilter"),
347  histTitle = cms.string(""),
348  tagExtraFilter = cms.string(""),
349  ),
350  cms.PSet(
351  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton70"),
352  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("80:99999")),),
353  filterName = cms.string("hltDiEG70HEUnseededFilter"),
354  histTitle = cms.string(""),
355  tagExtraFilter = cms.string("hltEG70HEFilter"),
356  ),
357  cms.PSet(
358  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton85"),
359  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("90:99999")),),
360  filterName = cms.string("hltEG85HEFilter"),
361  histTitle = cms.string(""),
362  tagExtraFilter = cms.string(""),
363  ),
364  cms.PSet(
365  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoublePhoton85"),
366  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("80:99999")),),
367  filterName = cms.string("hltDiEG85HEUnseededFilter"),
368  histTitle = cms.string(""),
369  tagExtraFilter = cms.string("hltEG85HEFilter"),
370  ),
371 
372  cms.PSet(
373  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DiSC30_18_EIso_AND_HE_Mass70"),
374  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
375  filterName = cms.string("hltEG30EIso15HE30EcalIsoLastFilter"),
376  histTitle = cms.string(""),
377  tagExtraFilter = cms.string(""),
378  ),
379  cms.PSet(
380  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DiSC30_18_EIso_AND_HE_Mass70"),
381  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
382  filterName = cms.string("hltEG18EIso15HE30EcalIsoUnseededFilter"),
383  histTitle = cms.string(""),
384  tagExtraFilter = cms.string("hltEG30EIso15HE30EcalIsoLastFilter"),
385  ),
386  cms.PSet(
387  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL"),
388  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("26:99999")),),
389  filterName = cms.string("hltEle23Ele12CaloIdLTrackIdLIsoVLTrackIsoLeg1Filter"),
390  histTitle = cms.string(""),
391  tagExtraFilter = cms.string(""),
392  ),
393  cms.PSet(
394  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL"),
395  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("15:99999")),),
396  filterName = cms.string("hltEle23Ele12CaloIdLTrackIdLIsoVLTrackIsoLeg2Filter"),
397  histTitle = cms.string(""),
398  tagExtraFilter = cms.string(""),
399  ),
400  cms.PSet(
401  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele27_WPTight_Gsf"),
402  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
403  filterName = cms.string("hltEle27WPTightGsfTrackIsoFilter"),
404  histTitle = cms.string(""),
405  tagExtraFilter = cms.string(""),
406  ),
407  cms.PSet(
408  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf"),
409  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
410  filterName = cms.string("hltEle32WPTightGsfTrackIsoFilter"),
411  histTitle = cms.string(""),
412  tagExtraFilter = cms.string(""),
413  ),
414  cms.PSet(
415  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele35_WPTight_Gsf"),
416  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("42:99999")),),
417  filterName = cms.string("hltEle35noerWPTightGsfTrackIsoFilter"),
418  histTitle = cms.string(""),
419  tagExtraFilter = cms.string(""),
420  ),
421  cms.PSet(
422  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele38_WPTight_Gsf"),
423  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("42:99999")),),
424  filterName = cms.string("hltEle38noerWPTightGsfTrackIsoFilter"),
425  histTitle = cms.string(""),
426  tagExtraFilter = cms.string(""),
427  ),
428  cms.PSet(
429  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele27_WPTight_Gsf_L1DoubleEG"),
430  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
431  filterName = cms.string("hltEle27L1DoubleEGWPTightGsfTrackIsoFilter"),
432  histTitle = cms.string(""),
433  tagExtraFilter = cms.string(""),
434  ),
435  cms.PSet(
436  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf_L1DoubleEG"),
437  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
438  filterName = cms.string("hltEle32L1DoubleEGWPTightGsfTrackIsoFilter"),
439  histTitle = cms.string(""),
440  tagExtraFilter = cms.string(""),
441  ),
442  cms.PSet(
443  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon25"),
444  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("28:99999")),),
445  filterName = cms.string("hltEG25L1EG18HEFilter"),
446  histTitle = cms.string(""),
447  tagExtraFilter = cms.string(""),
448  ),
449 
450  cms.PSet(
451  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon33"),
452  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
453  filterName = cms.string("hltEG33L1EG26HEFilter"),
454  histTitle = cms.string(""),
455  tagExtraFilter = cms.string(""),
456  ),
457  cms.PSet(
458  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon50"),
459  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("55:99999")),),
460  filterName = cms.string("hltEG50HEFilter"),
461  histTitle = cms.string(""),
462  tagExtraFilter = cms.string(""),
463  ),
464  cms.PSet(
465  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon75"),
466  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("80:99999")),),
467  filterName = cms.string("hltEG75HEFilter"),
468  histTitle = cms.string(""),
469  tagExtraFilter = cms.string(""),
470  ),
471  cms.PSet(
472  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon90"),
473  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("95:99999")),),
474  filterName = cms.string("hltEG90HEFilter"),
475  histTitle = cms.string(""),
476  tagExtraFilter = cms.string(""),
477  ),
478  cms.PSet(
479  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon120"),
480  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("95:99999")),),
481  filterName = cms.string("hltEG120HEFilter"),
482  histTitle = cms.string(""),
483  tagExtraFilter = cms.string(""),
484  ),
485  cms.PSet(
486  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon150"),
487  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("160:99999")),),
488  filterName = cms.string("hltEG150HEFilter"),
489  histTitle = cms.string(""),
490  tagExtraFilter = cms.string(""),
491  ),
492  cms.PSet(
493  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon175"),
494  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("180:99999")),),
495  filterName = cms.string("hltEG175HEFilter"),
496  histTitle = cms.string(""),
497  tagExtraFilter = cms.string(""),
498  ),
499  cms.PSet(
500  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Photon200"),
501  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("220:99999")),),
502  filterName = cms.string("hltEG200HEFilter"),
503  histTitle = cms.string(""),
504  tagExtraFilter = cms.string(""),
505  ),
506  cms.PSet(
507  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_CaloJet500"),
508  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("500:99999")),),
509  filterName = cms.string("hltSingleCaloJet500"),
510  histTitle = cms.string(""),
511  tagExtraFilter = cms.string(""),
512  ),
513  cms.PSet(
514  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_CaloJet550"),
515  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("550:99999")),),
516  filterName = cms.string("hltSingleCaloJet550"),
517  histTitle = cms.string(""),
518  tagExtraFilter = cms.string(""),
519  ),
520  cms.PSet(
521  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele28_HighEta_SC20_Mass55"),
522  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("32:99999")),),
523  filterName = cms.string("hltEle28HighEtaSC20TrackIsoFilter"),
524  histTitle = cms.string(""),
525  tagExtraFilter = cms.string(""),
526  ),
527  cms.PSet(
528  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele50_CaloIdVT_GsfTrkIdT_PFJet165"),
529  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("55:99999")),),
530  filterName = cms.string("hltEle50CaloIdVTGsfTrkIdTGsfDphiFilter"),
531  histTitle = cms.string(""),
532  tagExtraFilter = cms.string(""),
533  ),
534  cms.PSet(
535  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele115_CaloIdVT_GsfTrkIdT"),
536  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("120:99999")),),
537  filterName = cms.string("hltEle115CaloIdVTGsfTrkIdTGsfDphiFilter"),
538  histTitle = cms.string(""),
539  tagExtraFilter = cms.string(""),
540  ),
541  cms.PSet(
542  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele135_CaloIdVT_GsfTrkIdT"),
543  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("140:99999")),),
544  filterName = cms.string("hltEle135CaloIdVTGsfTrkIdTGsfDphiFilter"),
545  histTitle = cms.string(""),
546  tagExtraFilter = cms.string(""),
547  ),
548  cms.PSet(
549  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele145_CaloIdVT_GsfTrkIdT"),
550  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("150:99999")),),
551  filterName = cms.string("hltEle145CaloIdVTGsfTrkIdTGsfDphiFilter"),
552  histTitle = cms.string(""),
553  tagExtraFilter = cms.string(""),
554  ),
555  cms.PSet(
556  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele200_CaloIdVT_GsfTrkIdT"),
557  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("210:99999")),),
558  filterName = cms.string("hltEle200CaloIdVTGsfTrkIdTGsfDphiFilter"),
559  histTitle = cms.string(""),
560  tagExtraFilter = cms.string(""),
561  ),
562  cms.PSet(
563  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele250_CaloIdVT_GsfTrkIdT"),
564  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("260:99999")),),
565  filterName = cms.string("hltEle250CaloIdVTGsfTrkIdTGsfDphiFilter"),
566  histTitle = cms.string(""),
567  tagExtraFilter = cms.string(""),
568  ),
569  cms.PSet(
570  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele300_CaloIdVT_GsfTrkIdT"),
571  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("310:99999")),),
572  filterName = cms.string("hltEle300CaloIdVTGsfTrkIdTGsfDphiFilter"),
573  histTitle = cms.string(""),
574  tagExtraFilter = cms.string(""),
575  ),
576  cms.PSet(
577  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele20_WPLoose_Gsf"),
578  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
579  filterName = cms.string("hltEle20WPLoose1GsfTrackIsoFilter"),
580  histTitle = cms.string(""),
581  tagExtraFilter = cms.string(""),
582  ),
583  cms.PSet(
584  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele20_eta2p1_WPLoose_Gsf"),
585  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
586  filterName = cms.string("hltEle20erWPLoose1GsfTrackIsoFilter"),
587  histTitle = cms.string(""),
588  tagExtraFilter = cms.string(""),
589  ),
590  cms.PSet(
591  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele20_WPTight_Gsf"),
592  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
593  filterName = cms.string("hltEle20WPTightGsfTrackIsoFilter"),
594  histTitle = cms.string(""),
595  tagExtraFilter = cms.string(""),
596  ),
597  cms.PSet(
598  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DiEle27_WPTightCaloOnly_L1DoubleEG"),
599  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
600  filterName = cms.string("hltEle27L1DoubleEGWPTightEcalIsoFilter"),
601  histTitle = cms.string(""),
602  tagExtraFilter = cms.string(""),
603  ),
604  cms.PSet(
605  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DiEle27_WPTightCaloOnly_L1DoubleEG"),
606  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
607  filterName = cms.string("hltDiEle27L1DoubleEGWPTightEcalIsoFilter"),
608  histTitle = cms.string(""),
609  tagExtraFilter = cms.string("hltEle27L1DoubleEGWPTightEcalIsoFilter"),
610  ),
611  cms.PSet(
612  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoubleEle27_CaloIdL_MW"),
613  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
614  filterName = cms.string("hltEle27CaloIdLMWPMS2Filter"),
615  histTitle = cms.string(""),
616  tagExtraFilter = cms.string(""),
617  ),
618  cms.PSet(
619  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoubleEle27_CaloIdL_MW"),
620  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
621  filterName = cms.string("hltDiEle27CaloIdLMWPMS2UnseededFilter"),
622  histTitle = cms.string(""),
623  tagExtraFilter = cms.string("hltEle27CaloIdLMWPMS2Filter"),
624  ),
625  cms.PSet(
626  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoubleEle25_CaloIdL_MW"),
627  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("28:99999")),),
628  filterName = cms.string("hltEle25CaloIdLMWPMS2Filter"),
629  histTitle = cms.string(""),
630  tagExtraFilter = cms.string(""),
631  ),
632  cms.PSet(
633  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoubleEle25_CaloIdL_MW"),
634  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("28:99999")),),
635  filterName = cms.string("hltDiEle25CaloIdLMWPMS2UnseededFilter"),
636  histTitle = cms.string(""),
637  tagExtraFilter = cms.string("hltEle25CaloIdLMWPMS2Filter"),
638  ),
639  cms.PSet(
640  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele27_Ele37_CaloIdL_MW"),
641  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
642  filterName = cms.string("hltEle27CaloIdLMWPMS2Filter"),
643  histTitle = cms.string(""),
644  tagExtraFilter = cms.string(""),
645  ),
646  cms.PSet(
647  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele27_Ele37_CaloIdL_MW"),
648  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
649  filterName = cms.string("hltDiEle27CaloIdLMWPMS2UnseededFilter"),
650  histTitle = cms.string(""),
651  tagExtraFilter = cms.string("hltEle27CaloIdLMWPMS2Filter"),
652  ),
653  cms.PSet(
654  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele27_Ele37_CaloIdL_MW"),
655  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("40:99999")),),
656  filterName = cms.string("hltEle37CaloIdLMWPMS2UnseededFilter"),
657  histTitle = cms.string(""),
658  tagExtraFilter = cms.string("hltEle27CaloIdLMWPMS2Filter"),
659  ),
660  cms.PSet(
661  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele35_WPTight_Gsf_L1EGMT"),
662  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("38:99999")),),
663  filterName = cms.string("hltSingleEle35WPTightGsfL1EGMTTrackIsoFilter"),
664  histTitle = cms.string(""),
665  tagExtraFilter = cms.string(""),
666  ),
667 
668  )
669 
670 
671 
672 egammaPhoHighEtaFiltersToMonitor= cms.VPSet(
673  cms.PSet(
674  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele28_HighEta_SC20_Mass55"),
675  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("22:99999")),
676  ecalEndcapHighEtaCut
677  ),
678  filterName = cms.string("hltEle28HighEtaSC20Mass55Filter"),
679  histTitle = cms.string(""),
680  tagExtraFilter = cms.string("hltEle28HighEtaSC20TrackIsoFilter"),
681  ),
682  cms.PSet(
683  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele28_HighEta_SC20_Mass55"),
684  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("22:99999")),
685  ecalEndcapHighEtaCut
686  ),
687  filterName = cms.string("hltEle28HighEtaSC20HcalIsoFilterUnseeded"),
688  histTitle = cms.string(""),
689  tagExtraFilter = cms.string("hltEle28HighEtaSC20TrackIsoFilter"),
690  ),
691 
692 )
693 egammaPhoFiltersToMonitor= cms.VPSet(
694  cms.PSet(
695  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2"),
696  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
697  filterName = cms.string("hltEG20CaloIdLV2ClusterShapeL1TripleEGFilter"),
698  histTitle = cms.string(""),
699  tagExtraFilter = cms.string(""),
700  ),
701  cms.PSet(
702  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2"),
703  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
704  filterName = cms.string("hltTriEG20CaloIdLV2ClusterShapeUnseededFilter"),
705  histTitle = cms.string(""),
706  tagExtraFilter = cms.string("hltEG20CaloIdLV2ClusterShapeL1TripleEGFilter"),
707  ),
708  cms.PSet(
709  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2_R9IdVL"),
710  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
711  filterName = cms.string("hltEG20CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
712  histTitle = cms.string(""),
713  tagExtraFilter = cms.string(""),
714  ),
715  cms.PSet(
716  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_20_20_20_CaloIdLV2_R9IdVL"),
717  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
718  filterName = cms.string("hltTriEG20CaloIdLV2R9IdVLR9IdUnseededFilter"),
719  histTitle = cms.string(""),
720  tagExtraFilter = cms.string("hltEG20CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
721  ),
722  #first seeded leg
723  cms.PSet(
724  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2"),
725  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
726  filterName = cms.string("hltEG30CaloIdLV2ClusterShapeL1TripleEGFilter"),
727  histTitle = cms.string(""),
728  tagExtraFilter = cms.string(""),
729  ),
730  #second unseeded leg, 10 GeV
731  cms.PSet(
732  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2"),
733  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("15:99999")),),
734  filterName = cms.string("hltEG10CaloIdLV2ClusterShapeUnseededFilter"),
735  histTitle = cms.string(""),
736  tagExtraFilter = cms.string("hltEG30CaloIdLV2ClusterShapeL1TripleEGFilter"),
737  ),
738  #second unseded leg, 30 GeV
739  cms.PSet(
740  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2"),
741  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
742  filterName = cms.string("hltDiEG30CaloIdLV2EtUnseededFilter"),
743  histTitle = cms.string(""),
744  tagExtraFilter = cms.string("hltEG30CaloIdLV2ClusterShapeL1TripleEGFilter"),
745  ),
746  #first seeded leg
747  cms.PSet(
748  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2_R9IdVL"),
749  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
750  filterName = cms.string("hltEG30CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
751  histTitle = cms.string(""),
752  tagExtraFilter = cms.string(""),
753  ),
754  #second unseeded leg, 10 GeV
755  cms.PSet(
756  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2_R9IdVL"),
757  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("15:99999")),),
758  filterName = cms.string("hltEG10CaloIdLV2R9IdVLR9IdUnseededFilter"),
759  histTitle = cms.string(""),
760  tagExtraFilter = cms.string("hltEG30CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
761 
762  ),
763  #second unseeded leg, 30 GeV
764  cms.PSet(
765  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_30_30_10_CaloIdLV2_R9IdVL"),
766  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
767  filterName = cms.string("hltDiEG30CaloIdLV2R9IdVLEtUnseededFilter"),
768  histTitle = cms.string(""),
769  tagExtraFilter = cms.string("hltEG30CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
770  ),
771  #first seeded leg
772  cms.PSet(
773  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_35_35_5_CaloIdLV2_R9IdVL"),
774  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("38:99999")),),
775  filterName = cms.string("hltEG35CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
776  histTitle = cms.string(""),
777  tagExtraFilter = cms.string(""),
778  ),
779  #second unseeded leg, 5 GeV
780  cms.PSet(
781  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_35_35_5_CaloIdLV2_R9IdVL"),
782  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("10:99999")),),
783  filterName = cms.string("hltEG5CaloIdLV2R9IdVLR9IdUnseededFilter"),
784  histTitle = cms.string(""),
785  tagExtraFilter = cms.string("hltEG35CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
786  ),
787  #second unseeded leg, 35 GeV
788  cms.PSet(
789  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_TriplePhoton_35_35_5_CaloIdLV2_R9IdVL"),
790  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("38:99999")),),
791  filterName = cms.string("hltDiEG35CaloIdLV2R9IdVLEtUnseededFilter"),
792  histTitle = cms.string(""),
793  tagExtraFilter = cms.string("hltEG35CaloIdLV2R9IdVLR9IdL1TripleEGFilter"),
794  ),
795 
796 )
797 
798 
799 egammaMuPhoFiltersToMonitor= cms.VPSet(
800  cms.PSet(
801  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Mu12_DoublePhoton20"),
802  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
803  filterName = cms.string("hltMu12DiEG20HEUnseededFilter"),
804  histTitle = cms.string(""),
805  tagExtraFilter = cms.string("hltL3fL1sMu12Diphoton20L1f0L2f8QL3Filtered12"),
806  ),
807 )
808 
809 egammaMuEleFiltersToMonitor= cms.VPSet(
810  cms.PSet(
811  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Mu12_DoublePhoton20"),
812  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("25:99999")),),
813  filterName = cms.string("hltMu12DiEG20HEUnseededFilter"),
814  histTitle = cms.string(""),
815  tagExtraFilter = cms.string("hltL3fL1sMu12Diphoton20L1f0L2f8QL3Filtered12"),
816  ),
817  cms.PSet(
818  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Mu37_Ele27_CaloIdL_MW"),
819  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("30:99999")),),
820  filterName = cms.string("hltEle27CaloIdLMWPMS2UnseededFilter"),
821  histTitle = cms.string(""),
822  tagExtraFilter = cms.string("hltL3fL1sMu16orMu25L1f0L2f10QL3Filtered37Q"),
823  ),
824  cms.PSet(
825  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Mu27_Ele37_CaloIdL_MW"),
826  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("42:99999")),),
827  filterName = cms.string("hltEle37CaloIdLMWPMS2UnseededFilter"),
828  histTitle = cms.string(""),
829  tagExtraFilter = cms.string("hltL3fL1sMu16orMu25L1f0L2f10QL3Filtered27Q"),
830  ),
831  cms.PSet(
832  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_DoubleEle33_CaloIdL_MW"),
833  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("40:99999")),),
834  filterName = cms.string("hltEle33CaloIdLMWPMS2Filter"),
835  histTitle = cms.string(""),
836  tagExtraFilter = cms.string(""),
837  ),
838  cms.PSet(
839  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf"),
840  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
841  filterName = cms.string("hltEle32WPTightGsfTrackIsoFilter"),
842  histTitle = cms.string(""),
843  tagExtraFilter = cms.string(""),
844  ),
845  cms.PSet(
846  folderName = cms.string("HLT/EGM/TagAndProbeEffs/HLT_Ele32_WPTight_Gsf_L1DoubleEG"),
847  rangeCuts = cms.VPSet(etRangeCut.clone(allowedRanges=cms.vstring("35:99999")),),
848  filterName = cms.string("hltEle32L1DoubleEGWPTightGsfTrackIsoFilter"),
849  histTitle = cms.string(""),
850  tagExtraFilter = cms.string(""),
851  ),
852 )
853 
854 egHLTDQMOfflineTnPSource = cms.EDAnalyzer("HLTEleTagAndProbeOfflineSource",
855  tagAndProbeCollections = cms.VPSet(
856  cms.PSet(
857  tagAndProbeConfigEle27WPTight,
858  histConfigs = egammaStdHistConfigs,
859  baseHistName = cms.string("eleWPTightTag_"),
860  filterConfigs = egammaStdFiltersToMonitor,
861  ),
862  cms.PSet(
863  tagAndProbeConfigEle27WPTightHEM17,
864  histConfigs = egammaHEM17HistConfigs,
865  baseHistName = cms.string("eleWPTightTag-HEM17_"),
866  filterConfigs = egammaStdFiltersToMonitor,
867  ),
868  cms.PSet(
869  tagAndProbeConfigEle27WPTightHEP17,
870  histConfigs = egammaHEP17HistConfigs,
871  baseHistName = cms.string("eleWPTightTag-HEP17_"),
872  filterConfigs = egammaStdFiltersToMonitor,
873  ),
874 
875  )
876 )
877 
878 egHLTElePhoHighEtaDQMOfflineTnPSource = cms.EDAnalyzer("HLTElePhoTagAndProbeOfflineSource",
879  tagAndProbeCollections = cms.VPSet(
880  cms.PSet(
881  tagAndProbeElePhoHighEtaConfigEle27WPTight,
882  histConfigs = egammaHighEtaHistConfigs,
883  baseHistName = cms.string("eleWPTightTagPhoHighEtaProbe_"),
884  filterConfigs = egammaPhoHighEtaFiltersToMonitor,
885  ),
886  cms.PSet(
887  tagAndProbeElePhoHighEtaConfigEle27WPTightHEM17,
888  histConfigs = egammaHighEtaHistConfigs,
889  baseHistName = cms.string("eleWPTightTagPhoHighEtaProbe-HEM17_"),
890  filterConfigs = egammaPhoHighEtaFiltersToMonitor,
891  ),
892  cms.PSet(
893  tagAndProbeElePhoHighEtaConfigEle27WPTightHEP17,
894  histConfigs = egammaHighEtaHistConfigs,
895  baseHistName = cms.string("eleWPTightTagPhoHighEtaProbe-HEP17_"),
896  filterConfigs = egammaPhoHighEtaFiltersToMonitor,
897  ),
898 
899  )
900  )
901 egHLTElePhoDQMOfflineTnPSource = cms.EDAnalyzer("HLTElePhoTagAndProbeOfflineSource",
902  tagAndProbeCollections = cms.VPSet(
903  cms.PSet(
904  tagAndProbeElePhoConfigEle27WPTight,
905  histConfigs = egammaStdHistConfigs,
906  baseHistName = cms.string("eleWPTightTagPhoProbe_"),
907  filterConfigs = egammaPhoFiltersToMonitor,
908  ),
909  cms.PSet(
910  tagAndProbeElePhoConfigEle27WPTightHEM17,
911  histConfigs = egammaHEM17HistConfigs,
912  baseHistName = cms.string("eleWPTightTagPhoProbe-HEM17_"),
913  filterConfigs = egammaPhoFiltersToMonitor,
914  ),
915  cms.PSet(
916  tagAndProbeElePhoConfigEle27WPTightHEP17,
917  histConfigs = egammaHEM17HistConfigs,
918  baseHistName = cms.string("eleWPTightTagPhoProbe-HEP17_"),
919  filterConfigs = egammaPhoFiltersToMonitor,
920  ),
921 
922  )
923 )
924 
925 egHLTMuonEleDQMOfflineTnPSource = cms.EDAnalyzer("HLTMuEleTagAndProbeOfflineSource",
926  tagAndProbeCollections = cms.VPSet(
927  cms.PSet(
928  tagAndProbeMuonEleConfigIsoMu,
929  histConfigs = egammaStdHistConfigs,
930  baseHistName = cms.string("muonIsoMuTagEleProbe_"),
931  filterConfigs = egammaMuEleFiltersToMonitor,
932  ),
933  cms.PSet(
934  tagAndProbeMuonEleConfigIsoMuHEM17,
935  histConfigs = egammaHEM17HistConfigs,
936  baseHistName = cms.string("muonIsoMuTagEleProbe-HEM17_"),
937  filterConfigs = egammaMuEleFiltersToMonitor,
938  ),
939  cms.PSet(
940  tagAndProbeMuonPhoConfigIsoMuHEP17,
941  histConfigs = egammaHEP17HistConfigs,
942  baseHistName = cms.string("muonIsoMuTagEleProbe-HEP17_"),
943  filterConfigs = egammaMuEleFiltersToMonitor,
944  ),
945 
946  )
947 )
948 egHLTMuonPhoDQMOfflineTnPSource = cms.EDAnalyzer("HLTMuPhoTagAndProbeOfflineSource",
949  tagAndProbeCollections = cms.VPSet(
950  cms.PSet(
951  tagAndProbeMuonPhoConfigIsoMu,
952  histConfigs = egammaStdHistConfigs,
953  baseHistName = cms.string("muonIsoMuTagPhoProbe_"),
954  filterConfigs = egammaMuPhoFiltersToMonitor,
955  ),
956  cms.PSet(
957  tagAndProbeMuonPhoConfigIsoMuHEM17,
958  histConfigs = egammaHEM17HistConfigs,
959  baseHistName = cms.string("muonIsoMuTagPhoProbe-HEM17_"),
960  filterConfigs = egammaMuPhoFiltersToMonitor,
961  ),
962  cms.PSet(
963  tagAndProbeMuonPhoConfigIsoMuHEP17,
964  histConfigs = egammaHEP17HistConfigs,
965  baseHistName = cms.string("muonIsoMuTagPhoProbe-HEP17_"),
966  filterConfigs = egammaMuPhoFiltersToMonitor,
967  ),
968 
969  )
970 )
971 
972 
974 
975 egmGsfElectronIDsForDQM = egmGsfElectronIDs.clone()
976 egmGsfElectronIDsForDQM.physicsObjectsIDs = cms.VPSet()
977 egmGsfElectronIDsForDQM.physicsObjectSrc == cms.InputTag('gedGsfElectrons')
978 #note: be careful here to when selecting new ids that the vid tools dont do extra setup for them
979 #for example the HEEP cuts need an extra producer which vid tools automatically handles
980 from PhysicsTools.SelectorUtils.tools.vid_id_tools import setupVIDSelection
981 my_id_modules = ['RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_Summer16_80X_V1_cff']
982 for id_module_name in my_id_modules:
983  idmod= __import__(id_module_name, globals(), locals(), ['idName','cutFlow'])
984  for name in dir(idmod):
985  item = getattr(idmod,name)
986  if hasattr(item,'idName') and hasattr(item,'cutFlow'):
987  setupVIDSelection(egmGsfElectronIDsForDQM,item)
988 
989 
990 from RecoEgamma.PhotonIdentification.PhotonIDValueMapProducer_cfi import photonIDValueMapProducer
992 egmPhotonIDsForDQM = egmPhotonIDs.clone()
993 egmPhotonIDsForDQM.physicsObjectsIDs = cms.VPSet()
994 egmPhotonIDsForDQM.physicsObjectSrc == cms.InputTag('gedPhotons')
995 #note: be careful here to when selecting new ids that the vid tools dont do extra setup for them
996 #for example the HEEP cuts need an extra producer which vid tools automatically handles
997 from PhysicsTools.SelectorUtils.tools.vid_id_tools import setupVIDSelection
998 my_id_modules = ['RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_Spring16_V2p2_cff']
999 for id_module_name in my_id_modules:
1000  idmod= __import__(id_module_name, globals(), locals(), ['idName','cutFlow'])
1001  for name in dir(idmod):
1002  item = getattr(idmod,name)
1003  if hasattr(item,'idName') and hasattr(item,'cutFlow'):
1004  setupVIDSelection(egmPhotonIDsForDQM,item)
1005 egmPhotonIDSequenceForDQM = cms.Sequence(photonIDValueMapProducer*
1006  egmPhotonIDsForDQM)
1007 
1008 egmDQMSelectedMuons = cms.EDProducer("HLTDQMMuonSelector",
1009  objs=cms.InputTag("muons"),
1010  vertices=cms.InputTag("offlinePrimaryVertices"),
1011  selection=cms.string("pt > 20"),
1012  muonSelectionType=cms.string("tight")
1013  )
1014 egmMuonIDSequenceForDQM = cms.Sequence(egmDQMSelectedMuons)
def setupVIDSelection(vidproducer, cutflow)
Definition: vid_id_tools.py:11
dbl *** dir
Definition: mlp_gen.cc:35