1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
21 mvaSpring15NonTrigClassName =
"PhotonMVAEstimatorRun2Spring15NonTrig"
32 mvaSpring15NonTrigWeightFiles_V2p1 = cms.vstring(
33 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_50ns_EB_V2.weights.xml",
34 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_50ns_EE_V2.weights.xml"
44 mvaProducerModuleLabel =
"photonMVAValueMapProducer"
45 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Values"
46 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Categories"
51 idName =
"mvaPhoID-Spring15-50ns-nonTrig-V2p1-wp90"
52 MVA_WP90 = PhoMVA_2Categories_WP(
54 mvaValueMapName = mvaValueMapName,
55 mvaCategoriesMapName = mvaCategoriesMapName,
56 cutCategory0 = 0.29538,
57 cutCategory1 = 0.45837
65 mvaPhoID_Spring15_50ns_nonTrig_V2p1_producer_config = cms.PSet(
66 mvaName = cms.string(mvaSpring15NonTrigClassName),
67 mvaTag = cms.string(mvaTag),
68 weightFileNames = mvaSpring15NonTrigWeightFiles_V2p1,
75 useValueMaps = cms.bool(
False),
76 full5x5SigmaIEtaIEtaMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"),
77 full5x5SigmaIEtaIPhiMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"),
78 full5x5E1x3Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E1x3"),
79 full5x5E2x2Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x2"),
80 full5x5E2x5MaxMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x5Max"),
81 full5x5E5x5Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E5x5"),
82 esEffSigmaRRMap = cms.InputTag(
"photonIDValueMapProducer:phoESEffSigmaRR"),
83 phoChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoChargedIsolation"),
84 phoPhotonIsolation = cms.InputTag(
"photonIDValueMapProducer:phoPhotonIsolation"),
85 phoWorstChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoWorstChargedIsolation"),
89 rho = cms.InputTag(
"fixedGridRhoFastjetAll")
101 central_id_registry.register( mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90.idName,
102 '9b03aa4412c43fdbd72ea55f2e1a16bc')
104 mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90.isPOGApproved = cms.untracked.bool(
True)