1 import FWCore.ParameterSet.Config
as cms
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(
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(
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(
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(
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(
99 tmvaSpectators = cms.vstring(
103 JetIdParams = full_81x_chs_wp,
104 label = cms.string(
"full")
108 trainingVariables_102X_Eta0To3 = [
125 trainingVariables_102X_Eta3To5 = list(trainingVariables_102X_Eta0To3)
126 trainingVariables_102X_Eta3To5.remove(
'beta')
127 trainingVariables_102X_Eta3To5.remove(
'jetRchg')
128 trainingVariables_102X_Eta3To5.remove(
'nCharged')
130 full_102x_chs = full_81x_chs.clone(JetIdParams = full_102x_chs_wp)
131 full_102x_chs.trainings[0].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_102X_Eta0p0To2p5_chs_BDT.weights.xml.gz"
132 full_102x_chs.trainings[0].tmvaVariables = trainingVariables_102X_Eta0To3
133 full_102x_chs.trainings[1].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_102X_Eta2p5To2p75_chs_BDT.weights.xml.gz"
134 full_102x_chs.trainings[1].tmvaVariables = trainingVariables_102X_Eta0To3
135 full_102x_chs.trainings[2].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_102X_Eta2p75To3p0_chs_BDT.weights.xml.gz"
136 full_102x_chs.trainings[2].tmvaVariables = trainingVariables_102X_Eta0To3
137 full_102x_chs.trainings[3].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_102X_Eta3p0To5p0_chs_BDT.weights.xml.gz"
138 full_102x_chs.trainings[3].tmvaVariables = trainingVariables_102X_Eta3To5
141 trainingVariables_94X_Eta0To3 = list(trainingVariables_102X_Eta0To3)
142 trainingVariables_94X_Eta3To5 = list(trainingVariables_102X_Eta3To5)
143 full_94x_chs = full_81x_chs.clone(JetIdParams = full_94x_chs_wp)
144 full_94x_chs.trainings[0].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_94X_Eta0p0To2p5_chs_BDT.weights.xml.gz"
145 full_94x_chs.trainings[0].tmvaVariables = trainingVariables_94X_Eta0To3
146 full_94x_chs.trainings[1].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_94X_Eta2p5To2p75_chs_BDT.weights.xml.gz"
147 full_94x_chs.trainings[1].tmvaVariables = trainingVariables_94X_Eta0To3
148 full_94x_chs.trainings[2].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_94X_Eta2p75To3p0_chs_BDT.weights.xml.gz"
149 full_94x_chs.trainings[2].tmvaVariables = trainingVariables_94X_Eta0To3
150 full_94x_chs.trainings[3].tmvaWeights =
"RecoJets/JetProducers/data/pileupJetId_94X_Eta3p0To5p0_chs_BDT.weights.xml.gz"
151 full_94x_chs.trainings[3].tmvaVariables = trainingVariables_94X_Eta3To5
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
167 full_80x_chs = cms.PSet(
168 impactParTkThreshold = cms.double(1.),
169 cutBased = cms.bool(
False),
170 etaBinnedWeights = cms.bool(
True),
171 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
172 version = cms.int32(-1),
173 nEtaBins = cms.int32(4),
174 trainings = cms.VPSet(
176 jEtaMin = cms.double(0.),
177 jEtaMax = cms.double(2.5),
178 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta0to2p5_BDT.weights.xml.gz"),
179 tmvaVariables = cms.vstring(
198 jEtaMin = cms.double(2.5),
199 jEtaMax = cms.double(2.75),
200 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta2p5to2p75_BDT.weights.xml.gz"),
201 tmvaVariables = cms.vstring(
220 jEtaMin = cms.double(2.75),
221 jEtaMax = cms.double(3.),
222 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta2p75to3_BDT.weights.xml.gz"),
223 tmvaVariables = cms.vstring(
242 jEtaMin = cms.double(3.),
243 jEtaMax = cms.double(5.),
244 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta3to5_BDT.weights.xml.gz"),
245 tmvaVariables = cms.vstring(
261 tmvaSpectators = cms.vstring(
265 JetIdParams = full_80x_chs_wp,
266 label = cms.string(
"full")
270 full_76x_chs = cms.PSet(
271 impactParTkThreshold = cms.double(1.) ,
272 cutBased = cms.bool(
False),
273 etaBinnedWeights = cms.bool(
True),
274 nEtaBins = cms.int32(4),
275 trainings = cms.VPSet(
277 jEtaMin = cms.double(0.),
278 jEtaMax = cms.double(2.5),
279 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta0to2p5_BDT.weights.xml.gz"),
280 tmvaVariables = cms.vstring(
299 jEtaMin = cms.double(2.5),
300 jEtaMax = cms.double(2.75),
301 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta2p5to2p75_BDT.weights.xml.gz"),
302 tmvaVariables = cms.vstring(
321 jEtaMin = cms.double(2.75),
322 jEtaMax = cms.double(3.),
323 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta2p75to3_BDT.weights.xml.gz"),
324 tmvaVariables = cms.vstring(
343 jEtaMin = cms.double(3.),
344 jEtaMax = cms.double(5.),
345 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta3to5_BDT.weights.xml.gz"),
346 tmvaVariables = cms.vstring(
362 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
363 version = cms.int32(-1),
364 tmvaSpectators = cms.vstring(
368 JetIdParams = full_76x_chs_wp,
369 label = cms.string(
"full")
372 full_74x_chs = cms.PSet(
373 impactParTkThreshold = cms.double(1.) ,
374 cutBased = cms.bool(
False),
375 etaBinnedWeights = cms.bool(
True),
376 nEtaBins = cms.int32(4),
377 trainings = cms.VPSet(
379 jEtaMin = cms.double(0.),
380 jEtaMax = cms.double(2.),
381 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
382 tmvaVariables = cms.vstring(
402 jEtaMin = cms.double(2.),
403 jEtaMax = cms.double(2.5),
404 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
405 tmvaVariables = cms.vstring(
425 jEtaMin = cms.double(2.5),
426 jEtaMax = cms.double(3.),
427 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
428 tmvaVariables = cms.vstring(
448 jEtaMin = cms.double(3.),
449 jEtaMax = cms.double(5.),
450 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
451 tmvaVariables = cms.vstring(
467 version = cms.int32(-1),
468 tmvaSpectators = cms.vstring(
474 JetIdParams = full_74x_chs_wp,
475 label = cms.string(
"full")
479 impactParTkThreshold = cms.double(1.) ,
480 cutBased = cms.bool(
False),
481 etaBinnedWeights = cms.bool(
False),
482 tmvaWeights = cms.FileInPath(
"CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
483 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
484 version = cms.int32(-1),
485 tmvaVariables = cms.vstring(
500 tmvaSpectators = cms.vstring(
505 JetIdParams = full_53x_wp,
506 label = cms.string(
"full53x")
509 full_53x_chs = cms.PSet(
510 impactParTkThreshold = cms.double(1.) ,
511 cutBased = cms.bool(
False),
512 etaBinnedWeights = cms.bool(
False),
513 tmvaWeights = cms.FileInPath(
"CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
515 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
516 version = cms.int32(-1),
517 tmvaVariables = cms.vstring(
532 tmvaSpectators = cms.vstring(
537 JetIdParams = full_53x_chs_wp,
538 label = cms.string(
"full")
542 impactParTkThreshold = cms.double(1.) ,
543 cutBased = cms.bool(
False),
544 etaBinnedWeights = cms.bool(
False),
545 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
546 tmvaMethod = cms.string(
"JetIDMVAMET"),
547 version = cms.int32(-1),
548 tmvaVariables = cms.vstring(
566 tmvaSpectators = cms.vstring(),
567 JetIdParams = met_53x_wp,
568 label = cms.string(
"met53x")
572 impactParTkThreshold = cms.double(1.) ,
573 cutBased = cms.bool(
False),
574 etaBinnedWeights = cms.bool(
False),
575 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
576 tmvaMethod = cms.string(
"BDT_fullPlusRMS"),
577 version = cms.int32(-1),
578 tmvaVariables = cms.vstring(
592 tmvaSpectators = cms.vstring(
596 JetIdParams = full_5x_wp,
597 label = cms.string(
"full")
601 full_5x_chs = cms.PSet(
602 impactParTkThreshold = cms.double(1.) ,
603 cutBased = cms.bool(
False),
604 etaBinnedWeights = cms.bool(
False),
605 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
606 tmvaMethod = cms.string(
"BDT_chsFullPlusRMS"),
607 version = cms.int32(-1),
608 tmvaVariables = cms.vstring(
622 tmvaSpectators = cms.vstring(
626 JetIdParams = full_5x_chs_wp,
627 label = cms.string(
"full")
632 impactParTkThreshold = cms.double(1.),
633 cutBased = cms.bool(
True),
634 JetIdParams = PuJetIdCutBased_wp,
635 label = cms.string(
"cutbased")
640 impactParTkThreshold = cms.double(1.) ,
641 cutBased = cms.bool(
False),
642 etaBinnedWeights = cms.bool(
False),
643 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
644 tmvaMethod = cms.string(
"JetID"),
645 version = cms.int32(-1),
646 tmvaVariables = cms.vstring(
664 tmvaSpectators = cms.vstring(),
665 JetIdParams = JetIdParams,
666 label = cms.string(
"philv1")