1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
17 mvaSpring15TrigClassName =
"ElectronMVAEstimatorRun2Spring15Trig"
29 mvaSpring15TrigWeightFiles_V1 = cms.vstring(
30 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB1_10_oldTrigSpring15_50ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml",
31 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB2_10_oldTrigSpring15_50ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml",
32 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EE_10_oldTrigSpring15_50ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml"
42 mvaProducerModuleLabel =
"electronMVAValueMapProducer"
43 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaSpring15TrigClassName + mvaTag +
"Values"
44 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaSpring15TrigClassName + mvaTag +
"Categories"
48 idName90 =
"mvaEleID-Spring15-50ns-Trig-V1-wp90"
49 MVA_WP90 = EleMVA_3Categories_WP(
51 mvaValueMapName = mvaValueMapName,
52 mvaCategoriesMapName = mvaCategoriesMapName,
53 cutCategory0 = 0.953843,
54 cutCategory1 = 0.849994,
55 cutCategory2 = 0.514118
58 idName80 =
"mvaEleID-Spring15-50ns-Trig-V1-wp80"
59 MVA_WP80 = EleMVA_3Categories_WP(
61 mvaValueMapName = mvaValueMapName,
62 mvaCategoriesMapName = mvaCategoriesMapName,
63 cutCategory0 = 0.981841,
64 cutCategory1 = 0.946762,
65 cutCategory2 = 0.79704
73 mvaEleID_Spring15_50ns_Trig_V1_producer_config = cms.PSet(
74 mvaName = cms.string(mvaSpring15TrigClassName),
75 mvaTag = cms.string(mvaTag),
77 beamSpot = cms.InputTag(
'offlineBeamSpot'),
78 conversionsAOD = cms.InputTag(
'allConversions'),
79 conversionsMiniAOD = cms.InputTag(
'reducedEgamma:reducedConversions'),
81 weightFileNames = mvaSpring15TrigWeightFiles_V1
94 central_id_registry.register(mvaEleID_Spring15_50ns_Trig_V1_wp90.idName,
95 'b2c90992b008ddca2daf74fe578e7e1b')
96 central_id_registry.register(mvaEleID_Spring15_50ns_Trig_V1_wp80.idName,
97 'e9127ba0788d88aa64abe68b13749519')
99 mvaEleID_Spring15_50ns_Trig_V1_wp90.isPOGApproved = cms.untracked.bool(
True)
100 mvaEleID_Spring15_50ns_Trig_V1_wp80.isPOGApproved = cms.untracked.bool(
True)