1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
18 mvaSpring15NonTrigClassName =
"PhotonMVAEstimatorRun2Spring15NonTrig"
29 mvaSpring15NonTrigWeightFiles_V2 = cms.vstring(
30 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_25ns_EB_V2.weights.xml",
31 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_25ns_EE_V2.weights.xml"
41 mvaProducerModuleLabel =
"photonMVAValueMapProducer"
42 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Values"
43 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Categories"
48 idName =
"mvaPhoID-Spring15-25ns-nonTrig-V2-wp90"
49 MVA_WP90 = PhoMVA_2Categories_WP(
51 mvaValueMapName = mvaValueMapName,
52 mvaCategoriesMapName = mvaCategoriesMapName,
62 mvaPhoID_Spring15_25ns_nonTrig_V2_producer_config = cms.PSet(
63 mvaName = cms.string(mvaSpring15NonTrigClassName),
64 mvaTag = cms.string(mvaTag),
65 weightFileNames = mvaSpring15NonTrigWeightFiles_V2,
72 useValueMaps = cms.bool(
True),
73 full5x5SigmaIEtaIEtaMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"),
74 full5x5SigmaIEtaIPhiMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"),
75 full5x5E1x3Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E1x3"),
76 full5x5E2x2Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x2"),
77 full5x5E2x5MaxMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x5Max"),
78 full5x5E5x5Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E5x5"),
79 esEffSigmaRRMap = cms.InputTag(
"photonIDValueMapProducer:phoESEffSigmaRR"),
80 phoChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoChargedIsolation"),
81 phoPhotonIsolation = cms.InputTag(
"photonIDValueMapProducer:phoPhotonIsolation"),
82 phoWorstChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoWorstChargedIsolation"),
86 rho = cms.InputTag(
"fixedGridRhoFastjetAll")
98 central_id_registry.register( mvaPhoID_Spring15_25ns_nonTrig_V2_wp90.idName,
99 '8a6870b7182e5aeee51b71cdba3c3fce')
101 mvaPhoID_Spring15_25ns_nonTrig_V2_wp90.isPOGApproved = cms.untracked.bool(
True)