1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
17 mvaSpring15NonTrigClassName =
"ElectronMVAEstimatorRun2Spring15NonTrig"
32 mvaSpring15NonTrigWeightFiles_V1 = cms.vstring(
33 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB1_5_oldNonTrigSpring15_ConvVarCwoBoolean_TMVA412_FullStatLowPt_PairNegWeightsGlobal_BDT.weights.xml",
34 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB2_5_oldNonTrigSpring15_ConvVarCwoBoolean_TMVA412_FullStatLowPt_PairNegWeightsGlobal_BDT.weights.xml",
35 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EE_5_oldNonTrigSpring15_ConvVarCwoBoolean_TMVA412_FullStatLowPt_PairNegWeightsGlobal_BDT.weights.xml",
36 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB1_10_oldNonTrigSpring15_ConvVarCwoBoolean_TMVA412_FullStatLowPt_PairNegWeightsGlobal_BDT.weights.xml",
37 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB2_10_oldNonTrigSpring15_ConvVarCwoBoolean_TMVA412_FullStatLowPt_PairNegWeightsGlobal_BDT.weights.xml",
38 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EE_10_oldNonTrigSpring15_ConvVarCwoBoolean_TMVA412_FullStatLowPt_PairNegWeightsGlobal_BDT.weights.xml"
48 mvaProducerModuleLabel =
"electronMVAValueMapProducer"
49 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Values"
50 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Categories"
54 idName90 =
"mvaEleID-Spring15-25ns-nonTrig-V1-wp90"
55 MVA_WP90 = EleMVA_6Categories_WP(
57 mvaValueMapName = mvaValueMapName,
58 mvaCategoriesMapName = mvaCategoriesMapName,
59 cutCategory0 = -0.083313,
60 cutCategory1 = -0.235222,
61 cutCategory2 = -0.67099,
62 cutCategory3 = 0.913286,
63 cutCategory4 = 0.805013,
64 cutCategory5 = 0.358969
67 idName80 =
"mvaEleID-Spring15-25ns-nonTrig-V1-wp80"
68 MVA_WP80 = EleMVA_6Categories_WP(
70 mvaValueMapName = mvaValueMapName,
71 mvaCategoriesMapName = mvaCategoriesMapName,
72 cutCategory0 = 0.287435,
73 cutCategory1 = 0.221846,
74 cutCategory2 = -0.303263,
75 cutCategory3 = 0.967083,
76 cutCategory4 = 0.929117,
77 cutCategory5 = 0.726311
85 mvaEleID_Spring15_25ns_nonTrig_V1_producer_config = cms.PSet(
86 mvaName = cms.string(mvaSpring15NonTrigClassName),
87 mvaTag = cms.string(mvaTag),
89 beamSpot = cms.InputTag(
'offlineBeamSpot'),
90 conversionsAOD = cms.InputTag(
'allConversions'),
91 conversionsMiniAOD = cms.InputTag(
'reducedEgamma:reducedConversions'),
93 weightFileNames = mvaSpring15NonTrigWeightFiles_V1
106 central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp90.idName,
107 'ac4fdc160eefe9eae7338601c02ed4bb')
108 central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp80.idName,
109 '113c47ceaea0fa687b8bd6d880eb4957')
111 mvaEleID_Spring15_25ns_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(
True)
112 mvaEleID_Spring15_25ns_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool(
True)