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 trainingVariables_102X_Eta0To3 = [
108  "nvtx" ,
109  "beta" ,
110  "dR2Mean" ,
111  "frac01" ,
112  "frac02" ,
113  "frac03" ,
114  "frac04" ,
115  "majW" ,
116  "minW" ,
117  "jetR" ,
118  "jetRchg" ,
119  "nParticles",
120  "nCharged" ,
121  "ptD" ,
122  "pull" ,
123  ]
124 trainingVariables_102X_Eta3To5 = list(trainingVariables_102X_Eta0To3)
125 trainingVariables_102X_Eta3To5.remove('beta')
126 trainingVariables_102X_Eta3To5.remove('jetRchg')
127 trainingVariables_102X_Eta3To5.remove('nCharged')
128 
129 full_102x_chs = full_81x_chs.clone(JetIdParams = full_102x_chs_wp)
130 full_102x_chs.trainings[0].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta0p0To2p5_chs_BDT.weights.xml.gz"
131 full_102x_chs.trainings[0].tmvaVariables = trainingVariables_102X_Eta0To3
132 full_102x_chs.trainings[1].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta2p5To2p75_chs_BDT.weights.xml.gz"
133 full_102x_chs.trainings[1].tmvaVariables = trainingVariables_102X_Eta0To3
134 full_102x_chs.trainings[2].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta2p75To3p0_chs_BDT.weights.xml.gz"
135 full_102x_chs.trainings[2].tmvaVariables = trainingVariables_102X_Eta0To3
136 full_102x_chs.trainings[3].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_102X_Eta3p0To5p0_chs_BDT.weights.xml.gz"
137 full_102x_chs.trainings[3].tmvaVariables = trainingVariables_102X_Eta3To5
138 
139 ####################################################################################################################
140 trainingVariables_94X_Eta0To3 = list(trainingVariables_102X_Eta0To3)
141 trainingVariables_94X_Eta3To5 = list(trainingVariables_102X_Eta3To5)
142 full_94x_chs = full_81x_chs.clone(JetIdParams = full_94x_chs_wp)
143 full_94x_chs.trainings[0].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta0p0To2p5_chs_BDT.weights.xml.gz"
144 full_94x_chs.trainings[0].tmvaVariables = trainingVariables_94X_Eta0To3
145 full_94x_chs.trainings[1].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta2p5To2p75_chs_BDT.weights.xml.gz"
146 full_94x_chs.trainings[1].tmvaVariables = trainingVariables_94X_Eta0To3
147 full_94x_chs.trainings[2].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta2p75To3p0_chs_BDT.weights.xml.gz"
148 full_94x_chs.trainings[2].tmvaVariables = trainingVariables_94X_Eta0To3
149 full_94x_chs.trainings[3].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_94X_Eta3p0To5p0_chs_BDT.weights.xml.gz"
150 full_94x_chs.trainings[3].tmvaVariables = trainingVariables_94X_Eta3To5
151 
152 
153 ####################################################################################################################
154 trainingVariables_106X_Eta0To3 = list(trainingVariables_102X_Eta0To3)
155 trainingVariables_106X_Eta3To5 = list(trainingVariables_102X_Eta3To5)
156 full_106x_UL17_chs = full_81x_chs.clone(JetIdParams = full_106x_UL17_chs_wp)
157 full_106x_UL17_chs.trainings[0].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta0p0To2p5_chs_BDT.weights.xml.gz"
158 full_106x_UL17_chs.trainings[0].tmvaVariables = trainingVariables_106X_Eta0To3
159 full_106x_UL17_chs.trainings[1].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta2p5To2p75_chs_BDT.weights.xml.gz"
160 full_106x_UL17_chs.trainings[1].tmvaVariables = trainingVariables_106X_Eta0To3
161 full_106x_UL17_chs.trainings[2].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta2p75To3p0_chs_BDT.weights.xml.gz"
162 full_106x_UL17_chs.trainings[2].tmvaVariables = trainingVariables_106X_Eta0To3
163 full_106x_UL17_chs.trainings[3].tmvaWeights = "RecoJets/JetProducers/data/pileupJetId_UL17_Eta3p0To5p0_chs_BDT.weights.xml.gz"
164 full_106x_UL17_chs.trainings[3].tmvaVariables = trainingVariables_106X_Eta3To5
165 
166 ####################################################################################################################
167 full_106x_UL18_chs = full_106x_UL17_chs.clone(JetIdParams = full_106x_UL18_chs_wp)
168 for train in full_106x_UL18_chs.trainings:
169  train.tmvaWeights = train.tmvaWeights.value().replace("UL17", "UL18")
170 
171 ####################################################################################################################
172 full_80x_chs = cms.PSet(
173  impactParTkThreshold = cms.double(1.),
174  cutBased = cms.bool(False),
175  etaBinnedWeights = cms.bool(True),
176  tmvaMethod = cms.string("JetIDMVAHighPt"),
177  version = cms.int32(-1),
178  nEtaBins = cms.int32(4),
179  trainings = cms.VPSet(
180  cms.PSet(
181  jEtaMin = cms.double(0.),
182  jEtaMax = cms.double(2.5),
183  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta0to2p5_BDT.weights.xml.gz"),
184  tmvaVariables = cms.vstring(
185  "nvtx",
186  "dR2Mean" ,
187  "nParticles" ,
188  "nCharged" ,
189  "majW" ,
190  "minW",
191  "frac01" ,
192  "frac02" ,
193  "frac03" ,
194  "frac04" ,
195  "ptD" ,
196  "beta" ,
197  "pull" ,
198  "jetR" ,
199  "jetRchg" ,
200  )
201  ),
202  cms.PSet(
203  jEtaMin = cms.double(2.5),
204  jEtaMax = cms.double(2.75),
205  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p5to2p75_BDT.weights.xml.gz"),
206  tmvaVariables = cms.vstring(
207  "nvtx",
208  "dR2Mean" ,
209  "nParticles" ,
210  "nCharged" ,
211  "majW" ,
212  "minW",
213  "frac01" ,
214  "frac02" ,
215  "frac03" ,
216  "frac04" ,
217  "ptD" ,
218  "beta" ,
219  "pull" ,
220  "jetR" ,
221  "jetRchg" ,
222  )
223  ),
224  cms.PSet(
225  jEtaMin = cms.double(2.75),
226  jEtaMax = cms.double(3.),
227  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta2p75to3_BDT.weights.xml.gz"),
228  tmvaVariables = cms.vstring(
229  "nvtx",
230  "dR2Mean" ,
231  "nParticles" ,
232  "nCharged" ,
233  "majW" ,
234  "minW",
235  "frac01" ,
236  "frac02" ,
237  "frac03" ,
238  "frac04" ,
239  "ptD" ,
240  "beta" ,
241  "pull" ,
242  "jetR" ,
243  "jetRchg" ,
244  )
245  ),
246  cms.PSet(
247  jEtaMin = cms.double(3.),
248  jEtaMax = cms.double(5.),
249  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_80X_Eta3to5_BDT.weights.xml.gz"),
250  tmvaVariables = cms.vstring(
251  "nvtx",
252  "dR2Mean" ,
253  "nParticles" ,
254  "majW" ,
255  "minW",
256  "frac01" ,
257  "frac02" ,
258  "frac03" ,
259  "frac04" ,
260  "ptD" ,
261  "pull" ,
262  "jetR" ,
263  )
264  ),
265  ),
266  tmvaSpectators = cms.vstring(
267  "jetPt" ,
268  "jetEta" ,
269  ),
270  JetIdParams = full_80x_chs_wp,
271  label = cms.string("full")
272 )
273 
274 ####################################################################################################################
275 full_76x_chs = cms.PSet(
276  impactParTkThreshold = cms.double(1.) ,
277  cutBased = cms.bool(False),
278  etaBinnedWeights = cms.bool(True),
279  nEtaBins = cms.int32(4),
280  trainings = cms.VPSet(
281  cms.PSet(
282  jEtaMin = cms.double(0.),
283  jEtaMax = cms.double(2.5),
284  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta0to2p5_BDT.weights.xml.gz"),
285  tmvaVariables = cms.vstring(
286  "nvtx",
287  "dR2Mean" ,
288  "nParticles" ,
289  "nCharged" ,
290  "majW" ,
291  "minW",
292  "frac01" ,
293  "frac02" ,
294  "frac03" ,
295  "frac04" ,
296  "ptD" ,
297  "beta" ,
298  "pull" ,
299  "jetR" ,
300  "jetRchg" ,
301  )
302  ),
303  cms.PSet(
304  jEtaMin = cms.double(2.5),
305  jEtaMax = cms.double(2.75),
306  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p5to2p75_BDT.weights.xml.gz"),
307  tmvaVariables = cms.vstring(
308  "nvtx",
309  "dR2Mean" ,
310  "nParticles" ,
311  "nCharged" ,
312  "majW" ,
313  "minW",
314  "frac01" ,
315  "frac02" ,
316  "frac03" ,
317  "frac04" ,
318  "ptD" ,
319  "beta" ,
320  "pull" ,
321  "jetR" ,
322  "jetRchg" ,
323  )
324  ),
325  cms.PSet(
326  jEtaMin = cms.double(2.75),
327  jEtaMax = cms.double(3.),
328  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta2p75to3_BDT.weights.xml.gz"),
329  tmvaVariables = cms.vstring(
330  "nvtx",
331  "dR2Mean" ,
332  "nParticles" ,
333  "nCharged" ,
334  "majW" ,
335  "minW",
336  "frac01" ,
337  "frac02" ,
338  "frac03" ,
339  "frac04" ,
340  "ptD" ,
341  "beta" ,
342  "pull" ,
343  "jetR" ,
344  "jetRchg" ,
345  )
346  ),
347  cms.PSet(
348  jEtaMin = cms.double(3.),
349  jEtaMax = cms.double(5.),
350  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/pileupJetId_76x_Eta3to5_BDT.weights.xml.gz"),
351  tmvaVariables = cms.vstring(
352  "nvtx",
353  "dR2Mean" ,
354  "nParticles" ,
355  "majW" ,
356  "minW",
357  "frac01" ,
358  "frac02" ,
359  "frac03" ,
360  "frac04" ,
361  "ptD" ,
362  "pull" ,
363  "jetR" ,
364  )
365  ),
366  ),
367  tmvaMethod = cms.string("JetIDMVAHighPt"),
368  version = cms.int32(-1),
369  tmvaSpectators = cms.vstring(
370  "jetPt" ,
371  "jetEta" ,
372  ),
373  JetIdParams = full_76x_chs_wp,
374  label = cms.string("full")
375  )
376 ####################################################################################################################
377 full_74x_chs = cms.PSet(
378  impactParTkThreshold = cms.double(1.) ,
379  cutBased = cms.bool(False),
380  etaBinnedWeights = cms.bool(True),
381  nEtaBins = cms.int32(4),
382  trainings = cms.VPSet(
383  cms.PSet(
384  jEtaMin = cms.double(0.),
385  jEtaMax = cms.double(2.),
386  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
387  tmvaVariables = cms.vstring(
388  "dR2Mean" ,
389  "rho" ,
390  "nParticles" ,
391  "nCharged" ,
392  "majW" ,
393  "minW",
394  "frac01" ,
395  "frac02" ,
396  "frac03" ,
397  "frac04" ,
398  "ptD" ,
399  "beta" ,
400  "betaStar" ,
401  "pull" ,
402  "jetR" ,
403  "jetRchg" ,
404  )
405  ),
406  cms.PSet(
407  jEtaMin = cms.double(2.),
408  jEtaMax = cms.double(2.5),
409  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
410  tmvaVariables = cms.vstring(
411  "dR2Mean" ,
412  "rho" ,
413  "nParticles" ,
414  "nCharged" ,
415  "majW" ,
416  "minW",
417  "frac01" ,
418  "frac02" ,
419  "frac03" ,
420  "frac04" ,
421  "ptD" ,
422  "beta" ,
423  "betaStar" ,
424  "pull" ,
425  "jetR" ,
426  "jetRchg" ,
427  )
428  ),
429  cms.PSet(
430  jEtaMin = cms.double(2.5),
431  jEtaMax = cms.double(3.),
432  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
433  tmvaVariables = cms.vstring(
434  "dR2Mean" ,
435  "rho" ,
436  "nParticles" ,
437  "nCharged" ,
438  "majW" ,
439  "minW",
440  "frac01" ,
441  "frac02" ,
442  "frac03" ,
443  "frac04" ,
444  "ptD" ,
445  "beta" ,
446  "betaStar" ,
447  "pull" ,
448  "jetR" ,
449  "jetRchg" ,
450  )
451  ),
452  cms.PSet(
453  jEtaMin = cms.double(3.),
454  jEtaMax = cms.double(5.),
455  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
456  tmvaVariables = cms.vstring(
457  "dR2Mean" ,
458  "rho" ,
459  "nParticles" ,
460  "majW" ,
461  "minW",
462  "frac01" ,
463  "frac02" ,
464  "frac03" ,
465  "frac04" ,
466  "ptD" ,
467  "pull" ,
468  "jetR" ,
469  )
470  ),
471  ),
472  version = cms.int32(-1),
473  tmvaSpectators = cms.vstring(
474  "jetPt" ,
475  "jetEta" ,
476  "nTrueInt" ,
477  "dRMatch" ,
478  ),
479  JetIdParams = full_74x_chs_wp,
480  label = cms.string("full")
481  )
482 ####################################################################################################################
483 full_53x = cms.PSet(
484  impactParTkThreshold = cms.double(1.) ,
485  cutBased = cms.bool(False),
486  etaBinnedWeights = cms.bool(False),
487  tmvaWeights = cms.FileInPath("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
488  tmvaMethod = cms.string("JetIDMVAHighPt"),
489  version = cms.int32(-1),
490  tmvaVariables = cms.vstring(
491  "nvtx" ,
492  "dZ" ,
493  "beta" ,
494  "betaStar" ,
495  "nCharged" ,
496  "nNeutrals",
497  "dR2Mean" ,
498  "ptD" ,
499  "frac01" ,
500  "frac02" ,
501  "frac03" ,
502  "frac04" ,
503  "frac05" ,
504  ),
505  tmvaSpectators = cms.vstring(
506  "jetPt",
507  "jetEta",
508  "jetPhi"
509  ),
510  JetIdParams = full_53x_wp,
511  label = cms.string("full53x")
512  )
513 ####################################################################################################################
514 full_53x_chs = cms.PSet(
515  impactParTkThreshold = cms.double(1.) ,
516  cutBased = cms.bool(False),
517  etaBinnedWeights = cms.bool(False),
518  tmvaWeights = cms.FileInPath("CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
519  #tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
520  tmvaMethod = cms.string("JetIDMVAHighPt"),
521  version = cms.int32(-1),
522  tmvaVariables = cms.vstring(
523  "nvtx" ,
524  "dZ" ,
525  "beta" ,
526  "betaStar" ,
527  "nCharged" ,
528  "nNeutrals",
529  "dR2Mean" ,
530  "ptD" ,
531  "frac01" ,
532  "frac02" ,
533  "frac03" ,
534  "frac04" ,
535  "frac05" ,
536  ),
537  tmvaSpectators = cms.vstring(
538  "jetPt",
539  "jetEta",
540  "jetPhi"
541  ),
542  JetIdParams = full_53x_chs_wp,
543  label = cms.string("full")
544  )
545 ####################################################################################################################
546 met_53x = cms.PSet(
547  impactParTkThreshold = cms.double(1.) ,
548  cutBased = cms.bool(False),
549  etaBinnedWeights = cms.bool(False),
550  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
551  tmvaMethod = cms.string("JetIDMVAMET"),
552  version = cms.int32(-1),
553  tmvaVariables = cms.vstring(
554  "nvtx" ,
555  "jetPt" ,
556  "jetEta" ,
557  "jetPhi" ,
558  "dZ" ,
559  "beta" ,
560  "betaStar" ,
561  "nCharged" ,
562  "nNeutrals",
563  "dR2Mean" ,
564  "ptD" ,
565  "frac01" ,
566  "frac02" ,
567  "frac03" ,
568  "frac04" ,
569  "frac05" ,
570  ),
571  tmvaSpectators = cms.vstring(),
572  JetIdParams = met_53x_wp,
573  label = cms.string("met53x")
574  )
575 ##################################################################################################################
576 full_5x = cms.PSet(
577  impactParTkThreshold = cms.double(1.) ,
578  cutBased = cms.bool(False),
579  etaBinnedWeights = cms.bool(False),
580  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
581  tmvaMethod = cms.string("BDT_fullPlusRMS"),
582  version = cms.int32(-1),
583  tmvaVariables = cms.vstring(
584  "frac01",
585  "frac02",
586  "frac03",
587  "frac04",
588  "frac05",
589  "dR2Mean",
590  "nvtx",
591  "nNeutrals",
592  "beta",
593  "betaStar",
594  "dZ",
595  "nCharged",
596  ),
597  tmvaSpectators = cms.vstring(
598  "jetPt",
599  "jetEta",
600  ),
601  JetIdParams = full_5x_wp,
602  label = cms.string("full")
603  )
604 
605 ##################################################################################################################
606 full_5x_chs = cms.PSet(
607  impactParTkThreshold = cms.double(1.) ,
608  cutBased = cms.bool(False),
609  etaBinnedWeights = cms.bool(False),
610  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
611  tmvaMethod = cms.string("BDT_chsFullPlusRMS"),
612  version = cms.int32(-1),
613  tmvaVariables = cms.vstring(
614  "frac01",
615  "frac02",
616  "frac03",
617  "frac04",
618  "frac05",
619  "dR2Mean",
620  "nvtx",
621  "nNeutrals",
622  "beta",
623  "betaStar",
624  "dZ",
625  "nCharged",
626  ),
627  tmvaSpectators = cms.vstring(
628  "jetPt",
629  "jetEta",
630  ),
631  JetIdParams = full_5x_chs_wp,
632  label = cms.string("full")
633  )
634 
635 ####################################################################################################################
636 cutbased = cms.PSet(
637  impactParTkThreshold = cms.double(1.),
638  cutBased = cms.bool(True),
639  JetIdParams = PuJetIdCutBased_wp,
640  label = cms.string("cutbased")
641  )
642 
643 ####################################################################################################################
644 PhilV1 = cms.PSet(
645  impactParTkThreshold = cms.double(1.) ,
646  cutBased = cms.bool(False),
647  etaBinnedWeights = cms.bool(False),
648  tmvaWeights = cms.FileInPath("RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
649  tmvaMethod = cms.string("JetID"),
650  version = cms.int32(-1),
651  tmvaVariables = cms.vstring(
652  "nvtx",
653  "jetPt",
654  "jetEta",
655  "jetPhi",
656  "dZ",
657  "d0",
658  "beta",
659  "betaStar",
660  "nCharged",
661  "nNeutrals",
662  "dRMean",
663  "frac01",
664  "frac02",
665  "frac03",
666  "frac04",
667  "frac05",
668  ),
669  tmvaSpectators = cms.vstring(),
670  JetIdParams = JetIdParams,
671  label = cms.string("philv1")
672 )
673 
def replace(string, replacements)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run