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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("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.string("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
456  #tmvaWeights = cms.string("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.string("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.string("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 simple_5x = cms.PSet(
544  impactParTkThreshold = cms.double(1.) ,
545  cutBased = cms.bool(False),
546  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_simpleNoVtxCat.weights.xml.gz"),
547  tmvaMethod = cms.string("BDT_simpleNoVtxCat"),
548  version = cms.int32(-1),
549  tmvaVariables = cms.vstring(
550  "frac01",
551  "frac02",
552  "frac03",
553  "frac04",
554  "frac05",
555  "nvtx",
556  "beta",
557  "betaStar",
558  ),
559  tmvaSpectators = cms.vstring(
560  "jetPt",
561  "jetEta",
562  ),
563  JetIdParams = simple_5x_wp,
564  label = cms.string("simple")
565  )
566 
567 ####################################################################################################################
568 full_5x_chs = cms.PSet(
569  impactParTkThreshold = cms.double(1.) ,
570  cutBased = cms.bool(False),
571  etaBinnedWeights = cms.bool(False),
572  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
573  tmvaMethod = cms.string("BDT_chsFullPlusRMS"),
574  version = cms.int32(-1),
575  tmvaVariables = cms.vstring(
576  "frac01",
577  "frac02",
578  "frac03",
579  "frac04",
580  "frac05",
581  "dR2Mean",
582  "nvtx",
583  "nNeutrals",
584  "beta",
585  "betaStar",
586  "dZ",
587  "nCharged",
588  ),
589  tmvaSpectators = cms.vstring(
590  "jetPt",
591  "jetEta",
592  ),
593  JetIdParams = full_5x_chs_wp,
594  label = cms.string("full")
595  )
596 
597 ####################################################################################################################
598 simple_5x_chs = cms.PSet(
599  impactParTkThreshold = cms.double(1.) ,
600  cutBased = cms.bool(False),
601  etaBinnedWeights = cms.bool(False),
602  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsSimpleNoVtxCat.weights.xml.gz"),
603  tmvaMethod = cms.string("BDT_chsSimpleNoVtxCat"),
604  version = cms.int32(-1),
605  tmvaVariables = cms.vstring(
606  "frac01",
607  "frac02",
608  "frac03",
609  "frac04",
610  "frac05",
611  "nvtx",
612  "beta",
613  "betaStar",
614  ),
615  tmvaSpectators = cms.vstring(
616  "jetPt",
617  "jetEta",
618  ),
619  JetIdParams = simple_5x_chs_wp,
620  label = cms.string("simple")
621  )
622 
623 ####################################################################################################################
624 full = cms.PSet(
625  impactParTkThreshold = cms.double(1.) ,
626  cutBased = cms.bool(False),
627  etaBinnedWeights = cms.bool(False),
628  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdOptMVA.weights.xml.gz"),
629  tmvaMethod = cms.string("PuJetIdOptMVA"),
630  version = cms.int32(-1),
631  tmvaVariables = cms.vstring(
632  "frac01",
633  "frac02",
634  "frac03",
635  "frac04",
636  "frac05",
637  "nvtx",
638  "nNeutrals",
639  "beta",
640  "betaStar",
641  "dZ",
642  "nCharged",
643  ),
644  tmvaSpectators = cms.vstring(
645  "jetPt",
646  "jetEta",
647  ),
648  JetIdParams = PuJetIdOptMVA_wp,
649  label = cms.string("full")
650  )
651 
652 ####################################################################################################################
653 simple = cms.PSet(
654  impactParTkThreshold = cms.double(1.) ,
655  cutBased = cms.bool(False),
656  etaBinnedWeights = cms.bool(False),
657  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdMinMVA.weights.xml.gz"),
658  tmvaMethod = cms.string("PuJetIdMinMVA"),
659  version = cms.int32(-1),
660  tmvaVariables = cms.vstring(
661  "frac01",
662  "frac02",
663  "frac03",
664  "frac04",
665  "frac05",
666  "beta",
667  "betaStar",
668  ),
669  tmvaSpectators = cms.vstring(
670  "nvtx",
671  "jetPt",
672  "jetEta",
673  ),
674  JetIdParams = PuJetIdMinMVA_wp,
675  label = cms.string("simple")
676  )
677 
678 ####################################################################################################################
679 cutbased = cms.PSet(
680  impactParTkThreshold = cms.double(1.),
681  cutBased = cms.bool(True),
682  JetIdParams = PuJetIdCutBased_wp,
683  label = cms.string("cutbased")
684  )
685 
686 ####################################################################################################################
687 PhilV0 = cms.PSet(
688  impactParTkThreshold = cms.double(1.) ,
689  cutBased = cms.bool(False),
690  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID.weights.xml.gz"),
691  tmvaMethod = cms.string("JetID"),
692  version = cms.int32(0),
693  JetIdParams = EmptyJetIdParams
694 )
695 
696 ####################################################################################################################
697 PhilV1 = cms.PSet(
698  impactParTkThreshold = cms.double(1.) ,
699  cutBased = cms.bool(False),
700  etaBinnedWeights = cms.bool(False),
701  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
702  tmvaMethod = cms.string("JetID"),
703  version = cms.int32(-1),
704  tmvaVariables = cms.vstring(
705  "nvtx",
706  "jetPt",
707  "jetEta",
708  "jetPhi",
709  "dZ",
710  "d0",
711  "beta",
712  "betaStar",
713  "nCharged",
714  "nNeutrals",
715  "dRMean",
716  "frac01",
717  "frac02",
718  "frac03",
719  "frac04",
720  "frac05",
721  ),
722  tmvaSpectators = cms.vstring(),
723  JetIdParams = JetIdParams,
724  label = cms.string("philv1")
725 )
726