1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
17 mvaSpring15NonTrigClassName =
"PhotonMVAEstimatorRun2Spring15NonTrig"
28 mvaSpring15NonTrigWeightFiles_V0 = cms.vstring(
29 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_25ns_EB_V0.weights.xml",
30 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_25ns_EE_V0.weights.xml"
40 mvaProducerModuleLabel =
"photonMVAValueMapProducer"
41 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Values"
42 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Categories"
47 idName =
"mvaPhoID-Spring15-25ns-nonTrig-V0-wp90"
48 MVA_WP90 = PhoMVA_2Categories_WP(
50 mvaValueMapName = mvaValueMapName,
51 mvaCategoriesMapName = mvaCategoriesMapName,
61 mvaPhoID_Spring15_25ns_nonTrig_V0_producer_config = cms.PSet(
62 mvaName = cms.string(mvaSpring15NonTrigClassName),
63 mvaTag = cms.string(mvaTag),
64 weightFileNames = mvaSpring15NonTrigWeightFiles_V0,
71 useValueMaps = cms.bool(
True),
72 full5x5SigmaIEtaIEtaMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"),
73 full5x5SigmaIEtaIPhiMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"),
74 full5x5E1x3Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E1x3"),
75 full5x5E2x2Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x2"),
76 full5x5E2x5MaxMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x5Max"),
77 full5x5E5x5Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E5x5"),
78 esEffSigmaRRMap = cms.InputTag(
"photonIDValueMapProducer:phoESEffSigmaRR"),
79 phoChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoChargedIsolation"),
80 phoPhotonIsolation = cms.InputTag(
"photonIDValueMapProducer:phoPhotonIsolation"),
81 phoWorstChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoWorstChargedIsolation"),
85 rho = cms.InputTag(
"fixedGridRhoFastjetAll")
97 central_id_registry.register( mvaPhoID_Spring15_25ns_nonTrig_V0_wp90.idName,
98 '0db3574f257ba9082ffc4874ba6cee99')
100 mvaPhoID_Spring15_25ns_nonTrig_V0_wp90.isPOGApproved = cms.untracked.bool(
False)