test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PileupJetIDParams_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 
5 ####################################################################################################################
6 full_80x_chs = cms.PSet(
7  impactParTkThreshold = cms.double(1.) ,
8  cutBased = cms.bool(False),
9  etaBinnedWeights = cms.bool(True),
10  tmvaWeights_jteta_0_2p5 = cms.string("RecoJets/JetProducers/data/pileupJetId_80X_Eta0to2p5_BDT.weights.xml.gz"),
11  tmvaWeights_jteta_2p5_2p75 = cms.string("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p5to2p75_BDT.weights.xml.gz"),
12  tmvaWeights_jteta_2p75_3 = cms.string("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p75to3_BDT.weights.xml.gz"),
13  tmvaWeights_jteta_3_5 = cms.string("RecoJets/JetProducers/data/pileupJetId_80X_Eta3to5_BDT.weights.xml.gz"),
14  tmvaMethod = cms.string("JetIDMVAHighPt"),
15  version = cms.int32(-1),
16  tmvaVariables_jteta_0_3 = cms.vstring(
17  "nvtx",
18  "dR2Mean" ,
19  "nParticles" ,
20  "nCharged" ,
21  "majW" ,
22  "minW",
23  "frac01" ,
24  "frac02" ,
25  "frac03" ,
26  "frac04" ,
27  "ptD" ,
28  "beta" ,
29  "pull" ,
30  "jetR" ,
31  "jetRchg" ,
32  ),
33  tmvaVariables_jteta_3_5 = cms.vstring(
34  "nvtx",
35  "dR2Mean" ,
36  "nParticles" ,
37  "majW" ,
38  "minW",
39  "frac01" ,
40  "frac02" ,
41  "frac03" ,
42  "frac04" ,
43  "ptD" ,
44  "pull" ,
45  "jetR" ,
46  ),
47  tmvaSpectators = cms.vstring(
48  "jetPt" ,
49  "jetEta" ,
50  ),
51  JetIdParams = full_80x_chs_wp,
52  label = cms.string("full")
53  )
54 
55 ####################################################################################################################
56 full_76x_chs = cms.PSet(
57  impactParTkThreshold = cms.double(1.) ,
58  cutBased = cms.bool(False),
59  etaBinnedWeights = cms.bool(True),
60  tmvaWeights_jteta_0_2p5 = cms.string("RecoJets/JetProducers/data/pileupJetId_76x_Eta0to2p5_BDT.weights.xml.gz"),
61  tmvaWeights_jteta_2p5_2p75 = cms.string("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p5to2p75_BDT.weights.xml.gz"),
62  tmvaWeights_jteta_2p75_3 = cms.string("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p75to3_BDT.weights.xml.gz"),
63  tmvaWeights_jteta_3_5 = cms.string("RecoJets/JetProducers/data/pileupJetId_76x_Eta3to5_BDT.weights.xml.gz"),
64  tmvaMethod = cms.string("JetIDMVAHighPt"),
65  version = cms.int32(-1),
66  tmvaVariables_jteta_0_3 = cms.vstring(
67  "nvtx",
68  "dR2Mean" ,
69  "nParticles" ,
70  "nCharged" ,
71  "majW" ,
72  "minW",
73  "frac01" ,
74  "frac02" ,
75  "frac03" ,
76  "frac04" ,
77  "ptD" ,
78  "beta" ,
79  "pull" ,
80  "jetR" ,
81  "jetRchg" ,
82  ),
83  tmvaVariables_jteta_3_5 = 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  tmvaSpectators = cms.vstring(
98  "jetPt" ,
99  "jetEta" ,
100  ),
101  JetIdParams = full_76x_chs_wp,
102  label = cms.string("full")
103  )
104 ####################################################################################################################
105 full_74x_chs = cms.PSet(
106  impactParTkThreshold = cms.double(1.) ,
107  cutBased = cms.bool(False),
108  etaBinnedWeights = cms.bool(True),
109  tmvaWeights_jteta_0_2 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
110  tmvaWeights_jteta_2_2p5 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
111  tmvaWeights_jteta_2p5_3 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
112  tmvaWeights_jteta_3_5 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
113  tmvaMethod = cms.string("JetIDMVAHighPt"),
114  version = cms.int32(-1),
115  tmvaVariables_jteta_0_3 = cms.vstring(
116  "dR2Mean" ,
117  "rho" ,
118  "nParticles" ,
119  "nCharged" ,
120  "majW" ,
121  "minW",
122  "frac01" ,
123  "frac02" ,
124  "frac03" ,
125  "frac04" ,
126  "ptD" ,
127  "beta" ,
128  "betaStar" ,
129  "pull" ,
130  "jetR" ,
131  "jetRchg" ,
132  ),
133  tmvaVariables_jteta_3_5 = cms.vstring(
134  "dR2Mean" ,
135  "rho" ,
136  "nParticles" ,
137  "majW" ,
138  "minW",
139  "frac01" ,
140  "frac02" ,
141  "frac03" ,
142  "frac04" ,
143  "ptD" ,
144  "pull" ,
145  "jetR" ,
146  ),
147  tmvaSpectators = cms.vstring(
148  "jetPt" ,
149  "jetEta" ,
150  "nTrueInt" ,
151  "dRMatch" ,
152  ),
153  JetIdParams = full_74x_chs_wp,
154  label = cms.string("full")
155  )
156 ####################################################################################################################
157 full_53x = cms.PSet(
158  impactParTkThreshold = cms.double(1.) ,
159  cutBased = cms.bool(False),
160  etaBinnedWeights = cms.bool(False),
161  tmvaWeights = cms.string("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
162  tmvaMethod = cms.string("JetIDMVAHighPt"),
163  version = cms.int32(-1),
164  tmvaVariables = cms.vstring(
165  "nvtx" ,
166  "dZ" ,
167  "beta" ,
168  "betaStar" ,
169  "nCharged" ,
170  "nNeutrals",
171  "dR2Mean" ,
172  "ptD" ,
173  "frac01" ,
174  "frac02" ,
175  "frac03" ,
176  "frac04" ,
177  "frac05" ,
178  ),
179  tmvaSpectators = cms.vstring(
180  "jetPt",
181  "jetEta",
182  "jetPhi"
183  ),
184  JetIdParams = full_53x_wp,
185  label = cms.string("full53x")
186  )
187 ####################################################################################################################
188 full_53x_chs = cms.PSet(
189  impactParTkThreshold = cms.double(1.) ,
190  cutBased = cms.bool(False),
191  etaBinnedWeights = cms.bool(False),
192  tmvaWeights = cms.string("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
193  #tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
194  tmvaMethod = cms.string("JetIDMVAHighPt"),
195  version = cms.int32(-1),
196  tmvaVariables = cms.vstring(
197  "nvtx" ,
198  "dZ" ,
199  "beta" ,
200  "betaStar" ,
201  "nCharged" ,
202  "nNeutrals",
203  "dR2Mean" ,
204  "ptD" ,
205  "frac01" ,
206  "frac02" ,
207  "frac03" ,
208  "frac04" ,
209  "frac05" ,
210  ),
211  tmvaSpectators = cms.vstring(
212  "jetPt",
213  "jetEta",
214  "jetPhi"
215  ),
216  JetIdParams = full_53x_chs_wp,
217  label = cms.string("full")
218  )
219 ####################################################################################################################
220 met_53x = cms.PSet(
221  impactParTkThreshold = cms.double(1.) ,
222  cutBased = cms.bool(False),
223  etaBinnedWeights = cms.bool(False),
224  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
225  tmvaMethod = cms.string("JetIDMVAMET"),
226  version = cms.int32(-1),
227  tmvaVariables = cms.vstring(
228  "nvtx" ,
229  "jetPt" ,
230  "jetEta" ,
231  "jetPhi" ,
232  "dZ" ,
233  "beta" ,
234  "betaStar" ,
235  "nCharged" ,
236  "nNeutrals",
237  "dR2Mean" ,
238  "ptD" ,
239  "frac01" ,
240  "frac02" ,
241  "frac03" ,
242  "frac04" ,
243  "frac05" ,
244  ),
245  tmvaSpectators = cms.vstring(),
246  JetIdParams = met_53x_wp,
247  label = cms.string("met53x")
248  )
249 ####################################################################################################################
250 full_5x = cms.PSet(
251  impactParTkThreshold = cms.double(1.) ,
252  cutBased = cms.bool(False),
253  etaBinnedWeights = cms.bool(False),
254  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
255  tmvaMethod = cms.string("BDT_fullPlusRMS"),
256  version = cms.int32(-1),
257  tmvaVariables = cms.vstring(
258  "frac01",
259  "frac02",
260  "frac03",
261  "frac04",
262  "frac05",
263  "dR2Mean",
264  "nvtx",
265  "nNeutrals",
266  "beta",
267  "betaStar",
268  "dZ",
269  "nCharged",
270  ),
271  tmvaSpectators = cms.vstring(
272  "jetPt",
273  "jetEta",
274  ),
275  JetIdParams = full_5x_wp,
276  label = cms.string("full")
277  )
278 
279 ####################################################################################################################
280 simple_5x = cms.PSet(
281  impactParTkThreshold = cms.double(1.) ,
282  cutBased = cms.bool(False),
283  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_simpleNoVtxCat.weights.xml.gz"),
284  tmvaMethod = cms.string("BDT_simpleNoVtxCat"),
285  version = cms.int32(-1),
286  tmvaVariables = cms.vstring(
287  "frac01",
288  "frac02",
289  "frac03",
290  "frac04",
291  "frac05",
292  "nvtx",
293  "beta",
294  "betaStar",
295  ),
296  tmvaSpectators = cms.vstring(
297  "jetPt",
298  "jetEta",
299  ),
300  JetIdParams = simple_5x_wp,
301  label = cms.string("simple")
302  )
303 
304 ####################################################################################################################
305 full_5x_chs = cms.PSet(
306  impactParTkThreshold = cms.double(1.) ,
307  cutBased = cms.bool(False),
308  etaBinnedWeights = cms.bool(False),
309  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
310  tmvaMethod = cms.string("BDT_chsFullPlusRMS"),
311  version = cms.int32(-1),
312  tmvaVariables = cms.vstring(
313  "frac01",
314  "frac02",
315  "frac03",
316  "frac04",
317  "frac05",
318  "dR2Mean",
319  "nvtx",
320  "nNeutrals",
321  "beta",
322  "betaStar",
323  "dZ",
324  "nCharged",
325  ),
326  tmvaSpectators = cms.vstring(
327  "jetPt",
328  "jetEta",
329  ),
330  JetIdParams = full_5x_chs_wp,
331  label = cms.string("full")
332  )
333 
334 ####################################################################################################################
335 simple_5x_chs = cms.PSet(
336  impactParTkThreshold = cms.double(1.) ,
337  cutBased = cms.bool(False),
338  etaBinnedWeights = cms.bool(False),
339  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsSimpleNoVtxCat.weights.xml.gz"),
340  tmvaMethod = cms.string("BDT_chsSimpleNoVtxCat"),
341  version = cms.int32(-1),
342  tmvaVariables = cms.vstring(
343  "frac01",
344  "frac02",
345  "frac03",
346  "frac04",
347  "frac05",
348  "nvtx",
349  "beta",
350  "betaStar",
351  ),
352  tmvaSpectators = cms.vstring(
353  "jetPt",
354  "jetEta",
355  ),
356  JetIdParams = simple_5x_chs_wp,
357  label = cms.string("simple")
358  )
359 
360 ####################################################################################################################
361 full = cms.PSet(
362  impactParTkThreshold = cms.double(1.) ,
363  cutBased = cms.bool(False),
364  etaBinnedWeights = cms.bool(False),
365  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdOptMVA.weights.xml.gz"),
366  tmvaMethod = cms.string("PuJetIdOptMVA"),
367  version = cms.int32(-1),
368  tmvaVariables = cms.vstring(
369  "frac01",
370  "frac02",
371  "frac03",
372  "frac04",
373  "frac05",
374  "nvtx",
375  "nNeutrals",
376  "beta",
377  "betaStar",
378  "dZ",
379  "nCharged",
380  ),
381  tmvaSpectators = cms.vstring(
382  "jetPt",
383  "jetEta",
384  ),
385  JetIdParams = PuJetIdOptMVA_wp,
386  label = cms.string("full")
387  )
388 
389 ####################################################################################################################
390 simple = cms.PSet(
391  impactParTkThreshold = cms.double(1.) ,
392  cutBased = cms.bool(False),
393  etaBinnedWeights = cms.bool(False),
394  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdMinMVA.weights.xml.gz"),
395  tmvaMethod = cms.string("PuJetIdMinMVA"),
396  version = cms.int32(-1),
397  tmvaVariables = cms.vstring(
398  "frac01",
399  "frac02",
400  "frac03",
401  "frac04",
402  "frac05",
403  "beta",
404  "betaStar",
405  ),
406  tmvaSpectators = cms.vstring(
407  "nvtx",
408  "jetPt",
409  "jetEta",
410  ),
411  JetIdParams = PuJetIdMinMVA_wp,
412  label = cms.string("simple")
413  )
414 
415 ####################################################################################################################
416 cutbased = cms.PSet(
417  impactParTkThreshold = cms.double(1.),
418  cutBased = cms.bool(True),
419  JetIdParams = PuJetIdCutBased_wp,
420  label = cms.string("cutbased")
421  )
422 
423 ####################################################################################################################
424 PhilV0 = cms.PSet(
425  impactParTkThreshold = cms.double(1.) ,
426  cutBased = cms.bool(False),
427  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID.weights.xml.gz"),
428  tmvaMethod = cms.string("JetID"),
429  version = cms.int32(0),
430  JetIdParams = EmptyJetIdParams
431 )
432 
433 ####################################################################################################################
434 PhilV1 = cms.PSet(
435  impactParTkThreshold = cms.double(1.) ,
436  cutBased = cms.bool(False),
437  etaBinnedWeights = cms.bool(False),
438  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
439  tmvaMethod = cms.string("JetID"),
440  version = cms.int32(-1),
441  tmvaVariables = cms.vstring(
442  "nvtx",
443  "jetPt",
444  "jetEta",
445  "jetPhi",
446  "dZ",
447  "d0",
448  "beta",
449  "betaStar",
450  "nCharged",
451  "nNeutrals",
452  "dRMean",
453  "frac01",
454  "frac02",
455  "frac03",
456  "frac04",
457  "frac05",
458  ),
459  tmvaSpectators = cms.vstring(),
460  JetIdParams = JetIdParams,
461  label = cms.string("philv1")
462 )
463