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_25ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml",
31 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB2_10_oldTrigSpring15_25ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml",
32 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EE_10_oldTrigSpring15_25ns_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-25ns-Trig-V1-wp90"
49 MVA_WP90 = EleMVA_3Categories_WP(
51 mvaValueMapName = mvaValueMapName,
52 mvaCategoriesMapName = mvaCategoriesMapName,
53 cutCategory0 = 0.972153,
54 cutCategory1 = 0.922126,
55 cutCategory2 = 0.610764
58 idName80 =
"mvaEleID-Spring15-25ns-Trig-V1-wp80"
59 MVA_WP80 = EleMVA_3Categories_WP(
61 mvaValueMapName = mvaValueMapName,
62 mvaCategoriesMapName = mvaCategoriesMapName,
63 cutCategory0 = 0.988153,
64 cutCategory1 = 0.96791 ,
65 cutCategory2 = 0.841729
73 mvaEleID_Spring15_25ns_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_25ns_Trig_V1_wp90.idName,
95 'bb430b638bf3a4d970627021b0da63ae')
96 central_id_registry.register(mvaEleID_Spring15_25ns_Trig_V1_wp80.idName,
97 '81046ab478185af337be1be9b30948ae')
99 mvaEleID_Spring15_25ns_Trig_V1_wp90.isPOGApproved = cms.untracked.bool(
True)
100 mvaEleID_Spring15_25ns_Trig_V1_wp80.isPOGApproved = cms.untracked.bool(
True)