1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
19 mvaSpring15NonTrigClassName =
"PhotonMVAEstimatorRun2Spring15NonTrig"
30 mvaSpring15NonTrigWeightFiles_V2 = cms.vstring(
31 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_50ns_EB_V2.weights.xml",
32 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_50ns_EE_V2.weights.xml"
42 mvaProducerModuleLabel =
"photonMVAValueMapProducer"
43 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Values"
44 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Categories"
49 idName =
"mvaPhoID-Spring15-50ns-nonTrig-V2-wp90"
50 MVA_WP90 = PhoMVA_2Categories_WP(
52 mvaValueMapName = mvaValueMapName,
53 mvaCategoriesMapName = mvaCategoriesMapName,
54 cutCategory0 = 0.29538,
55 cutCategory1 = 0.45837
63 mvaPhoID_Spring15_50ns_nonTrig_V2_producer_config = cms.PSet(
64 mvaName = cms.string(mvaSpring15NonTrigClassName),
65 mvaTag = cms.string(mvaTag),
66 weightFileNames = mvaSpring15NonTrigWeightFiles_V2,
73 useValueMaps = cms.bool(
True),
74 full5x5SigmaIEtaIEtaMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"),
75 full5x5SigmaIEtaIPhiMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"),
76 full5x5E1x3Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E1x3"),
77 full5x5E2x2Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x2"),
78 full5x5E2x5MaxMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x5Max"),
79 full5x5E5x5Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E5x5"),
80 esEffSigmaRRMap = cms.InputTag(
"photonIDValueMapProducer:phoESEffSigmaRR"),
81 phoChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoChargedIsolation"),
82 phoPhotonIsolation = cms.InputTag(
"photonIDValueMapProducer:phoPhotonIsolation"),
83 phoWorstChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoWorstChargedIsolation"),
87 rho = cms.InputTag(
"fixedGridRhoFastjetAll")
99 central_id_registry.register( mvaPhoID_Spring15_50ns_nonTrig_V2_wp90.idName,
100 '541536b38c6a01f2ceded658477ff570')
102 mvaPhoID_Spring15_50ns_nonTrig_V2_wp90.isPOGApproved = cms.untracked.bool(
True)