1 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
3 import FWCore.ParameterSet.Config
as cms
17 mvaPhys14NonTrigClassName =
"PhotonMVAEstimatorRun2Phys14NonTrig"
28 mvaPhys14NonTrigWeightFiles_V1 = cms.vstring(
29 "RecoEgamma/PhotonIdentification/data/PHYS14/photon_general_MVA_phys14_pu20bx25_EB_V1.weights.xml",
30 "RecoEgamma/PhotonIdentification/data/PHYS14/photon_general_MVA_phys14_pu20bx25_EE_V1.weights.xml"
40 mvaProducerModuleLabel =
"photonMVAValueMapProducer"
41 mvaValueMapName = mvaProducerModuleLabel +
":" + mvaPhys14NonTrigClassName + mvaTag +
"Values"
42 mvaCategoriesMapName = mvaProducerModuleLabel +
":" + mvaPhys14NonTrigClassName + mvaTag +
"Categories"
47 idName =
"mvaPhoID-PHYS14-PU20bx25-nonTrig-V1-wp90"
48 MVA_WP90 = PhoMVA_2Categories_WP(
50 mvaValueMapName = mvaValueMapName,
51 mvaCategoriesMapName = mvaCategoriesMapName,
61 mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_producer_config = cms.PSet(
62 mvaName = cms.string(mvaPhys14NonTrigClassName),
63 mvaTag = cms.string(mvaTag),
64 weightFileNames = mvaPhys14NonTrigWeightFiles_V1,
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_PHYS14_PU20bx25_nonTrig_V1_wp90.idName,
98 'f3ff6ade4680f277c31deb921aa370e4')
100 mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(
True)