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_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(
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(
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(
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(
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(
266 tmvaSpectators = cms.vstring(
270 JetIdParams = full_80x_chs_wp,
271 label = cms.string(
"full")
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(
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(
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(
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(
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(
367 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
368 version = cms.int32(-1),
369 tmvaSpectators = cms.vstring(
373 JetIdParams = full_76x_chs_wp,
374 label = cms.string(
"full")
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(
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(
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(
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(
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(
472 version = cms.int32(-1),
473 tmvaSpectators = cms.vstring(
479 JetIdParams = full_74x_chs_wp,
480 label = cms.string(
"full")
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(
505 tmvaSpectators = cms.vstring(
510 JetIdParams = full_53x_wp,
511 label = cms.string(
"full53x")
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"),
520 tmvaMethod = cms.string(
"JetIDMVAHighPt"),
521 version = cms.int32(-1),
522 tmvaVariables = cms.vstring(
537 tmvaSpectators = cms.vstring(
542 JetIdParams = full_53x_chs_wp,
543 label = cms.string(
"full")
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(
571 tmvaSpectators = cms.vstring(),
572 JetIdParams = met_53x_wp,
573 label = cms.string(
"met53x")
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(
597 tmvaSpectators = cms.vstring(
601 JetIdParams = full_5x_wp,
602 label = cms.string(
"full")
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(
627 tmvaSpectators = cms.vstring(
631 JetIdParams = full_5x_chs_wp,
632 label = cms.string(
"full")
637 impactParTkThreshold = cms.double(1.),
638 cutBased = cms.bool(
True),
639 JetIdParams = PuJetIdCutBased_wp,
640 label = cms.string(
"cutbased")
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(
669 tmvaSpectators = cms.vstring(),
670 JetIdParams = JetIdParams,
671 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