1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
20 mvaSpring15NonTrigClassName =
"PhotonMVAEstimatorRun2Spring15NonTrig"
31 mvaSpring15NonTrigWeightFiles_V2p1 = cms.vstring(
32 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_25ns_EB_V2.weights.xml",
33 "RecoEgamma/PhotonIdentification/data/Spring15/photon_general_MVA_Spring15_25ns_EE_V2.weights.xml"
43 mvaProducerModuleLabel =
"photonMVAValueMapProducer"
44 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Values"
45 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaSpring15NonTrigClassName + mvaTag +
"Categories"
50 idName =
"mvaPhoID-Spring15-25ns-nonTrig-V2p1-wp90"
51 MVA_WP90 = PhoMVA_2Categories_WP(
53 mvaValueMapName = mvaValueMapName,
54 mvaCategoriesMapName = mvaCategoriesMapName,
64 mvaPhoID_Spring15_25ns_nonTrig_V2p1_producer_config = cms.PSet(
65 mvaName = cms.string(mvaSpring15NonTrigClassName),
66 mvaTag = cms.string(mvaTag),
67 weightFileNames = mvaSpring15NonTrigWeightFiles_V2p1,
74 useValueMaps = cms.bool(
False),
75 full5x5SigmaIEtaIEtaMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"),
76 full5x5SigmaIEtaIPhiMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"),
77 full5x5E1x3Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E1x3"),
78 full5x5E2x2Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x2"),
79 full5x5E2x5MaxMap = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E2x5Max"),
80 full5x5E5x5Map = cms.InputTag(
"photonIDValueMapProducer:phoFull5x5E5x5"),
81 esEffSigmaRRMap = cms.InputTag(
"photonIDValueMapProducer:phoESEffSigmaRR"),
82 phoChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoChargedIsolation"),
83 phoPhotonIsolation = cms.InputTag(
"photonIDValueMapProducer:phoPhotonIsolation"),
84 phoWorstChargedIsolation = cms.InputTag(
"photonIDValueMapProducer:phoWorstChargedIsolation"),
88 rho = cms.InputTag(
"fixedGridRhoFastjetAll")
100 central_id_registry.register( mvaPhoID_Spring15_25ns_nonTrig_V2p1_wp90.idName,
101 '62eb8da6a5e26164d52d36cb81f952fc')
103 mvaPhoID_Spring15_25ns_nonTrig_V2p1_wp90.isPOGApproved = cms.untracked.bool(
True)