CMS 3D CMS Logo

HLTTauDQMOffline_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hltTauDQMofflineProcess = "HLT"
4 
5 #Ref Objects-------------------------------------------------------------------------------------------------------
6 TauRefProducer = cms.EDProducer("HLTTauRefProducer",
7 
8  PFTaus = cms.untracked.PSet(
9  PFTauDiscriminators = cms.untracked.VInputTag(
10  cms.InputTag("hpsPFTauDiscriminationByDecayModeFinding"),
11  cms.InputTag("hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits"),
12  cms.InputTag("hpsPFTauDiscriminationByLooseMuonRejection3"),
13  cms.InputTag("hpsPFTauDiscriminationByMVA6TightElectronRejection")
14  ),
15  doPFTaus = cms.untracked.bool(True),
16  ptMin = cms.untracked.double(15.0),
17  etaMin = cms.untracked.double(-2.5),
18  etaMax = cms.untracked.double(2.5),
19  phiMin = cms.untracked.double(-3.15),
20  phiMax = cms.untracked.double(3.15),
21  PFTauProducer = cms.untracked.InputTag("hpsPFTauProducer")
22  ),
23  Electrons = cms.untracked.PSet(
24  ElectronCollection = cms.untracked.InputTag("gedGsfElectrons"),
25  doID = cms.untracked.bool(False),
26  InnerConeDR = cms.untracked.double(0.02),
27  MaxIsoVar = cms.untracked.double(0.02),
28  doElectrons = cms.untracked.bool(True),
29  TrackCollection = cms.untracked.InputTag("generalTracks"),
30  OuterConeDR = cms.untracked.double(0.6),
31  ptMin = cms.untracked.double(15.0),
32  doTrackIso = cms.untracked.bool(True),
33  ptMinTrack = cms.untracked.double(1.5),
34  lipMinTrack = cms.untracked.double(0.2),
35  IdCollection = cms.untracked.InputTag("elecIDext")
36  ),
37  Jets = cms.untracked.PSet(
38  JetCollection = cms.untracked.InputTag("ak4PFJetsCHS"),
39  etMin = cms.untracked.double(15.0),
40  doJets = cms.untracked.bool(False)
41  ),
42  Towers = cms.untracked.PSet(
43  TowerCollection = cms.untracked.InputTag("towerMaker"),
44  etMin = cms.untracked.double(10.0),
45  doTowers = cms.untracked.bool(False),
46  towerIsolation = cms.untracked.double(5.0)
47  ),
48 
49  Muons = cms.untracked.PSet(
50  doMuons = cms.untracked.bool(True),
51  MuonCollection = cms.untracked.InputTag("muons"),
52  ptMin = cms.untracked.double(15.0)
53  ),
54 
55  Photons = cms.untracked.PSet(
56  doPhotons = cms.untracked.bool(False),
57  PhotonCollection = cms.untracked.InputTag("gedPhotons"),
58  etMin = cms.untracked.double(15.0),
59  ECALIso = cms.untracked.double(3.0)
60  ),
61 
62  MET = cms.untracked.PSet(
63  doMET = cms.untracked.bool(True),
64  METCollection = cms.untracked.InputTag("caloMet"),
65  ptMin = cms.untracked.double(0.0)
66  ),
67 
68  EtaMin = cms.untracked.double(-2.3),
69  EtaMax = cms.untracked.double(2.3),
70  PhiMin = cms.untracked.double(-3.15),
71  PhiMax = cms.untracked.double(3.15)
72  )
73 
74 #----------------------------------MONITORS--------------------------------------------------------------------------
75 
76 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
77 hltTauOfflineMonitor_PFTaus = DQMEDAnalyzer('HLTTauDQMOfflineSource',
78  HLTProcessName = cms.untracked.string(hltTauDQMofflineProcess),
79  DQMBaseFolder = cms.untracked.string("HLT/TAU/PFTaus"),
80  TriggerResultsSrc = cms.untracked.InputTag("TriggerResults", "", hltTauDQMofflineProcess),
81  TriggerEventSrc = cms.untracked.InputTag("hltTriggerSummaryAOD", "", hltTauDQMofflineProcess),
82  L1Plotter = cms.untracked.PSet(
83  DQMFolder = cms.untracked.string('L1'),
84  L1Taus = cms.untracked.InputTag("caloStage2Digis", "Tau"),
85  L1ETM = cms.untracked.InputTag("caloStage2Digis","EtSum"),
86  L1ETMMin = cms.untracked.double(50),
87  ),
88  Paths = cms.untracked.string("PFTau"),
89  PathSummaryPlotter = cms.untracked.PSet(
90  DQMFolder = cms.untracked.string('Summary'),
91  ),
92  Matching = cms.PSet(
93  doMatching = cms.untracked.bool(True),
94  matchFilters = cms.untracked.VPSet(
95  cms.untracked.PSet(
96  FilterName = cms.untracked.InputTag("TauRefProducer","PFTaus"),
97  matchObjectID = cms.untracked.int32(15),
98  ),
99  cms.untracked.PSet(
100  FilterName = cms.untracked.InputTag("TauRefProducer","Electrons"),
101  matchObjectID = cms.untracked.int32(11),
102  ),
103  cms.untracked.PSet(
104  FilterName = cms.untracked.InputTag("TauRefProducer","Muons"),
105  matchObjectID = cms.untracked.int32(13),
106  ),
107  cms.untracked.PSet(
108  FilterName = cms.untracked.InputTag("TauRefProducer","MET"),
109  matchObjectID = cms.untracked.int32(0),
110  ),
111  ),
112  ),
113 )
114 
115 hltTauOfflineMonitor_Inclusive = hltTauOfflineMonitor_PFTaus.clone(
116  DQMBaseFolder = "HLT/TAU/Inclusive",
117  Matching = cms.PSet(
118  doMatching = cms.untracked.bool(False),
119  matchFilters = cms.untracked.VPSet(),
120  )
121 )
122 
124  genericTriggerSelectionParameters = cms.PSet(
125  andOr = cms.bool( False ),#specifies the logical combination of the single filters' (L1, HLT and DCS) decisions at top level (True=OR)
126  dbLabel = cms.string("PFTauDQMTrigger"),#specifies the label under which the DB payload is available from the ESSource or Global Tag
127  andOrHlt = cms.bool(True),#specifies the logical combination of the single HLT paths' decisions (True=OR)
128  hltInputTag = cms.InputTag("TriggerResults", "", hltTauDQMofflineProcess),
129  hltPaths = hltpaths,#Lists logical expressions of HLT paths, which should have accepted the event (fallback in case DB unaccessible)
130  errorReplyHlt = cms.bool(False),#specifies the desired return value of the HLT filter and the single HLT path filter in case of certain errors
131  verbosityLevel = cms.uint32(0) #0: complete silence (default), needed for T0 processing;
132  )
133  return genericTriggerSelectionParameters
134 
135 
136 hltTauOfflineMonitor_TagAndProbe = hltTauOfflineMonitor_PFTaus.clone(
137  DQMBaseFolder = cms.untracked.string("HLT/TAU/TagAndProbe"),
138  Matching = cms.PSet(
139  doMatching = cms.untracked.bool(True),
140  matchFilters = cms.untracked.VPSet(
141  cms.untracked.PSet(
142  FilterName = cms.untracked.InputTag("TauRefProducer","PFTaus"),
143  matchObjectID = cms.untracked.int32(15),
144  ),
145  cms.untracked.PSet(
146  FilterName = cms.untracked.InputTag("TauRefProducer","Electrons"),
147  matchObjectID = cms.untracked.int32(11),
148  ),
149  cms.untracked.PSet(
150  FilterName = cms.untracked.InputTag("TauRefProducer","Muons"),
151  matchObjectID = cms.untracked.int32(13),
152  ),
153  cms.untracked.PSet(
154  FilterName = cms.untracked.InputTag("TauRefProducer","MET"),
155  matchObjectID = cms.untracked.int32(0),
156  ),
157  ),
158  ),
159  TagAndProbe = cms.untracked.VPSet(
160  cms.untracked.PSet(
161  name = cms.string('LooseChargedIsoPFTau20_SingleL1'),
162  xvariable = cms.string('Tau'),
163  nPtBins = cms.int32(20),
164  ptmin = cms.double(0.),
165  ptmax = cms.double(200.),
166  nEtaBins = cms.int32(20),
167  etamin = cms.double(-2.5),
168  etamax = cms.double(2.5),
169  nPhiBins = cms.int32(20),
170  phimin = cms.double(-3.15),
171  phimax = cms.double(3.15),
172  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_LooseChargedIsoPFTau20_SingleL1_v*','HLT_IsoMu27_LooseChargedIsoPFTau20_SingleL1_v*')),
173  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
174  ),
175  cms.untracked.PSet(
176  name = cms.string('MediumChargedIsoPFTau20_SingleL1'),
177  xvariable = cms.string('Tau'),
178  nPtBins = cms.int32(20),
179  ptmin = cms.double(0.),
180  ptmax = cms.double(200.),
181  nEtaBins = cms.int32(20),
182  etamin = cms.double(-2.5),
183  etamax = cms.double(2.5),
184  nPhiBins = cms.int32(20),
185  phimin = cms.double(-3.15),
186  phimax = cms.double(3.15),
187  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau20_SingleL1_v*','HLT_IsoMu27_MediumChargedIsoPFTau20_SingleL1_v*')),
188  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
189  ),
190  cms.untracked.PSet(
191  name = cms.string('TightChargedIsoPFTau20_SingleL1'),
192  xvariable = cms.string('Tau'),
193  nPtBins = cms.int32(20),
194  ptmin = cms.double(0.),
195  ptmax = cms.double(200.),
196  nEtaBins = cms.int32(20),
197  etamin = cms.double(-2.5),
198  etamax = cms.double(2.5),
199  nPhiBins = cms.int32(20),
200  phimin = cms.double(-3.15),
201  phimax = cms.double(3.15),
202  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_TightChargedIsoPFTau20_SingleL1_v*','HLT_IsoMu27_TightChargedIsoPFTau20_SingleL1_v*')),
203  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
204  ),
205  cms.untracked.PSet(
206  name = cms.string('LooseChargedIsoPFTau20_TightID_SingleL1'),
207  xvariable = cms.string('Tau'),
208  nPtBins = cms.int32(20),
209  ptmin = cms.double(0.),
210  ptmax = cms.double(200.),
211  nEtaBins = cms.int32(20),
212  etamin = cms.double(-2.5),
213  etamax = cms.double(2.5),
214  nPhiBins = cms.int32(20),
215  phimin = cms.double(-3.15),
216  phimax = cms.double(3.15),
217  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_LooseChargedIsoPFTau20_TightID_SingleL1_v*')),
218  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
219  ),
220  cms.untracked.PSet(
221  name = cms.string('MediumChargedIsoPFTau20_TightID_SingleL1'),
222  xvariable = cms.string('Tau'),
223  nPtBins = cms.int32(20),
224  ptmin = cms.double(0.),
225  ptmax = cms.double(200.),
226  nEtaBins = cms.int32(20),
227  etamin = cms.double(-2.5),
228  etamax = cms.double(2.5),
229  nPhiBins = cms.int32(20),
230  phimin = cms.double(-3.15),
231  phimax = cms.double(3.15),
232  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau20_TightID_SingleL1_v*')),
233  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
234  ),
235  cms.untracked.PSet(
236  name = cms.string('TightChargedIsoPFTau20_TightID_SingleL1'),
237  xvariable = cms.string('Tau'),
238  nPtBins = cms.int32(20),
239  ptmin = cms.double(0.),
240  ptmax = cms.double(200.),
241  nEtaBins = cms.int32(20),
242  etamin = cms.double(-2.5),
243  etamax = cms.double(2.5),
244  nPhiBins = cms.int32(20),
245  phimin = cms.double(-3.15),
246  phimax = cms.double(3.15),
247  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_TightChargedIsoPFTau20_TightID_SingleL1_v*')),
248  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
249  ),
250  cms.untracked.PSet(
251  name = cms.string('LooseChargedIsoPFTau27_eta2p1_CrossL1'),
252  xvariable = cms.string('Tau'),
253  nPtBins = cms.int32(20),
254  ptmin = cms.double(0.),
255  ptmax = cms.double(200.),
256  nEtaBins = cms.int32(20),
257  etamin = cms.double(-2.5),
258  etamax = cms.double(2.5),
259  nPhiBins = cms.int32(20),
260  phimin = cms.double(-3.15),
261  phimax = cms.double(3.15),
262  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu20_eta2p1_LooseChargedIsoPFTau27_eta2p1_CrossL1_v*')),
263  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
264  ),
265  cms.untracked.PSet(
266  name = cms.string('MediumChargedIsoPFTau27_eta2p1_CrossL1'),
267  xvariable = cms.string('Tau'),
268  nPtBins = cms.int32(20),
269  ptmin = cms.double(0.),
270  ptmax = cms.double(200.),
271  nEtaBins = cms.int32(20),
272  etamin = cms.double(-2.5),
273  etamax = cms.double(2.5),
274  nPhiBins = cms.int32(20),
275  phimin = cms.double(-3.15),
276  phimax = cms.double(3.15),
277  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu20_eta2p1_MediumChargedIsoPFTau27_eta2p1_CrossL1_v*')),
278  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
279  ),
280  cms.untracked.PSet(
281  name = cms.string('TightChargedIsoPFTau27_eta2p1_CrossL1'),
282  xvariable = cms.string('Tau'),
283  nPtBins = cms.int32(20),
284  ptmin = cms.double(0.),
285  ptmax = cms.double(200.),
286  nEtaBins = cms.int32(20),
287  etamin = cms.double(-2.5),
288  etamax = cms.double(2.5),
289  nPhiBins = cms.int32(20),
290  phimin = cms.double(-3.15),
291  phimax = cms.double(3.15),
292  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu20_eta2p1_TightChargedIsoPFTau27_eta2p1_CrossL1_v*')),
293  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
294  ),
295  cms.untracked.PSet(
296  name = cms.string('LooseChargedIsoPFTau27_eta2p1_TightID_CrossL1'),
297  xvariable = cms.string('Tau'),
298  nPtBins = cms.int32(20),
299  ptmin = cms.double(0.),
300  ptmax = cms.double(200.),
301  nEtaBins = cms.int32(20),
302  etamin = cms.double(-2.5),
303  etamax = cms.double(2.5),
304  nPhiBins = cms.int32(20),
305  phimin = cms.double(-3.15),
306  phimax = cms.double(3.15),
307  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu20_eta2p1_LooseChargedIsoPFTau27_eta2p1_TightID_CrossL1_v*')),
308  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
309  ),
310  cms.untracked.PSet(
311  name = cms.string('MediumChargedIsoPFTau27_eta2p1_TightID_CrossL1'),
312  xvariable = cms.string('Tau'),
313  nPtBins = cms.int32(20),
314  ptmin = cms.double(0.),
315  ptmax = cms.double(200.),
316  nEtaBins = cms.int32(20),
317  etamin = cms.double(-2.5),
318  etamax = cms.double(2.5),
319  nPhiBins = cms.int32(20),
320  phimin = cms.double(-3.15),
321  phimax = cms.double(3.15),
322  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu20_eta2p1_MediumChargedIsoPFTau27_eta2p1_TightID_CrossL1_v*')),
323  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
324  ),
325  cms.untracked.PSet(
326  name = cms.string('TightChargedIsoPFTau27_eta2p1_TightID_CrossL1'),
327  xvariable = cms.string('Tau'),
328  nPtBins = cms.int32(20),
329  ptmin = cms.double(0.),
330  ptmax = cms.double(200.),
331  nEtaBins = cms.int32(20),
332  etamin = cms.double(-2.5),
333  etamax = cms.double(2.5),
334  nPhiBins = cms.int32(20),
335  phimin = cms.double(-3.15),
336  phimax = cms.double(3.15),
337  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu20_eta2p1_TightChargedIsoPFTau27_eta2p1_TightID_CrossL1_v*')),
338  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
339  ),
340  cms.untracked.PSet(
341  name = cms.string('MediumChargedIsoPFTau50_Trk30_eta2p1_1pr'),
342  xvariable = cms.string('Tau'),
343  nPtBins = cms.int32(30),
344  ptmin = cms.double(0.),
345  ptmax = cms.double(300.),
346  nEtaBins = cms.int32(20),
347  etamin = cms.double(-2.5),
348  etamax = cms.double(2.5),
349  nPhiBins = cms.int32(20),
350  phimin = cms.double(-3.15),
351  phimax = cms.double(3.15),
352  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_v*')),
353  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
354  ),
355  cms.untracked.PSet(
356  name = cms.string('LooseChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1'),
357  xvariable = cms.string('Tau'),
358  nPtBins = cms.int32(20),
359  ptmin = cms.double(0.),
360  ptmax = cms.double(200.),
361  nEtaBins = cms.int32(20),
362  etamin = cms.double(-2.5),
363  etamax = cms.double(2.5),
364  nPhiBins = cms.int32(20),
365  phimin = cms.double(-3.15),
366  phimax = cms.double(3.15),
367  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_LooseChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1_v*')),
368  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
369  ),
370  cms.untracked.PSet(
371  name = cms.string('MediumChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1'),
372  xvariable = cms.string('Tau'),
373  nPtBins = cms.int32(20),
374  ptmin = cms.double(0.),
375  ptmax = cms.double(200.),
376  nEtaBins = cms.int32(20),
377  etamin = cms.double(-2.5),
378  etamax = cms.double(2.5),
379  nPhiBins = cms.int32(20),
380  phimin = cms.double(-3.15),
381  phimax = cms.double(3.15),
382  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1_v*')),
383  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
384  ),
385  cms.untracked.PSet(
386  name = cms.string('TightChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1'),
387  xvariable = cms.string('Tau'),
388  nPtBins = cms.int32(20),
389  ptmin = cms.double(0.),
390  ptmax = cms.double(200.),
391  nEtaBins = cms.int32(20),
392  etamin = cms.double(-2.5),
393  etamax = cms.double(2.5),
394  nPhiBins = cms.int32(20),
395  phimin = cms.double(-3.15),
396  phimax = cms.double(3.15),
397  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_TightChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1_v*')),
398  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
399  ),
400  cms.untracked.PSet(
401  name = cms.string('LooseChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1'),
402  xvariable = cms.string('Tau'),
403  nPtBins = cms.int32(20),
404  ptmin = cms.double(0.),
405  ptmax = cms.double(200.),
406  nEtaBins = cms.int32(20),
407  etamin = cms.double(-2.5),
408  etamax = cms.double(2.5),
409  nPhiBins = cms.int32(20),
410  phimin = cms.double(-3.15),
411  phimax = cms.double(3.15),
412  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_LooseChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
413  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
414  ),
415  cms.untracked.PSet(
416  name = cms.string('MediumChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1'),
417  xvariable = cms.string('Tau'),
418  nPtBins = cms.int32(20),
419  ptmin = cms.double(0.),
420  ptmax = cms.double(200.),
421  nEtaBins = cms.int32(20),
422  etamin = cms.double(-2.5),
423  etamax = cms.double(2.5),
424  nPhiBins = cms.int32(20),
425  phimin = cms.double(-3.15),
426  phimax = cms.double(3.15),
427  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
428  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
429  ),
430  cms.untracked.PSet(
431  name = cms.string('TightChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1'),
432  xvariable = cms.string('Tau'),
433  nPtBins = cms.int32(20),
434  ptmin = cms.double(0.),
435  ptmax = cms.double(200.),
436  nEtaBins = cms.int32(20),
437  etamin = cms.double(-2.5),
438  etamax = cms.double(2.5),
439  nPhiBins = cms.int32(20),
440  phimin = cms.double(-3.15),
441  phimax = cms.double(3.15),
442  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_TightChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
443  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
444  ),
445  cms.untracked.PSet(
446  name = cms.string('LooseChargedIsoPFTau40_Trk1_eta2p1_Reg_CrossL1'),
447  xvariable = cms.string('Tau'),
448  nPtBins = cms.int32(20),
449  ptmin = cms.double(0.),
450  ptmax = cms.double(200.),
451  nEtaBins = cms.int32(20),
452  etamin = cms.double(-2.5),
453  etamax = cms.double(2.5),
454  nPhiBins = cms.int32(20),
455  phimin = cms.double(-3.15),
456  phimax = cms.double(3.15),
457  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_LooseChargedIsoPFTau40_Trk1_eta2p1_Reg_CrossL1_v*')),
458  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
459  ),
460  cms.untracked.PSet(
461  name = cms.string('MediumChargedIsoPFTau40_Trk1_eta2p1_Reg_CrossL1'),
462  xvariable = cms.string('Tau'),
463  nPtBins = cms.int32(20),
464  ptmin = cms.double(0.),
465  ptmax = cms.double(200.),
466  nEtaBins = cms.int32(20),
467  etamin = cms.double(-2.5),
468  etamax = cms.double(2.5),
469  nPhiBins = cms.int32(20),
470  phimin = cms.double(-3.15),
471  phimax = cms.double(3.15),
472  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau40_Trk1_eta2p1_Reg_CrossL1_v*')),
473  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
474  ),
475  cms.untracked.PSet(
476  name = cms.string('TightChargedIsoPFTau40_Trk1_eta2p1_Reg_CrossL1'),
477  xvariable = cms.string('Tau'),
478  nPtBins = cms.int32(20),
479  ptmin = cms.double(0.),
480  ptmax = cms.double(200.),
481  nEtaBins = cms.int32(20),
482  etamin = cms.double(-2.5),
483  etamax = cms.double(2.5),
484  nPhiBins = cms.int32(20),
485  phimin = cms.double(-3.15),
486  phimax = cms.double(3.15),
487  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_TightChargedIsoPFTau40_Trk1_eta2p1_Reg_CrossL1_v*')),
488  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
489  ),
490  cms.untracked.PSet(
491  name = cms.string('LooseChargedIsoPFTau40_Trk1_TightID_eta2p1_Reg_CrossL1'),
492  xvariable = cms.string('Tau'),
493  nPtBins = cms.int32(20),
494  ptmin = cms.double(0.),
495  ptmax = cms.double(200.),
496  nEtaBins = cms.int32(20),
497  etamin = cms.double(-2.5),
498  etamax = cms.double(2.5),
499  nPhiBins = cms.int32(20),
500  phimin = cms.double(-3.15),
501  phimax = cms.double(3.15),
502  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_LooseChargedIsoPFTau40_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
503  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
504  ),
505  cms.untracked.PSet(
506  name = cms.string('MediumChargedIsoPFTau40_Trk1_TightID_eta2p1_Reg_CrossL1'),
507  xvariable = cms.string('Tau'),
508  nPtBins = cms.int32(20),
509  ptmin = cms.double(0.),
510  ptmax = cms.double(200.),
511  nEtaBins = cms.int32(20),
512  etamin = cms.double(-2.5),
513  etamax = cms.double(2.5),
514  nPhiBins = cms.int32(20),
515  phimin = cms.double(-3.15),
516  phimax = cms.double(3.15),
517  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau40_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
518  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
519  ),
520  cms.untracked.PSet(
521  name = cms.string('TightChargedIsoPFTau40_Trk1_TightID_eta2p1_Reg_CrossL1'),
522  xvariable = cms.string('Tau'),
523  nPtBins = cms.int32(20),
524  ptmin = cms.double(0.),
525  ptmax = cms.double(200.),
526  nEtaBins = cms.int32(20),
527  etamin = cms.double(-2.5),
528  etamax = cms.double(2.5),
529  nPhiBins = cms.int32(20),
530  phimin = cms.double(-3.15),
531  phimax = cms.double(3.15),
532  numerator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu24_eta2p1_TightChargedIsoPFTau40_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
533  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
534  ),
535  cms.untracked.PSet(
536  name = cms.string('MediumChargedIsoPFTau180HighPtRelaxedIso_Trk50_eta2p1'),
537  xvariable = cms.string('Tau'),
538  nPtBins = cms.int32(50),
539  ptmin = cms.double(0.),
540  ptmax = cms.double(500.),
541  nEtaBins = cms.int32(20),
542  etamin = cms.double(-2.5),
543  etamax = cms.double(2.5),
544  nPhiBins = cms.int32(20),
545  phimin = cms.double(-3.15),
546  phimax = cms.double(3.15),
547  numerator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau180HighPtRelaxedIso_Trk50_eta2p1_v*')),
548  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
549  ),
550  cms.untracked.PSet(
551  name = cms.string('MediumChargedIsoPFTau180HighPtRelaxedIso_Trk50_eta2p1_1pr'),
552  xvariable = cms.string('Tau'),
553  nPtBins = cms.int32(50),
554  ptmin = cms.double(0.),
555  ptmax = cms.double(500.),
556  nEtaBins = cms.int32(20),
557  etamin = cms.double(-2.5),
558  etamax = cms.double(2.5),
559  nPhiBins = cms.int32(20),
560  phimin = cms.double(-3.15),
561  phimax = cms.double(3.15),
562  numerator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau100HighPtRelaxedIso_Trk50_eta2p1_1pr_v*','HLT_MediumChargedIsoPFTau180HighPtRelaxedIso_Trk50_eta2p1_1pr_v*')),
563  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*'))
564  ),
565  cms.untracked.PSet(
566  name = cms.string('LooseChargedIsoPFTau30_eta2p1_CrossL1'),
567  xvariable = cms.string('Tau'),
568  nPtBins = cms.int32(20),
569  ptmin = cms.double(0.),
570  ptmax = cms.double(200.),
571  nEtaBins = cms.int32(20),
572  etamin = cms.double(-2.5),
573  etamax = cms.double(2.5),
574  nPhiBins = cms.int32(20),
575  phimin = cms.double(-3.15),
576  phimax = cms.double(3.15),
577  numerator = TriggerSelectionParameters(cms.vstring('HLT_Ele24_eta2p1_WPTight_Gsf_LooseChargedIsoPFTau30_eta2p1_CrossL1_v*')),
578  denominator = TriggerSelectionParameters(cms.vstring('HLT_Ele35_WPTight_Gsf_v*'))
579  ),
580  cms.untracked.PSet(
581  name = cms.string('MediumChargedIsoPFTau30_eta2p1_CrossL1'),
582  xvariable = cms.string('Tau'),
583  nPtBins = cms.int32(20),
584  ptmin = cms.double(0.),
585  ptmax = cms.double(200.),
586  nEtaBins = cms.int32(20),
587  etamin = cms.double(-2.5),
588  etamax = cms.double(2.5),
589  nPhiBins = cms.int32(20),
590  phimin = cms.double(-3.15),
591  phimax = cms.double(3.15),
592  numerator = TriggerSelectionParameters(cms.vstring('HLT_Ele24_eta2p1_WPTight_Gsf_MediumChargedIsoPFTau30_eta2p1_CrossL1_v*')),
593  denominator = TriggerSelectionParameters(cms.vstring('HLT_Ele35_WPTight_Gsf_v*'))
594  ),
595  cms.untracked.PSet(
596  name = cms.string('TightChargedIsoPFTau30_eta2p1_CrossL1'),
597  xvariable = cms.string('Tau'),
598  nPtBins = cms.int32(20),
599  ptmin = cms.double(0.),
600  ptmax = cms.double(200.),
601  nEtaBins = cms.int32(20),
602  etamin = cms.double(-2.5),
603  etamax = cms.double(2.5),
604  nPhiBins = cms.int32(20),
605  phimin = cms.double(-3.15),
606  phimax = cms.double(3.15),
607  numerator = TriggerSelectionParameters(cms.vstring('HLT_Ele24_eta2p1_WPTight_Gsf_TightChargedIsoPFTau30_eta2p1_CrossL1_v*')),
608  denominator = TriggerSelectionParameters(cms.vstring('HLT_Ele35_WPTight_Gsf_v*'))
609  ),
610  cms.untracked.PSet(
611  name = cms.string('LooseChargedIsoPFTau30_eta2p1_TightID_CrossL1'),
612  xvariable = cms.string('Tau'),
613  nPtBins = cms.int32(20),
614  ptmin = cms.double(0.),
615  ptmax = cms.double(200.),
616  nEtaBins = cms.int32(20),
617  etamin = cms.double(-2.5),
618  etamax = cms.double(2.5),
619  nPhiBins = cms.int32(20),
620  phimin = cms.double(-3.15),
621  phimax = cms.double(3.15),
622  numerator = TriggerSelectionParameters(cms.vstring('HLT_Ele24_eta2p1_WPTight_Gsf_LooseChargedIsoPFTau30_eta2p1_TightID_CrossL1_v*')),
623  denominator = TriggerSelectionParameters(cms.vstring('HLT_Ele35_WPTight_Gsf_v*'))
624  ),
625  cms.untracked.PSet(
626  name = cms.string('MediumChargedIsoPFTau30_eta2p1_TightID_CrossL1'),
627  xvariable = cms.string('Tau'),
628  nPtBins = cms.int32(20),
629  ptmin = cms.double(0.),
630  ptmax = cms.double(200.),
631  nEtaBins = cms.int32(20),
632  etamin = cms.double(-2.5),
633  etamax = cms.double(2.5),
634  nPhiBins = cms.int32(20),
635  phimin = cms.double(-3.15),
636  phimax = cms.double(3.15),
637  numerator = TriggerSelectionParameters(cms.vstring('HLT_Ele24_eta2p1_WPTight_Gsf_MediumChargedIsoPFTau30_eta2p1_TightID_CrossL1_v*')),
638  denominator = TriggerSelectionParameters(cms.vstring('HLT_Ele35_WPTight_Gsf_v*'))
639  ),
640  cms.untracked.PSet(
641  name = cms.string('TightChargedIsoPFTau30_eta2p1_TightID_CrossL1'),
642  xvariable = cms.string('Tau'),
643  nPtBins = cms.int32(20),
644  ptmin = cms.double(0.),
645  ptmax = cms.double(200.),
646  nEtaBins = cms.int32(20),
647  etamin = cms.double(-2.5),
648  etamax = cms.double(2.5),
649  nPhiBins = cms.int32(20),
650  phimin = cms.double(-3.15),
651  phimax = cms.double(3.15),
652  numerator = TriggerSelectionParameters(cms.vstring('HLT_Ele24_eta2p1_WPTight_Gsf_TightChargedIsoPFTau30_eta2p1_TightID_CrossL1_v*')),
653  denominator = TriggerSelectionParameters(cms.vstring('HLT_Ele35_WPTight_Gsf_v*'))
654  ),
655  cms.untracked.PSet(
656  name = cms.string('MET90'),
657  xvariable = cms.string('MET'),
658  nPtBins = cms.int32(50),
659  ptmin = cms.double(0.),
660  ptmax = cms.double(500.),
661  nPhiBins = cms.int32(20),
662  phimin = cms.double(-3.15),
663  phimax = cms.double(3.15),
664  numerator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_MET90_v*')),
665  denominator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_v*'))
666  ),
667  cms.untracked.PSet(
668  name = cms.string('MET100'),
669  xvariable = cms.string('MET'),
670  nPtBins = cms.int32(50),
671  ptmin = cms.double(0.),
672  ptmax = cms.double(500.),
673  nPhiBins = cms.int32(20),
674  phimin = cms.double(-3.15),
675  phimax = cms.double(3.15),
676  numerator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_MET100_v*')),
677  denominator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_v*'))
678  ),
679  cms.untracked.PSet(
680  name = cms.string('MET110'),
681  xvariable = cms.string('MET'),
682  nPtBins = cms.int32(50),
683  ptmin = cms.double(0.),
684  ptmax = cms.double(500.),
685  nPhiBins = cms.int32(20),
686  phimin = cms.double(-3.15),
687  phimax = cms.double(3.15),
688  numerator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_MET110_v*')),
689  denominator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_v*'))
690  ),
691  cms.untracked.PSet(
692  name = cms.string('MET120'),
693  xvariable = cms.string('MET'),
694  nPtBins = cms.int32(50),
695  ptmin = cms.double(0.),
696  ptmax = cms.double(500.),
697  nPhiBins = cms.int32(20),
698  phimin = cms.double(-3.15),
699  phimax = cms.double(3.15),
700  numerator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_MET120_v*')),
701  denominator = TriggerSelectionParameters(cms.vstring('HLT_MediumChargedIsoPFTau50_Trk30_eta2p1_1pr_v*'))
702  ),
703  cms.untracked.PSet(
704  name = cms.string('IsoMu20_eta2p1'),
705  xvariable = cms.string('Muon'),
706  nPtBins = cms.int32(20),
707  ptmin = cms.double(0.),
708  ptmax = cms.double(200.),
709  nEtaBins = cms.int32(20),
710  etamin = cms.double(-2.5),
711  etamax = cms.double(2.5),
712  nPhiBins = cms.int32(20),
713  phimin = cms.double(-3.15),
714  phimax = cms.double(3.15),
715  numerator = TriggerSelectionParameters(cms.vstring('HLT_DoubleIsoMu20_eta2p1_v*')),
716  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*')),
717  nOfflObjs = cms.untracked.uint32(2)
718  ),
719  cms.untracked.PSet(
720  name = cms.string('IsoMu24_eta2p1'),
721  xvariable = cms.string('Muon'),
722  nPtBins = cms.int32(20),
723  ptmin = cms.double(0.),
724  ptmax = cms.double(200.),
725  nEtaBins = cms.int32(20),
726  etamin = cms.double(-2.5),
727  etamax = cms.double(2.5),
728  nPhiBins = cms.int32(20),
729  phimin = cms.double(-3.15),
730  phimax = cms.double(3.15),
731  numerator = TriggerSelectionParameters(cms.vstring('HLT_DoubleIsoMu24_eta2p1_v*')),
732  denominator = TriggerSelectionParameters(cms.vstring('HLT_IsoMu27_v*')),
733  nOfflObjs = cms.untracked.uint32(2)
734  ),
735  cms.untracked.PSet(
736  name = cms.string('Ele24_eta2p1_WPTight_Gsf'),
737  xvariable = cms.string('Electron'),
738  nPtBins = cms.int32(20),
739  ptmin = cms.double(0.),
740  ptmax = cms.double(200.),
741  nEtaBins = cms.int32(20),
742  etamin = cms.double(-2.5),
743  etamax = cms.double(2.5),
744  nPhiBins = cms.int32(20),
745  phimin = cms.double(-3.15),
746  phimax = cms.double(3.15),
747  numerator = TriggerSelectionParameters(cms.vstring('HLT_DoubleEle24_eta2p1_WPTight_Gsf_v*')),
748  denominator = TriggerSelectionParameters(cms.vstring('HLT_Ele35_WPTight_Gsf_v*')),
749  nOfflObjs = cms.untracked.uint32(2)
750  )
751  )
752 )
def TriggerSelectionParameters(hltpaths)