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
155 full_80x_chs = cms.PSet(
156 impactParTkThreshold = cms.double(1.),
157 cutBased = cms.bool(
False),
158 etaBinnedWeights = cms.bool(
True),
159 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
160 version = cms.int32(-1),
161 nEtaBins = cms.int32(4),
162 trainings = cms.VPSet(
164 jEtaMin = cms.double(0.),
165 jEtaMax = cms.double(2.5),
166 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta0to2p5_BDT.weights.xml.gz"),
167 tmvaVariables = cms.vstring(
186 jEtaMin = cms.double(2.5),
187 jEtaMax = cms.double(2.75),
188 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta2p5to2p75_BDT.weights.xml.gz"),
189 tmvaVariables = cms.vstring(
208 jEtaMin = cms.double(2.75),
209 jEtaMax = cms.double(3.),
210 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta2p75to3_BDT.weights.xml.gz"),
211 tmvaVariables = cms.vstring(
230 jEtaMin = cms.double(3.),
231 jEtaMax = cms.double(5.),
232 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta3to5_BDT.weights.xml.gz"),
233 tmvaVariables = cms.vstring(
249 tmvaSpectators = cms.vstring(
253 JetIdParams = full_80x_chs_wp,
254 label = cms.string(
"full")
258 full_76x_chs = cms.PSet(
259 impactParTkThreshold = cms.double(1.) ,
260 cutBased = cms.bool(
False),
261 etaBinnedWeights = cms.bool(
True),
262 nEtaBins = cms.int32(4),
263 trainings = cms.VPSet(
265 jEtaMin = cms.double(0.),
266 jEtaMax = cms.double(2.5),
267 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta0to2p5_BDT.weights.xml.gz"),
268 tmvaVariables = cms.vstring(
287 jEtaMin = cms.double(2.5),
288 jEtaMax = cms.double(2.75),
289 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta2p5to2p75_BDT.weights.xml.gz"),
290 tmvaVariables = cms.vstring(
309 jEtaMin = cms.double(2.75),
310 jEtaMax = cms.double(3.),
311 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta2p75to3_BDT.weights.xml.gz"),
312 tmvaVariables = cms.vstring(
331 jEtaMin = cms.double(3.),
332 jEtaMax = cms.double(5.),
333 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta3to5_BDT.weights.xml.gz"),
334 tmvaVariables = cms.vstring(
350 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
351 version = cms.int32(-1),
352 tmvaSpectators = cms.vstring(
356 JetIdParams = full_76x_chs_wp,
357 label = cms.string(
"full")
360 full_74x_chs = cms.PSet(
361 impactParTkThreshold = cms.double(1.) ,
362 cutBased = cms.bool(
False),
363 etaBinnedWeights = cms.bool(
True),
364 nEtaBins = cms.int32(4),
365 trainings = cms.VPSet(
367 jEtaMin = cms.double(0.),
368 jEtaMax = cms.double(2.),
369 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
370 tmvaVariables = cms.vstring(
390 jEtaMin = cms.double(2.),
391 jEtaMax = cms.double(2.5),
392 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
393 tmvaVariables = cms.vstring(
413 jEtaMin = cms.double(2.5),
414 jEtaMax = cms.double(3.),
415 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
416 tmvaVariables = cms.vstring(
436 jEtaMin = cms.double(3.),
437 jEtaMax = cms.double(5.),
438 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
439 tmvaVariables = cms.vstring(
455 version = cms.int32(-1),
456 tmvaSpectators = cms.vstring(
462 JetIdParams = full_74x_chs_wp,
463 label = cms.string(
"full")
467 impactParTkThreshold = cms.double(1.) ,
468 cutBased = cms.bool(
False),
469 etaBinnedWeights = cms.bool(
False),
470 tmvaWeights = cms.FileInPath(
"CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
471 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
472 version = cms.int32(-1),
473 tmvaVariables = cms.vstring(
488 tmvaSpectators = cms.vstring(
493 JetIdParams = full_53x_wp,
494 label = cms.string(
"full53x")
497 full_53x_chs = cms.PSet(
498 impactParTkThreshold = cms.double(1.) ,
499 cutBased = cms.bool(
False),
500 etaBinnedWeights = cms.bool(
False),
501 tmvaWeights = cms.FileInPath(
"CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
503 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
504 version = cms.int32(-1),
505 tmvaVariables = cms.vstring(
520 tmvaSpectators = cms.vstring(
525 JetIdParams = full_53x_chs_wp,
526 label = cms.string(
"full")
530 impactParTkThreshold = cms.double(1.) ,
531 cutBased = cms.bool(
False),
532 etaBinnedWeights = cms.bool(
False),
533 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
534 tmvaMethod = cms.string(
"JetIDMVAMET"),
535 version = cms.int32(-1),
536 tmvaVariables = cms.vstring(
554 tmvaSpectators = cms.vstring(),
555 JetIdParams = met_53x_wp,
556 label = cms.string(
"met53x")
560 impactParTkThreshold = cms.double(1.) ,
561 cutBased = cms.bool(
False),
562 etaBinnedWeights = cms.bool(
False),
563 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
564 tmvaMethod = cms.string(
"BDT_fullPlusRMS"),
565 version = cms.int32(-1),
566 tmvaVariables = cms.vstring(
580 tmvaSpectators = cms.vstring(
584 JetIdParams = full_5x_wp,
585 label = cms.string(
"full")
589 full_5x_chs = cms.PSet(
590 impactParTkThreshold = cms.double(1.) ,
591 cutBased = cms.bool(
False),
592 etaBinnedWeights = cms.bool(
False),
593 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
594 tmvaMethod = cms.string(
"BDT_chsFullPlusRMS"),
595 version = cms.int32(-1),
596 tmvaVariables = cms.vstring(
610 tmvaSpectators = cms.vstring(
614 JetIdParams = full_5x_chs_wp,
615 label = cms.string(
"full")
620 impactParTkThreshold = cms.double(1.),
621 cutBased = cms.bool(
True),
622 JetIdParams = PuJetIdCutBased_wp,
623 label = cms.string(
"cutbased")
628 impactParTkThreshold = cms.double(1.) ,
629 cutBased = cms.bool(
False),
630 etaBinnedWeights = cms.bool(
False),
631 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
632 tmvaMethod = cms.string(
"JetID"),
633 version = cms.int32(-1),
634 tmvaVariables = cms.vstring(
652 tmvaSpectators = cms.vstring(),
653 JetIdParams = JetIdParams,
654 label = cms.string(
"philv1")