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 
108 ####################################################################################################################
109 full_80x_chs = cms.PSet(
110  impactParTkThreshold = cms.double(1.),
111  cutBased = cms.bool(False),
112  etaBinnedWeights = cms.bool(True),
113  tmvaMethod = cms.string("JetIDMVAHighPt"),
114  version = cms.int32(-1),
115  nEtaBins = cms.int32(4),
116  trainings = cms.VPSet(
117  cms.PSet(
118  jEtaMin = cms.double(0.),
119  jEtaMax = cms.double(2.5),
120  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta0to2p5_BDT.weights.xml.gz"),
121  tmvaVariables = cms.vstring(
122  "nvtx",
123  "dR2Mean" ,
124  "nParticles" ,
125  "nCharged" ,
126  "majW" ,
127  "minW",
128  "frac01" ,
129  "frac02" ,
130  "frac03" ,
131  "frac04" ,
132  "ptD" ,
133  "beta" ,
134  "pull" ,
135  "jetR" ,
136  "jetRchg" ,
137  )
138  ),
139  cms.PSet(
140  jEtaMin = cms.double(2.5),
141  jEtaMax = cms.double(2.75),
142  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p5to2p75_BDT.weights.xml.gz"),
143  tmvaVariables = cms.vstring(
144  "nvtx",
145  "dR2Mean" ,
146  "nParticles" ,
147  "nCharged" ,
148  "majW" ,
149  "minW",
150  "frac01" ,
151  "frac02" ,
152  "frac03" ,
153  "frac04" ,
154  "ptD" ,
155  "beta" ,
156  "pull" ,
157  "jetR" ,
158  "jetRchg" ,
159  )
160  ),
161  cms.PSet(
162  jEtaMin = cms.double(2.75),
163  jEtaMax = cms.double(3.),
164  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p75to3_BDT.weights.xml.gz"),
165  tmvaVariables = cms.vstring(
166  "nvtx",
167  "dR2Mean" ,
168  "nParticles" ,
169  "nCharged" ,
170  "majW" ,
171  "minW",
172  "frac01" ,
173  "frac02" ,
174  "frac03" ,
175  "frac04" ,
176  "ptD" ,
177  "beta" ,
178  "pull" ,
179  "jetR" ,
180  "jetRchg" ,
181  )
182  ),
183  cms.PSet(
184  jEtaMin = cms.double(3.),
185  jEtaMax = cms.double(5.),
186  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta3to5_BDT.weights.xml.gz"),
187  tmvaVariables = cms.vstring(
188  "nvtx",
189  "dR2Mean" ,
190  "nParticles" ,
191  "majW" ,
192  "minW",
193  "frac01" ,
194  "frac02" ,
195  "frac03" ,
196  "frac04" ,
197  "ptD" ,
198  "pull" ,
199  "jetR" ,
200  )
201  ),
202  ),
203  tmvaSpectators = cms.vstring(
204  "jetPt" ,
205  "jetEta" ,
206  ),
207  JetIdParams = full_80x_chs_wp,
208  label = cms.string("full")
209 )
210 
211 ####################################################################################################################
212 full_76x_chs = cms.PSet(
213  impactParTkThreshold = cms.double(1.) ,
214  cutBased = cms.bool(False),
215  etaBinnedWeights = cms.bool(True),
216  nEtaBins = cms.int32(4),
217  trainings = cms.VPSet(
218  cms.PSet(
219  jEtaMin = cms.double(0.),
220  jEtaMax = cms.double(2.5),
221  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta0to2p5_BDT.weights.xml.gz"),
222  tmvaVariables = cms.vstring(
223  "nvtx",
224  "dR2Mean" ,
225  "nParticles" ,
226  "nCharged" ,
227  "majW" ,
228  "minW",
229  "frac01" ,
230  "frac02" ,
231  "frac03" ,
232  "frac04" ,
233  "ptD" ,
234  "beta" ,
235  "pull" ,
236  "jetR" ,
237  "jetRchg" ,
238  )
239  ),
240  cms.PSet(
241  jEtaMin = cms.double(2.5),
242  jEtaMax = cms.double(2.75),
243  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p5to2p75_BDT.weights.xml.gz"),
244  tmvaVariables = cms.vstring(
245  "nvtx",
246  "dR2Mean" ,
247  "nParticles" ,
248  "nCharged" ,
249  "majW" ,
250  "minW",
251  "frac01" ,
252  "frac02" ,
253  "frac03" ,
254  "frac04" ,
255  "ptD" ,
256  "beta" ,
257  "pull" ,
258  "jetR" ,
259  "jetRchg" ,
260  )
261  ),
262  cms.PSet(
263  jEtaMin = cms.double(2.75),
264  jEtaMax = cms.double(3.),
265  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p75to3_BDT.weights.xml.gz"),
266  tmvaVariables = cms.vstring(
267  "nvtx",
268  "dR2Mean" ,
269  "nParticles" ,
270  "nCharged" ,
271  "majW" ,
272  "minW",
273  "frac01" ,
274  "frac02" ,
275  "frac03" ,
276  "frac04" ,
277  "ptD" ,
278  "beta" ,
279  "pull" ,
280  "jetR" ,
281  "jetRchg" ,
282  )
283  ),
284  cms.PSet(
285  jEtaMin = cms.double(3.),
286  jEtaMax = cms.double(5.),
287  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta3to5_BDT.weights.xml.gz"),
288  tmvaVariables = cms.vstring(
289  "nvtx",
290  "dR2Mean" ,
291  "nParticles" ,
292  "majW" ,
293  "minW",
294  "frac01" ,
295  "frac02" ,
296  "frac03" ,
297  "frac04" ,
298  "ptD" ,
299  "pull" ,
300  "jetR" ,
301  )
302  ),
303  ),
304  tmvaMethod = cms.string("JetIDMVAHighPt"),
305  version = cms.int32(-1),
306  tmvaSpectators = cms.vstring(
307  "jetPt" ,
308  "jetEta" ,
309  ),
310  JetIdParams = full_76x_chs_wp,
311  label = cms.string("full")
312  )
313 ####################################################################################################################
314 full_74x_chs = cms.PSet(
315  impactParTkThreshold = cms.double(1.) ,
316  cutBased = cms.bool(False),
317  etaBinnedWeights = cms.bool(True),
318  nEtaBins = cms.int32(4),
319  trainings = cms.VPSet(
320  cms.PSet(
321  jEtaMin = cms.double(0.),
322  jEtaMax = cms.double(2.),
323  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
324  tmvaVariables = cms.vstring(
325  "dR2Mean" ,
326  "rho" ,
327  "nParticles" ,
328  "nCharged" ,
329  "majW" ,
330  "minW",
331  "frac01" ,
332  "frac02" ,
333  "frac03" ,
334  "frac04" ,
335  "ptD" ,
336  "beta" ,
337  "betaStar" ,
338  "pull" ,
339  "jetR" ,
340  "jetRchg" ,
341  )
342  ),
343  cms.PSet(
344  jEtaMin = cms.double(2.),
345  jEtaMax = cms.double(2.5),
346  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
347  tmvaVariables = cms.vstring(
348  "dR2Mean" ,
349  "rho" ,
350  "nParticles" ,
351  "nCharged" ,
352  "majW" ,
353  "minW",
354  "frac01" ,
355  "frac02" ,
356  "frac03" ,
357  "frac04" ,
358  "ptD" ,
359  "beta" ,
360  "betaStar" ,
361  "pull" ,
362  "jetR" ,
363  "jetRchg" ,
364  )
365  ),
366  cms.PSet(
367  jEtaMin = cms.double(2.5),
368  jEtaMax = cms.double(3.),
369  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
370  tmvaVariables = cms.vstring(
371  "dR2Mean" ,
372  "rho" ,
373  "nParticles" ,
374  "nCharged" ,
375  "majW" ,
376  "minW",
377  "frac01" ,
378  "frac02" ,
379  "frac03" ,
380  "frac04" ,
381  "ptD" ,
382  "beta" ,
383  "betaStar" ,
384  "pull" ,
385  "jetR" ,
386  "jetRchg" ,
387  )
388  ),
389  cms.PSet(
390  jEtaMin = cms.double(3.),
391  jEtaMax = cms.double(5.),
392  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
393  tmvaVariables = cms.vstring(
394  "dR2Mean" ,
395  "rho" ,
396  "nParticles" ,
397  "majW" ,
398  "minW",
399  "frac01" ,
400  "frac02" ,
401  "frac03" ,
402  "frac04" ,
403  "ptD" ,
404  "pull" ,
405  "jetR" ,
406  )
407  ),
408  ),
409  version = cms.int32(-1),
410  tmvaSpectators = cms.vstring(
411  "jetPt" ,
412  "jetEta" ,
413  "nTrueInt" ,
414  "dRMatch" ,
415  ),
416  JetIdParams = full_74x_chs_wp,
417  label = cms.string("full")
418  )
419 ####################################################################################################################
420 full_53x = cms.PSet(
421  impactParTkThreshold = cms.double(1.) ,
422  cutBased = cms.bool(False),
423  etaBinnedWeights = cms.bool(False),
424  tmvaWeights = cms.FileInPath("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
425  tmvaMethod = cms.string("JetIDMVAHighPt"),
426  version = cms.int32(-1),
427  tmvaVariables = cms.vstring(
428  "nvtx" ,
429  "dZ" ,
430  "beta" ,
431  "betaStar" ,
432  "nCharged" ,
433  "nNeutrals",
434  "dR2Mean" ,
435  "ptD" ,
436  "frac01" ,
437  "frac02" ,
438  "frac03" ,
439  "frac04" ,
440  "frac05" ,
441  ),
442  tmvaSpectators = cms.vstring(
443  "jetPt",
444  "jetEta",
445  "jetPhi"
446  ),
447  JetIdParams = full_53x_wp,
448  label = cms.string("full53x")
449  )
450 ####################################################################################################################
451 full_53x_chs = cms.PSet(
452  impactParTkThreshold = cms.double(1.) ,
453  cutBased = cms.bool(False),
454  etaBinnedWeights = cms.bool(False),
455  tmvaWeights = cms.FileInPath("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
456  #tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
457  tmvaMethod = cms.string("JetIDMVAHighPt"),
458  version = cms.int32(-1),
459  tmvaVariables = cms.vstring(
460  "nvtx" ,
461  "dZ" ,
462  "beta" ,
463  "betaStar" ,
464  "nCharged" ,
465  "nNeutrals",
466  "dR2Mean" ,
467  "ptD" ,
468  "frac01" ,
469  "frac02" ,
470  "frac03" ,
471  "frac04" ,
472  "frac05" ,
473  ),
474  tmvaSpectators = cms.vstring(
475  "jetPt",
476  "jetEta",
477  "jetPhi"
478  ),
479  JetIdParams = full_53x_chs_wp,
480  label = cms.string("full")
481  )
482 ####################################################################################################################
483 met_53x = cms.PSet(
484  impactParTkThreshold = cms.double(1.) ,
485  cutBased = cms.bool(False),
486  etaBinnedWeights = cms.bool(False),
487  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
488  tmvaMethod = cms.string("JetIDMVAMET"),
489  version = cms.int32(-1),
490  tmvaVariables = cms.vstring(
491  "nvtx" ,
492  "jetPt" ,
493  "jetEta" ,
494  "jetPhi" ,
495  "dZ" ,
496  "beta" ,
497  "betaStar" ,
498  "nCharged" ,
499  "nNeutrals",
500  "dR2Mean" ,
501  "ptD" ,
502  "frac01" ,
503  "frac02" ,
504  "frac03" ,
505  "frac04" ,
506  "frac05" ,
507  ),
508  tmvaSpectators = cms.vstring(),
509  JetIdParams = met_53x_wp,
510  label = cms.string("met53x")
511  )
512 ##################################################################################################################
513 full_5x = cms.PSet(
514  impactParTkThreshold = cms.double(1.) ,
515  cutBased = cms.bool(False),
516  etaBinnedWeights = cms.bool(False),
517  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
518  tmvaMethod = cms.string("BDT_fullPlusRMS"),
519  version = cms.int32(-1),
520  tmvaVariables = cms.vstring(
521  "frac01",
522  "frac02",
523  "frac03",
524  "frac04",
525  "frac05",
526  "dR2Mean",
527  "nvtx",
528  "nNeutrals",
529  "beta",
530  "betaStar",
531  "dZ",
532  "nCharged",
533  ),
534  tmvaSpectators = cms.vstring(
535  "jetPt",
536  "jetEta",
537  ),
538  JetIdParams = full_5x_wp,
539  label = cms.string("full")
540  )
541 
542 ##################################################################################################################
543 full_5x_chs = cms.PSet(
544  impactParTkThreshold = cms.double(1.) ,
545  cutBased = cms.bool(False),
546  etaBinnedWeights = cms.bool(False),
547  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
548  tmvaMethod = cms.string("BDT_chsFullPlusRMS"),
549  version = cms.int32(-1),
550  tmvaVariables = cms.vstring(
551  "frac01",
552  "frac02",
553  "frac03",
554  "frac04",
555  "frac05",
556  "dR2Mean",
557  "nvtx",
558  "nNeutrals",
559  "beta",
560  "betaStar",
561  "dZ",
562  "nCharged",
563  ),
564  tmvaSpectators = cms.vstring(
565  "jetPt",
566  "jetEta",
567  ),
568  JetIdParams = full_5x_chs_wp,
569  label = cms.string("full")
570  )
571 
572 ####################################################################################################################
573 cutbased = cms.PSet(
574  impactParTkThreshold = cms.double(1.),
575  cutBased = cms.bool(True),
576  JetIdParams = PuJetIdCutBased_wp,
577  label = cms.string("cutbased")
578  )
579 
580 ####################################################################################################################
581 PhilV1 = cms.PSet(
582  impactParTkThreshold = cms.double(1.) ,
583  cutBased = cms.bool(False),
584  etaBinnedWeights = cms.bool(False),
585  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
586  tmvaMethod = cms.string("JetID"),
587  version = cms.int32(-1),
588  tmvaVariables = cms.vstring(
589  "nvtx",
590  "jetPt",
591  "jetEta",
592  "jetPhi",
593  "dZ",
594  "d0",
595  "beta",
596  "betaStar",
597  "nCharged",
598  "nNeutrals",
599  "dRMean",
600  "frac01",
601  "frac02",
602  "frac03",
603  "frac04",
604  "frac05",
605  ),
606  tmvaSpectators = cms.vstring(),
607  JetIdParams = JetIdParams,
608  label = cms.string("philv1")
609 )
610