CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
puJetIDAlgo_cff.py
Go to the documentation of this file.
3 
4 ####################################################################################################################
5 full_53x = cms.PSet(
6  impactParTkThreshold = cms.double(1.) ,
7  cutBased = cms.bool(False),
8  tmvaWeights = cms.string("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
9  tmvaMethod = cms.string("JetIDMVAHighPt"),
10  version = cms.int32(-1),
11  tmvaVariables = cms.vstring(
12  "nvtx" ,
13  "dZ" ,
14  "beta" ,
15  "betaStar" ,
16  "nCharged" ,
17  "nNeutrals",
18  "dR2Mean" ,
19  "ptD" ,
20  "frac01" ,
21  "frac02" ,
22  "frac03" ,
23  "frac04" ,
24  "frac05" ,
25  ),
26  tmvaSpectators = cms.vstring(
27  "jetPt",
28  "jetEta",
29  "jetPhi"
30  ),
31  JetIdParams = full_53x_wp,
32  label = cms.string("full53x")
33  )
34 
35 ####################################################################################################################
36 full_53x_chs = cms.PSet(
37  impactParTkThreshold = cms.double(1.) ,
38  cutBased = cms.bool(False),
39  tmvaWeights = cms.string("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
40  #tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
41  tmvaMethod = cms.string("JetIDMVAHighPt"),
42  version = cms.int32(-1),
43  tmvaVariables = cms.vstring(
44  "nvtx" ,
45  "dZ" ,
46  "beta" ,
47  "betaStar" ,
48  "nCharged" ,
49  "nNeutrals",
50  "dR2Mean" ,
51  "ptD" ,
52  "frac01" ,
53  "frac02" ,
54  "frac03" ,
55  "frac04" ,
56  "frac05" ,
57  ),
58  tmvaSpectators = cms.vstring(
59  "jetPt",
60  "jetEta",
61  "jetPhi"
62  ),
63  JetIdParams = full_53x_chs_wp,
64  label = cms.string("full")
65  )
66 ####################################################################################################################
67 met_53x = cms.PSet(
68  impactParTkThreshold = cms.double(1.) ,
69  cutBased = cms.bool(False),
70  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
71  tmvaMethod = cms.string("JetIDMVAMET"),
72  version = cms.int32(-1),
73  tmvaVariables = cms.vstring(
74  "nvtx" ,
75  "jetPt" ,
76  "jetEta" ,
77  "jetPhi" ,
78  "dZ" ,
79  "beta" ,
80  "betaStar" ,
81  "nCharged" ,
82  "nNeutrals",
83  "dR2Mean" ,
84  "ptD" ,
85  "frac01" ,
86  "frac02" ,
87  "frac03" ,
88  "frac04" ,
89  "frac05" ,
90  ),
91  tmvaSpectators = cms.vstring(),
92  JetIdParams = met_53x_wp,
93  label = cms.string("met53x")
94  )
95 ####################################################################################################################
96 full_5x = cms.PSet(
97  impactParTkThreshold = cms.double(1.) ,
98  cutBased = cms.bool(False),
99  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_fullPlusRMS.weights.xml.gz"),
100  tmvaMethod = cms.string("BDT_fullPlusRMS"),
101  version = cms.int32(-1),
102  tmvaVariables = cms.vstring(
103  "frac01",
104  "frac02",
105  "frac03",
106  "frac04",
107  "frac05",
108  "dR2Mean",
109  "nvtx",
110  "nNeutrals",
111  "beta",
112  "betaStar",
113  "dZ",
114  "nCharged",
115  ),
116  tmvaSpectators = cms.vstring(
117  "jetPt",
118  "jetEta",
119  ),
120  JetIdParams = full_5x_wp,
121  label = cms.string("full")
122  )
123 
124 ####################################################################################################################
125 simple_5x = cms.PSet(
126  impactParTkThreshold = cms.double(1.) ,
127  cutBased = cms.bool(False),
128  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_simpleNoVtxCat.weights.xml.gz"),
129  tmvaMethod = cms.string("BDT_simpleNoVtxCat"),
130  version = cms.int32(-1),
131  tmvaVariables = cms.vstring(
132  "frac01",
133  "frac02",
134  "frac03",
135  "frac04",
136  "frac05",
137  "nvtx",
138  "beta",
139  "betaStar",
140  ),
141  tmvaSpectators = cms.vstring(
142  "jetPt",
143  "jetEta",
144  ),
145  JetIdParams = simple_5x_wp,
146  label = cms.string("simple")
147  )
148 
149 ####################################################################################################################
150 full_5x_chs = cms.PSet(
151  impactParTkThreshold = cms.double(1.) ,
152  cutBased = cms.bool(False),
153  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
154  tmvaMethod = cms.string("BDT_chsFullPlusRMS"),
155  version = cms.int32(-1),
156  tmvaVariables = cms.vstring(
157  "frac01",
158  "frac02",
159  "frac03",
160  "frac04",
161  "frac05",
162  "dR2Mean",
163  "nvtx",
164  "nNeutrals",
165  "beta",
166  "betaStar",
167  "dZ",
168  "nCharged",
169  ),
170  tmvaSpectators = cms.vstring(
171  "jetPt",
172  "jetEta",
173  ),
174  JetIdParams = full_5x_chs_wp,
175  label = cms.string("full")
176  )
177 
178 ####################################################################################################################
179 simple_5x_chs = cms.PSet(
180  impactParTkThreshold = cms.double(1.) ,
181  cutBased = cms.bool(False),
182  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsSimpleNoVtxCat.weights.xml.gz"),
183  tmvaMethod = cms.string("BDT_chsSimpleNoVtxCat"),
184  version = cms.int32(-1),
185  tmvaVariables = cms.vstring(
186  "frac01",
187  "frac02",
188  "frac03",
189  "frac04",
190  "frac05",
191  "nvtx",
192  "beta",
193  "betaStar",
194  ),
195  tmvaSpectators = cms.vstring(
196  "jetPt",
197  "jetEta",
198  ),
199  JetIdParams = simple_5x_chs_wp,
200  label = cms.string("simple")
201  )
202 
203 ####################################################################################################################
204 full = cms.PSet(
205  impactParTkThreshold = cms.double(1.) ,
206  cutBased = cms.bool(False),
207  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdOptMVA.weights.xml.gz"),
208  tmvaMethod = cms.string("PuJetIdOptMVA"),
209  version = cms.int32(-1),
210  tmvaVariables = cms.vstring(
211  "frac01",
212  "frac02",
213  "frac03",
214  "frac04",
215  "frac05",
216  "nvtx",
217  "nNeutrals",
218  "beta",
219  "betaStar",
220  "dZ",
221  "nCharged",
222  ),
223  tmvaSpectators = cms.vstring(
224  "jetPt",
225  "jetEta",
226  ),
227  JetIdParams = PuJetIdOptMVA_wp,
228  label = cms.string("full")
229  )
230 
231 ####################################################################################################################
232 simple = cms.PSet(
233  impactParTkThreshold = cms.double(1.) ,
234  cutBased = cms.bool(False),
235  tmvaWeights = cms.string("RecoJets/JetProducers/data/TMVAClassification_PuJetIdMinMVA.weights.xml.gz"),
236  tmvaMethod = cms.string("PuJetIdMinMVA"),
237  version = cms.int32(-1),
238  tmvaVariables = cms.vstring(
239  "frac01",
240  "frac02",
241  "frac03",
242  "frac04",
243  "frac05",
244  "beta",
245  "betaStar",
246  ),
247  tmvaSpectators = cms.vstring(
248  "nvtx",
249  "jetPt",
250  "jetEta",
251  ),
252  JetIdParams = PuJetIdMinMVA_wp,
253  label = cms.string("simple")
254  )
255 ####################################################################################################################
256 cutbased = cms.PSet(
257  impactParTkThreshold = cms.double(1.),
258  cutBased = cms.bool(True),
259  JetIdParams = PuJetIdCutBased_wp,
260  label = cms.string("cutbased")
261  )
262 
263 ####################################################################################################################
264 PhilV0 = cms.PSet(
265  impactParTkThreshold = cms.double(1.) ,
266  cutBased = cms.bool(False),
267  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID.weights.xml.gz"),
268  tmvaMethod = cms.string("JetID"),
269  version = cms.int32(0),
270  JetIdParams = EmptyJetIdParams
271 )
272 
273 
274 ####################################################################################################################
275 PhilV1 = cms.PSet(
276  impactParTkThreshold = cms.double(1.) ,
277  cutBased = cms.bool(False),
278  tmvaWeights = cms.string("RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
279  tmvaMethod = cms.string("JetID"),
280  version = cms.int32(-1),
281  tmvaVariables = cms.vstring(
282  "nvtx",
283  "jetPt",
284  "jetEta",
285  "jetPhi",
286  "dZ",
287  "d0",
288  "beta",
289  "betaStar",
290  "nCharged",
291  "nNeutrals",
292  "dRMean",
293  "frac01",
294  "frac02",
295  "frac03",
296  "frac04",
297  "frac05",
298  ),
299  tmvaSpectators = cms.vstring(),
300  JetIdParams = JetIdParams,
301  label = cms.string("philv1")
302  )
303