CMS 3D CMS Logo

PileupJetIDParams_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 ####################################################################################################################
5 full_81x_chs = cms.PSet(
6  impactParTkThreshold = cms.double(1.),
7  cutBased = cms.bool(False),
8  etaBinnedWeights = cms.bool(True),
9  tmvaMethod = cms.string("JetIDMVAHighPt"),
10  version = cms.int32(-1),
11  nEtaBins = cms.int32(4),
12  trainings = cms.VPSet(
13  cms.PSet(
14  jEtaMin = cms.double(0.),
15  jEtaMax = cms.double(2.5),
16  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80XvarFix_Eta0to2p5_BDT.weights.xml.gz"),
17  tmvaVariables = cms.vstring(
18  "nvtx",
19  "dR2Mean" ,
20  "nParticles" ,
21  "nCharged" ,
22  "majW" ,
23  "minW",
24  "frac01" ,
25  "frac02" ,
26  "frac03" ,
27  "frac04" ,
28  "ptD" ,
29  "beta" ,
30  "pull" ,
31  "jetR" ,
32  "jetRchg" ,
33  )
34  ),
35  cms.PSet(
36  jEtaMin = cms.double(2.5),
37  jEtaMax = cms.double(2.75),
38  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80XvarFix_Eta2p5to2p75_BDT.weights.xml.gz"),
39  tmvaVariables = cms.vstring(
40  "nvtx",
41  "dR2Mean" ,
42  "nParticles" ,
43  "nCharged" ,
44  "majW" ,
45  "minW",
46  "frac01" ,
47  "frac02" ,
48  "frac03" ,
49  "frac04" ,
50  "ptD" ,
51  "beta" ,
52  "pull" ,
53  "jetR" ,
54  "jetRchg" ,
55  )
56  ),
57  cms.PSet(
58  jEtaMin = cms.double(2.75),
59  jEtaMax = cms.double(3.),
60  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80XvarFix_Eta2p75to3_BDT.weights.xml.gz"),
61  tmvaVariables = cms.vstring(
62  "nvtx",
63  "dR2Mean" ,
64  "nParticles" ,
65  "nCharged" ,
66  "majW" ,
67  "minW",
68  "frac01" ,
69  "frac02" ,
70  "frac03" ,
71  "frac04" ,
72  "ptD" ,
73  "beta" ,
74  "pull" ,
75  "jetR" ,
76  "jetRchg" ,
77  )
78  ),
79  cms.PSet(
80  jEtaMin = cms.double(3.),
81  jEtaMax = cms.double(5.),
82  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80XvarFix_Eta3to5_BDT.weights.xml.gz"),
83  tmvaVariables = cms.vstring(
84  "nvtx",
85  "dR2Mean" ,
86  "nParticles" ,
87  "majW" ,
88  "minW",
89  "frac01" ,
90  "frac02" ,
91  "frac03" ,
92  "frac04" ,
93  "ptD" ,
94  "pull" ,
95  "jetR" ,
96  )
97  ),
98  ),
99  tmvaSpectators = cms.vstring(
100  "jetPt" ,
101  "jetEta" ,
102  ),
103  JetIdParams = full_81x_chs_wp,
104  label = cms.string("full")
105 )
106 ####################################################################################################################
107 trainingVariables_102X_Eta0To3 = [
108  "nvtx" ,
109  "beta" ,
110  "dR2Mean" ,
111  "frac01" ,
112  "frac02" ,
113  "frac03" ,
114  "frac04" ,
115  "majW" ,
116  "minW" ,
117  "jetR" ,
118  "jetRchg" ,
119  "nParticles",
120  "nCharged" ,
121  "ptD" ,
122  "pull" ,
123  ]
124 trainingVariables_102X_Eta3To5 = list(trainingVariables_102X_Eta0To3)
125 trainingVariables_102X_Eta3To5.remove('beta')
126 trainingVariables_102X_Eta3To5.remove('jetRchg')
127 trainingVariables_102X_Eta3To5.remove('nCharged')
128 
129 full_102x_chs = full_81x_chs.clone(JetIdParams = full_102x_chs_wp)
130 full_102x_chs.trainings[0].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta0p0To2p5_chs_BDT.weights.xml.gz"
131 full_102x_chs.trainings[0].tmvaVariables = trainingVariables_102X_Eta0To3
132 full_102x_chs.trainings[1].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta2p5To2p75_chs_BDT.weights.xml.gz"
133 full_102x_chs.trainings[1].tmvaVariables = trainingVariables_102X_Eta0To3
134 full_102x_chs.trainings[2].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta2p75To3p0_chs_BDT.weights.xml.gz"
135 full_102x_chs.trainings[2].tmvaVariables = trainingVariables_102X_Eta0To3
136 full_102x_chs.trainings[3].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta3p0To5p0_chs_BDT.weights.xml.gz"
137 full_102x_chs.trainings[3].tmvaVariables = trainingVariables_102X_Eta3To5
138 
139 ####################################################################################################################
140 trainingVariables_94X_Eta0To3 = list(trainingVariables_102X_Eta0To3)
141 trainingVariables_94X_Eta3To5 = list(trainingVariables_102X_Eta3To5)
142 full_94x_chs = full_81x_chs.clone(JetIdParams = full_94x_chs_wp)
143 full_94x_chs.trainings[0].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta0p0To2p5_chs_BDT.weights.xml.gz"
144 full_94x_chs.trainings[0].tmvaVariables = trainingVariables_94X_Eta0To3
145 full_94x_chs.trainings[1].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta2p5To2p75_chs_BDT.weights.xml.gz"
146 full_94x_chs.trainings[1].tmvaVariables = trainingVariables_94X_Eta0To3
147 full_94x_chs.trainings[2].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta2p75To3p0_chs_BDT.weights.xml.gz"
148 full_94x_chs.trainings[2].tmvaVariables = trainingVariables_94X_Eta0To3
149 full_94x_chs.trainings[3].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta3p0To5p0_chs_BDT.weights.xml.gz"
150 full_94x_chs.trainings[3].tmvaVariables = trainingVariables_94X_Eta3To5
151 
152 
153 ####################################################################################################################
154 trainingVariables_106X_Eta0To3 = list(trainingVariables_102X_Eta0To3)
155 trainingVariables_106X_Eta3To5 = list(trainingVariables_102X_Eta3To5)
156 full_106x_UL17_chs = full_81x_chs.clone(JetIdParams = full_106x_UL17_chs_wp)
157 full_106x_UL17_chs.trainings[0].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta0p0To2p5_chs_BDT.weights.xml.gz"
158 full_106x_UL17_chs.trainings[0].tmvaVariables = trainingVariables_106X_Eta0To3
159 full_106x_UL17_chs.trainings[1].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta2p5To2p75_chs_BDT.weights.xml.gz"
160 full_106x_UL17_chs.trainings[1].tmvaVariables = trainingVariables_106X_Eta0To3
161 full_106x_UL17_chs.trainings[2].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta2p75To3p0_chs_BDT.weights.xml.gz"
162 full_106x_UL17_chs.trainings[2].tmvaVariables = trainingVariables_106X_Eta0To3
163 full_106x_UL17_chs.trainings[3].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta3p0To5p0_chs_BDT.weights.xml.gz"
164 full_106x_UL17_chs.trainings[3].tmvaVariables = trainingVariables_106X_Eta3To5
165 
166 ####################################################################################################################
167 full_106x_UL18_chs = full_106x_UL17_chs.clone(JetIdParams = full_106x_UL18_chs_wp)
168 for train in full_106x_UL18_chs.trainings:
169  train.tmvaWeights = train.tmvaWeights.value().replace("UL17", "UL18")
170 
171 ####################################################################################################################
172 full_106x_UL16_chs = full_106x_UL17_chs.clone(JetIdParams = full_106x_UL16_chs_wp)
173 for train in full_106x_UL16_chs.trainings:
174  train.tmvaWeights = train.tmvaWeights.value().replace("UL17", "UL16")
175 
176 ####################################################################################################################
177 full_106x_UL16APV_chs = full_106x_UL17_chs.clone(JetIdParams = full_106x_UL16APV_chs_wp)
178 for train in full_106x_UL16APV_chs.trainings:
179  train.tmvaWeights = train.tmvaWeights.value().replace("UL17", "UL16APV")
180 
181 ####################################################################################################################
182 full_80x_chs = cms.PSet(
183  impactParTkThreshold = cms.double(1.),
184  cutBased = cms.bool(False),
185  etaBinnedWeights = cms.bool(True),
186  tmvaMethod = cms.string("JetIDMVAHighPt"),
187  version = cms.int32(-1),
188  nEtaBins = cms.int32(4),
189  trainings = cms.VPSet(
190  cms.PSet(
191  jEtaMin = cms.double(0.),
192  jEtaMax = cms.double(2.5),
193  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta0to2p5_BDT.weights.xml.gz"),
194  tmvaVariables = cms.vstring(
195  "nvtx",
196  "dR2Mean" ,
197  "nParticles" ,
198  "nCharged" ,
199  "majW" ,
200  "minW",
201  "frac01" ,
202  "frac02" ,
203  "frac03" ,
204  "frac04" ,
205  "ptD" ,
206  "beta" ,
207  "pull" ,
208  "jetR" ,
209  "jetRchg" ,
210  )
211  ),
212  cms.PSet(
213  jEtaMin = cms.double(2.5),
214  jEtaMax = cms.double(2.75),
215  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p5to2p75_BDT.weights.xml.gz"),
216  tmvaVariables = cms.vstring(
217  "nvtx",
218  "dR2Mean" ,
219  "nParticles" ,
220  "nCharged" ,
221  "majW" ,
222  "minW",
223  "frac01" ,
224  "frac02" ,
225  "frac03" ,
226  "frac04" ,
227  "ptD" ,
228  "beta" ,
229  "pull" ,
230  "jetR" ,
231  "jetRchg" ,
232  )
233  ),
234  cms.PSet(
235  jEtaMin = cms.double(2.75),
236  jEtaMax = cms.double(3.),
237  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p75to3_BDT.weights.xml.gz"),
238  tmvaVariables = cms.vstring(
239  "nvtx",
240  "dR2Mean" ,
241  "nParticles" ,
242  "nCharged" ,
243  "majW" ,
244  "minW",
245  "frac01" ,
246  "frac02" ,
247  "frac03" ,
248  "frac04" ,
249  "ptD" ,
250  "beta" ,
251  "pull" ,
252  "jetR" ,
253  "jetRchg" ,
254  )
255  ),
256  cms.PSet(
257  jEtaMin = cms.double(3.),
258  jEtaMax = cms.double(5.),
259  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta3to5_BDT.weights.xml.gz"),
260  tmvaVariables = cms.vstring(
261  "nvtx",
262  "dR2Mean" ,
263  "nParticles" ,
264  "majW" ,
265  "minW",
266  "frac01" ,
267  "frac02" ,
268  "frac03" ,
269  "frac04" ,
270  "ptD" ,
271  "pull" ,
272  "jetR" ,
273  )
274  ),
275  ),
276  tmvaSpectators = cms.vstring(
277  "jetPt" ,
278  "jetEta" ,
279  ),
280  JetIdParams = full_80x_chs_wp,
281  label = cms.string("full")
282 )
283 
284 ####################################################################################################################
285 full_76x_chs = cms.PSet(
286  impactParTkThreshold = cms.double(1.) ,
287  cutBased = cms.bool(False),
288  etaBinnedWeights = cms.bool(True),
289  nEtaBins = cms.int32(4),
290  trainings = cms.VPSet(
291  cms.PSet(
292  jEtaMin = cms.double(0.),
293  jEtaMax = cms.double(2.5),
294  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta0to2p5_BDT.weights.xml.gz"),
295  tmvaVariables = cms.vstring(
296  "nvtx",
297  "dR2Mean" ,
298  "nParticles" ,
299  "nCharged" ,
300  "majW" ,
301  "minW",
302  "frac01" ,
303  "frac02" ,
304  "frac03" ,
305  "frac04" ,
306  "ptD" ,
307  "beta" ,
308  "pull" ,
309  "jetR" ,
310  "jetRchg" ,
311  )
312  ),
313  cms.PSet(
314  jEtaMin = cms.double(2.5),
315  jEtaMax = cms.double(2.75),
316  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p5to2p75_BDT.weights.xml.gz"),
317  tmvaVariables = cms.vstring(
318  "nvtx",
319  "dR2Mean" ,
320  "nParticles" ,
321  "nCharged" ,
322  "majW" ,
323  "minW",
324  "frac01" ,
325  "frac02" ,
326  "frac03" ,
327  "frac04" ,
328  "ptD" ,
329  "beta" ,
330  "pull" ,
331  "jetR" ,
332  "jetRchg" ,
333  )
334  ),
335  cms.PSet(
336  jEtaMin = cms.double(2.75),
337  jEtaMax = cms.double(3.),
338  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p75to3_BDT.weights.xml.gz"),
339  tmvaVariables = cms.vstring(
340  "nvtx",
341  "dR2Mean" ,
342  "nParticles" ,
343  "nCharged" ,
344  "majW" ,
345  "minW",
346  "frac01" ,
347  "frac02" ,
348  "frac03" ,
349  "frac04" ,
350  "ptD" ,
351  "beta" ,
352  "pull" ,
353  "jetR" ,
354  "jetRchg" ,
355  )
356  ),
357  cms.PSet(
358  jEtaMin = cms.double(3.),
359  jEtaMax = cms.double(5.),
360  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta3to5_BDT.weights.xml.gz"),
361  tmvaVariables = cms.vstring(
362  "nvtx",
363  "dR2Mean" ,
364  "nParticles" ,
365  "majW" ,
366  "minW",
367  "frac01" ,
368  "frac02" ,
369  "frac03" ,
370  "frac04" ,
371  "ptD" ,
372  "pull" ,
373  "jetR" ,
374  )
375  ),
376  ),
377  tmvaMethod = cms.string("JetIDMVAHighPt"),
378  version = cms.int32(-1),
379  tmvaSpectators = cms.vstring(
380  "jetPt" ,
381  "jetEta" ,
382  ),
383  JetIdParams = full_76x_chs_wp,
384  label = cms.string("full")
385  )
386 ####################################################################################################################
387 full_74x_chs = cms.PSet(
388  impactParTkThreshold = cms.double(1.) ,
389  cutBased = cms.bool(False),
390  etaBinnedWeights = cms.bool(True),
391  nEtaBins = cms.int32(4),
392  trainings = cms.VPSet(
393  cms.PSet(
394  jEtaMin = cms.double(0.),
395  jEtaMax = cms.double(2.),
396  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
397  tmvaVariables = cms.vstring(
398  "dR2Mean" ,
399  "rho" ,
400  "nParticles" ,
401  "nCharged" ,
402  "majW" ,
403  "minW",
404  "frac01" ,
405  "frac02" ,
406  "frac03" ,
407  "frac04" ,
408  "ptD" ,
409  "beta" ,
410  "betaStar" ,
411  "pull" ,
412  "jetR" ,
413  "jetRchg" ,
414  )
415  ),
416  cms.PSet(
417  jEtaMin = cms.double(2.),
418  jEtaMax = cms.double(2.5),
419  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
420  tmvaVariables = cms.vstring(
421  "dR2Mean" ,
422  "rho" ,
423  "nParticles" ,
424  "nCharged" ,
425  "majW" ,
426  "minW",
427  "frac01" ,
428  "frac02" ,
429  "frac03" ,
430  "frac04" ,
431  "ptD" ,
432  "beta" ,
433  "betaStar" ,
434  "pull" ,
435  "jetR" ,
436  "jetRchg" ,
437  )
438  ),
439  cms.PSet(
440  jEtaMin = cms.double(2.5),
441  jEtaMax = cms.double(3.),
442  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
443  tmvaVariables = cms.vstring(
444  "dR2Mean" ,
445  "rho" ,
446  "nParticles" ,
447  "nCharged" ,
448  "majW" ,
449  "minW",
450  "frac01" ,
451  "frac02" ,
452  "frac03" ,
453  "frac04" ,
454  "ptD" ,
455  "beta" ,
456  "betaStar" ,
457  "pull" ,
458  "jetR" ,
459  "jetRchg" ,
460  )
461  ),
462  cms.PSet(
463  jEtaMin = cms.double(3.),
464  jEtaMax = cms.double(5.),
465  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
466  tmvaVariables = cms.vstring(
467  "dR2Mean" ,
468  "rho" ,
469  "nParticles" ,
470  "majW" ,
471  "minW",
472  "frac01" ,
473  "frac02" ,
474  "frac03" ,
475  "frac04" ,
476  "ptD" ,
477  "pull" ,
478  "jetR" ,
479  )
480  ),
481  ),
482  version = cms.int32(-1),
483  tmvaSpectators = cms.vstring(
484  "jetPt" ,
485  "jetEta" ,
486  "nTrueInt" ,
487  "dRMatch" ,
488  ),
489  JetIdParams = full_74x_chs_wp,
490  label = cms.string("full")
491  )
492 ####################################################################################################################
493 full_53x = cms.PSet(
494  impactParTkThreshold = cms.double(1.) ,
495  cutBased = cms.bool(False),
496  etaBinnedWeights = cms.bool(False),
497  tmvaWeights = cms.FileInPath("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
498  tmvaMethod = cms.string("JetIDMVAHighPt"),
499  version = cms.int32(-1),
500  tmvaVariables = cms.vstring(
501  "nvtx" ,
502  "dZ" ,
503  "beta" ,
504  "betaStar" ,
505  "nCharged" ,
506  "nNeutrals",
507  "dR2Mean" ,
508  "ptD" ,
509  "frac01" ,
510  "frac02" ,
511  "frac03" ,
512  "frac04" ,
513  "frac05" ,
514  ),
515  tmvaSpectators = cms.vstring(
516  "jetPt",
517  "jetEta",
518  "jetPhi"
519  ),
520  JetIdParams = full_53x_wp,
521  label = cms.string("full53x")
522  )
523 ####################################################################################################################
524 full_53x_chs = cms.PSet(
525  impactParTkThreshold = cms.double(1.) ,
526  cutBased = cms.bool(False),
527  etaBinnedWeights = cms.bool(False),
528  tmvaWeights = cms.FileInPath("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
529  #tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
530  tmvaMethod = cms.string("JetIDMVAHighPt"),
531  version = cms.int32(-1),
532  tmvaVariables = cms.vstring(
533  "nvtx" ,
534  "dZ" ,
535  "beta" ,
536  "betaStar" ,
537  "nCharged" ,
538  "nNeutrals",
539  "dR2Mean" ,
540  "ptD" ,
541  "frac01" ,
542  "frac02" ,
543  "frac03" ,
544  "frac04" ,
545  "frac05" ,
546  ),
547  tmvaSpectators = cms.vstring(
548  "jetPt",
549  "jetEta",
550  "jetPhi"
551  ),
552  JetIdParams = full_53x_chs_wp,
553  label = cms.string("full")
554  )
555 ####################################################################################################################
556 met_53x = cms.PSet(
557  impactParTkThreshold = cms.double(1.) ,
558  cutBased = cms.bool(False),
559  etaBinnedWeights = cms.bool(False),
560  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
561  tmvaMethod = cms.string("JetIDMVAMET"),
562  version = cms.int32(-1),
563  tmvaVariables = cms.vstring(
564  "nvtx" ,
565  "jetPt" ,
566  "jetEta" ,
567  "jetPhi" ,
568  "dZ" ,
569  "beta" ,
570  "betaStar" ,
571  "nCharged" ,
572  "nNeutrals",
573  "dR2Mean" ,
574  "ptD" ,
575  "frac01" ,
576  "frac02" ,
577  "frac03" ,
578  "frac04" ,
579  "frac05" ,
580  ),
581  tmvaSpectators = cms.vstring(),
582  JetIdParams = met_53x_wp,
583  label = cms.string("met53x")
584  )
585 ##################################################################################################################
586 full_5x = cms.PSet(
587  impactParTkThreshold = cms.double(1.) ,
588  cutBased = cms.bool(False),
589  etaBinnedWeights = cms.bool(False),
590  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
591  tmvaMethod = cms.string("BDT_fullPlusRMS"),
592  version = cms.int32(-1),
593  tmvaVariables = cms.vstring(
594  "frac01",
595  "frac02",
596  "frac03",
597  "frac04",
598  "frac05",
599  "dR2Mean",
600  "nvtx",
601  "nNeutrals",
602  "beta",
603  "betaStar",
604  "dZ",
605  "nCharged",
606  ),
607  tmvaSpectators = cms.vstring(
608  "jetPt",
609  "jetEta",
610  ),
611  JetIdParams = full_5x_wp,
612  label = cms.string("full")
613  )
614 
615 ##################################################################################################################
616 full_5x_chs = cms.PSet(
617  impactParTkThreshold = cms.double(1.) ,
618  cutBased = cms.bool(False),
619  etaBinnedWeights = cms.bool(False),
620  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
621  tmvaMethod = cms.string("BDT_chsFullPlusRMS"),
622  version = cms.int32(-1),
623  tmvaVariables = cms.vstring(
624  "frac01",
625  "frac02",
626  "frac03",
627  "frac04",
628  "frac05",
629  "dR2Mean",
630  "nvtx",
631  "nNeutrals",
632  "beta",
633  "betaStar",
634  "dZ",
635  "nCharged",
636  ),
637  tmvaSpectators = cms.vstring(
638  "jetPt",
639  "jetEta",
640  ),
641  JetIdParams = full_5x_chs_wp,
642  label = cms.string("full")
643  )
644 
645 ####################################################################################################################
646 cutbased = cms.PSet(
647  impactParTkThreshold = cms.double(1.),
648  cutBased = cms.bool(True),
649  JetIdParams = PuJetIdCutBased_wp,
650  label = cms.string("cutbased")
651  )
652 
653 ####################################################################################################################
654 PhilV1 = cms.PSet(
655  impactParTkThreshold = cms.double(1.) ,
656  cutBased = cms.bool(False),
657  etaBinnedWeights = cms.bool(False),
658  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
659  tmvaMethod = cms.string("JetID"),
660  version = cms.int32(-1),
661  tmvaVariables = cms.vstring(
662  "nvtx",
663  "jetPt",
664  "jetEta",
665  "jetPhi",
666  "dZ",
667  "d0",
668  "beta",
669  "betaStar",
670  "nCharged",
671  "nNeutrals",
672  "dRMean",
673  "frac01",
674  "frac02",
675  "frac03",
676  "frac04",
677  "frac05",
678  ),
679  tmvaSpectators = cms.vstring(),
680  JetIdParams = JetIdParams,
681  label = cms.string("philv1")
682 )
683 
def replace(string, replacements)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run