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")
107 trainingVariables_102X_Eta0To3 = [
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')
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
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
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_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")
172 full_106x_UL16_chs = full_106x_UL17_chs.clone(JetIdParams = full_106x_UL16_chs_wp)
173 for train
in full_106x_UL16_chs.trainings:
174 train.tmvaWeights = train.tmvaWeights.value().
replace(
"UL17",
"UL16")
177 full_106x_UL16APV_chs = full_106x_UL17_chs.clone(JetIdParams = full_106x_UL16APV_chs_wp)
178 for train
in full_106x_UL16APV_chs.trainings:
179 train.tmvaWeights = train.tmvaWeights.value().
replace(
"UL17",
"UL16APV")
182 full_80x_chs = cms.PSet(
183 impactParTkThreshold = cms.double(1.),
184 cutBased = cms.bool(
False),
185 etaBinnedWeights = cms.bool(
True),
186 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
187 version = cms.int32(-1),
188 nEtaBins = cms.int32(4),
189 trainings = cms.VPSet(
191 jEtaMin = cms.double(0.),
192 jEtaMax = cms.double(2.5),
193 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta0to2p5_BDT.weights.xml.gz"),
194 tmvaVariables = cms.vstring(
213 jEtaMin = cms.double(2.5),
214 jEtaMax = cms.double(2.75),
215 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta2p5to2p75_BDT.weights.xml.gz"),
216 tmvaVariables = cms.vstring(
235 jEtaMin = cms.double(2.75),
236 jEtaMax = cms.double(3.),
237 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta2p75to3_BDT.weights.xml.gz"),
238 tmvaVariables = cms.vstring(
257 jEtaMin = cms.double(3.),
258 jEtaMax = cms.double(5.),
259 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_80X_Eta3to5_BDT.weights.xml.gz"),
260 tmvaVariables = cms.vstring(
276 tmvaSpectators = cms.vstring(
280 JetIdParams = full_80x_chs_wp,
281 label = cms.string(
"full")
285 full_76x_chs = cms.PSet(
286 impactParTkThreshold = cms.double(1.) ,
287 cutBased = cms.bool(
False),
288 etaBinnedWeights = cms.bool(
True),
289 nEtaBins = cms.int32(4),
290 trainings = cms.VPSet(
292 jEtaMin = cms.double(0.),
293 jEtaMax = cms.double(2.5),
294 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta0to2p5_BDT.weights.xml.gz"),
295 tmvaVariables = cms.vstring(
314 jEtaMin = cms.double(2.5),
315 jEtaMax = cms.double(2.75),
316 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta2p5to2p75_BDT.weights.xml.gz"),
317 tmvaVariables = cms.vstring(
336 jEtaMin = cms.double(2.75),
337 jEtaMax = cms.double(3.),
338 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta2p75to3_BDT.weights.xml.gz"),
339 tmvaVariables = cms.vstring(
358 jEtaMin = cms.double(3.),
359 jEtaMax = cms.double(5.),
360 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/pileupJetId_76x_Eta3to5_BDT.weights.xml.gz"),
361 tmvaVariables = cms.vstring(
377 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
378 version = cms.int32(-1),
379 tmvaSpectators = cms.vstring(
383 JetIdParams = full_76x_chs_wp,
384 label = cms.string(
"full")
387 full_74x_chs = cms.PSet(
388 impactParTkThreshold = cms.double(1.) ,
389 cutBased = cms.bool(
False),
390 etaBinnedWeights = cms.bool(
True),
391 nEtaBins = cms.int32(4),
392 trainings = cms.VPSet(
394 jEtaMin = cms.double(0.),
395 jEtaMax = cms.double(2.),
396 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_0_2_newNames.xml.gz"),
397 tmvaVariables = cms.vstring(
417 jEtaMin = cms.double(2.),
418 jEtaMax = cms.double(2.5),
419 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2_2p5_newNames.xml.gz"),
420 tmvaVariables = cms.vstring(
440 jEtaMin = cms.double(2.5),
441 jEtaMax = cms.double(3.),
442 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_2p5_3_newNames.xml.gz"),
443 tmvaVariables = cms.vstring(
463 jEtaMin = cms.double(3.),
464 jEtaMax = cms.double(5.),
465 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_BDTG.weights_jteta_3_5_newNames.xml.gz"),
466 tmvaVariables = cms.vstring(
482 version = cms.int32(-1),
483 tmvaSpectators = cms.vstring(
489 JetIdParams = full_74x_chs_wp,
490 label = cms.string(
"full")
494 impactParTkThreshold = cms.double(1.) ,
495 cutBased = cms.bool(
False),
496 etaBinnedWeights = cms.bool(
False),
497 tmvaWeights = cms.FileInPath(
"CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_Dec2012.weights.xml"),
498 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
499 version = cms.int32(-1),
500 tmvaVariables = cms.vstring(
515 tmvaSpectators = cms.vstring(
520 JetIdParams = full_53x_wp,
521 label = cms.string(
"full53x")
524 full_53x_chs = cms.PSet(
525 impactParTkThreshold = cms.double(1.) ,
526 cutBased = cms.bool(
False),
527 etaBinnedWeights = cms.bool(
False),
528 tmvaWeights = cms.FileInPath(
"CondFormats/JetMETObjects/data/TMVAClassificationCategory_JetID_53X_chs_Dec2012.weights.xml"),
530 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
531 version = cms.int32(-1),
532 tmvaVariables = cms.vstring(
547 tmvaSpectators = cms.vstring(
552 JetIdParams = full_53x_chs_wp,
553 label = cms.string(
"full")
557 impactParTkThreshold = cms.double(1.) ,
558 cutBased = cms.bool(
False),
559 etaBinnedWeights = cms.bool(
False),
560 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
561 tmvaMethod = cms.string(
"JetIDMVAMET"),
562 version = cms.int32(-1),
563 tmvaVariables = cms.vstring(
581 tmvaSpectators = cms.vstring(),
582 JetIdParams = met_53x_wp,
583 label = cms.string(
"met53x")
587 impactParTkThreshold = cms.double(1.) ,
588 cutBased = cms.bool(
False),
589 etaBinnedWeights = cms.bool(
False),
590 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassificationCategory_JetID_MET_53X_Dec2012.weights.xml.gz"),
591 tmvaMethod = cms.string(
"BDT_fullPlusRMS"),
592 version = cms.int32(-1),
593 tmvaVariables = cms.vstring(
607 tmvaSpectators = cms.vstring(
611 JetIdParams = full_5x_wp,
612 label = cms.string(
"full")
616 full_5x_chs = cms.PSet(
617 impactParTkThreshold = cms.double(1.) ,
618 cutBased = cms.bool(
False),
619 etaBinnedWeights = cms.bool(
False),
620 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/TMVAClassification_5x_BDT_chsFullPlusRMS.weights.xml.gz"),
621 tmvaMethod = cms.string(
"BDT_chsFullPlusRMS"),
622 version = cms.int32(-1),
623 tmvaVariables = cms.vstring(
637 tmvaSpectators = cms.vstring(
641 JetIdParams = full_5x_chs_wp,
642 label = cms.string(
"full")
647 impactParTkThreshold = cms.double(1.),
648 cutBased = cms.bool(
True),
649 JetIdParams = PuJetIdCutBased_wp,
650 label = cms.string(
"cutbased")
655 impactParTkThreshold = cms.double(1.) ,
656 cutBased = cms.bool(
False),
657 etaBinnedWeights = cms.bool(
False),
658 tmvaWeights = cms.FileInPath(
"RecoJets/JetProducers/data/mva_JetID_v1.weights.xml.gz"),
659 tmvaMethod = cms.string(
"JetID"),
660 version = cms.int32(-1),
661 tmvaVariables = cms.vstring(
679 tmvaSpectators = cms.vstring(),
680 JetIdParams = JetIdParams,
681 label = cms.string(
"philv1")
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