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 full_74x_chs = cms.PSet(
6  impactParTkThreshold = cms.double(1.) ,
7  cutBased = cms.bool(False),
8  etaBinnedWeights = cms.bool(True),
9  tmvaWeights_jteta_0_2 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
10  tmvaWeights_jteta_2_2p5 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
11  tmvaWeights_jteta_2p5_3 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
12  tmvaWeights_jteta_3_5 = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
13  tmvaMethod = cms.string("JetIDMVAHighPt"),
14  version = cms.int32(-1),
15  tmvaVariables_jteta_0_3 = cms.vstring(
16  "dR2Mean" ,
17  "rho" ,
18  "nParticles" ,
19  "nCharged" ,
20  "majW" ,
21  "minW",
22  "frac01" ,
23  "frac02" ,
24  "frac03" ,
25  "frac04" ,
26  "ptD" ,
27  "beta" ,
28  "betaStar" ,
29  "pull" ,
30  "jetR" ,
31  "jetRchg" ,
32  ),
33  tmvaVariables_jteta_3_5 = cms.vstring(
34  "dR2Mean" ,
35  "rho" ,
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  "nTrueInt" ,
51  "dRMatch" ,
52  ),
53  JetIdParams = full_74x_chs_wp,
54  label = cms.string("full")
55  )
56 ####################################################################################################################
57 full_53x = cms.PSet(
58  impactParTkThreshold = cms.double(1.) ,
59  cutBased = cms.bool(False),
60  etaBinnedWeights = cms.bool(False),
61  tmvaWeights = cms.string("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
62  tmvaMethod = cms.string("JetIDMVAHighPt"),
63  version = cms.int32(-1),
64  tmvaVariables = cms.vstring(
65  "nvtx" ,
66  "dZ" ,
67  "beta" ,
68  "betaStar" ,
69  "nCharged" ,
70  "nNeutrals",
71  "dR2Mean" ,
72  "ptD" ,
73  "frac01" ,
74  "frac02" ,
75  "frac03" ,
76  "frac04" ,
77  "frac05" ,
78  ),
79  tmvaSpectators = cms.vstring(
80  "jetPt",
81  "jetEta",
82  "jetPhi"
83  ),
84  JetIdParams = full_53x_wp,
85  label = cms.string("full53x")
86  )
87 ####################################################################################################################
88 full_53x_chs = cms.PSet(
89  impactParTkThreshold = cms.double(1.) ,
90  cutBased = cms.bool(False),
91  etaBinnedWeights = cms.bool(False),
92  tmvaWeights = cms.string("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
93  #tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
94  tmvaMethod = cms.string("JetIDMVAHighPt"),
95  version = cms.int32(-1),
96  tmvaVariables = cms.vstring(
97  "nvtx" ,
98  "dZ" ,
99  "beta" ,
100  "betaStar" ,
101  "nCharged" ,
102  "nNeutrals",
103  "dR2Mean" ,
104  "ptD" ,
105  "frac01" ,
106  "frac02" ,
107  "frac03" ,
108  "frac04" ,
109  "frac05" ,
110  ),
111  tmvaSpectators = cms.vstring(
112  "jetPt",
113  "jetEta",
114  "jetPhi"
115  ),
116  JetIdParams = full_53x_chs_wp,
117  label = cms.string("full")
118  )
119 ####################################################################################################################
120 met_53x = cms.PSet(
121  impactParTkThreshold = cms.double(1.) ,
122  cutBased = cms.bool(False),
123  etaBinnedWeights = cms.bool(False),
124  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
125  tmvaMethod = cms.string("JetIDMVAMET"),
126  version = cms.int32(-1),
127  tmvaVariables = cms.vstring(
128  "nvtx" ,
129  "jetPt" ,
130  "jetEta" ,
131  "jetPhi" ,
132  "dZ" ,
133  "beta" ,
134  "betaStar" ,
135  "nCharged" ,
136  "nNeutrals",
137  "dR2Mean" ,
138  "ptD" ,
139  "frac01" ,
140  "frac02" ,
141  "frac03" ,
142  "frac04" ,
143  "frac05" ,
144  ),
145  tmvaSpectators = cms.vstring(),
146  JetIdParams = met_53x_wp,
147  label = cms.string("met53x")
148  )
149 ####################################################################################################################
150 full_5x = cms.PSet(
151  impactParTkThreshold = cms.double(1.) ,
152  cutBased = cms.bool(False),
153  etaBinnedWeights = cms.bool(False),
154  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
155  tmvaMethod = cms.string("BDT_fullPlusRMS"),
156  version = cms.int32(-1),
157  tmvaVariables = cms.vstring(
158  "frac01",
159  "frac02",
160  "frac03",
161  "frac04",
162  "frac05",
163  "dR2Mean",
164  "nvtx",
165  "nNeutrals",
166  "beta",
167  "betaStar",
168  "dZ",
169  "nCharged",
170  ),
171  tmvaSpectators = cms.vstring(
172  "jetPt",
173  "jetEta",
174  ),
175  JetIdParams = full_5x_wp,
176  label = cms.string("full")
177  )
178 
179 ####################################################################################################################
180 simple_5x = cms.PSet(
181  impactParTkThreshold = cms.double(1.) ,
182  cutBased = cms.bool(False),
183  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_simpleNoVtxCat.weights.xml.gz"),
184  tmvaMethod = cms.string("BDT_simpleNoVtxCat"),
185  version = cms.int32(-1),
186  tmvaVariables = cms.vstring(
187  "frac01",
188  "frac02",
189  "frac03",
190  "frac04",
191  "frac05",
192  "nvtx",
193  "beta",
194  "betaStar",
195  ),
196  tmvaSpectators = cms.vstring(
197  "jetPt",
198  "jetEta",
199  ),
200  JetIdParams = simple_5x_wp,
201  label = cms.string("simple")
202  )
203 
204 ####################################################################################################################
205 full_5x_chs = cms.PSet(
206  impactParTkThreshold = cms.double(1.) ,
207  cutBased = cms.bool(False),
208  etaBinnedWeights = cms.bool(False),
209  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
210  tmvaMethod = cms.string("BDT_chsFullPlusRMS"),
211  version = cms.int32(-1),
212  tmvaVariables = cms.vstring(
213  "frac01",
214  "frac02",
215  "frac03",
216  "frac04",
217  "frac05",
218  "dR2Mean",
219  "nvtx",
220  "nNeutrals",
221  "beta",
222  "betaStar",
223  "dZ",
224  "nCharged",
225  ),
226  tmvaSpectators = cms.vstring(
227  "jetPt",
228  "jetEta",
229  ),
230  JetIdParams = full_5x_chs_wp,
231  label = cms.string("full")
232  )
233 
234 ####################################################################################################################
235 simple_5x_chs = cms.PSet(
236  impactParTkThreshold = cms.double(1.) ,
237  cutBased = cms.bool(False),
238  etaBinnedWeights = cms.bool(False),
239  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsSimpleNoVtxCat.weights.xml.gz"),
240  tmvaMethod = cms.string("BDT_chsSimpleNoVtxCat"),
241  version = cms.int32(-1),
242  tmvaVariables = cms.vstring(
243  "frac01",
244  "frac02",
245  "frac03",
246  "frac04",
247  "frac05",
248  "nvtx",
249  "beta",
250  "betaStar",
251  ),
252  tmvaSpectators = cms.vstring(
253  "jetPt",
254  "jetEta",
255  ),
256  JetIdParams = simple_5x_chs_wp,
257  label = cms.string("simple")
258  )
259 
260 ####################################################################################################################
261 full = cms.PSet(
262  impactParTkThreshold = cms.double(1.) ,
263  cutBased = cms.bool(False),
264  etaBinnedWeights = cms.bool(False),
265  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdOptMVA.weights.xml.gz"),
266  tmvaMethod = cms.string("PuJetIdOptMVA"),
267  version = cms.int32(-1),
268  tmvaVariables = cms.vstring(
269  "frac01",
270  "frac02",
271  "frac03",
272  "frac04",
273  "frac05",
274  "nvtx",
275  "nNeutrals",
276  "beta",
277  "betaStar",
278  "dZ",
279  "nCharged",
280  ),
281  tmvaSpectators = cms.vstring(
282  "jetPt",
283  "jetEta",
284  ),
285  JetIdParams = PuJetIdOptMVA_wp,
286  label = cms.string("full")
287  )
288 
289 ####################################################################################################################
290 simple = cms.PSet(
291  impactParTkThreshold = cms.double(1.) ,
292  cutBased = cms.bool(False),
293  etaBinnedWeights = cms.bool(False),
294  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdMinMVA.weights.xml.gz"),
295  tmvaMethod = cms.string("PuJetIdMinMVA"),
296  version = cms.int32(-1),
297  tmvaVariables = cms.vstring(
298  "frac01",
299  "frac02",
300  "frac03",
301  "frac04",
302  "frac05",
303  "beta",
304  "betaStar",
305  ),
306  tmvaSpectators = cms.vstring(
307  "nvtx",
308  "jetPt",
309  "jetEta",
310  ),
311  JetIdParams = PuJetIdMinMVA_wp,
312  label = cms.string("simple")
313  )
314 
315 ####################################################################################################################
316 cutbased = cms.PSet(
317  impactParTkThreshold = cms.double(1.),
318  cutBased = cms.bool(True),
319  JetIdParams = PuJetIdCutBased_wp,
320  label = cms.string("cutbased")
321  )
322 
323 ####################################################################################################################
324 PhilV0 = cms.PSet(
325  impactParTkThreshold = cms.double(1.) ,
326  cutBased = cms.bool(False),
327  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID.weights.xml.gz"),
328  tmvaMethod = cms.string("JetID"),
329  version = cms.int32(0),
330  JetIdParams = EmptyJetIdParams
331 )
332 
333 ####################################################################################################################
334 PhilV1 = cms.PSet(
335  impactParTkThreshold = cms.double(1.) ,
336  cutBased = cms.bool(False),
337  etaBinnedWeights = cms.bool(False),
338  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
339  tmvaMethod = cms.string("JetID"),
340  version = cms.int32(-1),
341  tmvaVariables = cms.vstring(
342  "nvtx",
343  "jetPt",
344  "jetEta",
345  "jetPhi",
346  "dZ",
347  "d0",
348  "beta",
349  "betaStar",
350  "nCharged",
351  "nNeutrals",
352  "dRMean",
353  "frac01",
354  "frac02",
355  "frac03",
356  "frac04",
357  "frac05",
358  ),
359  tmvaSpectators = cms.vstring(),
360  JetIdParams = JetIdParams,
361  label = cms.string("philv1")
362 )
363