diff --git a/RecoEgamma/EgammaElectronProducers/plugins/LowPtGsfElectronIDProducer.cc b/RecoEgamma/EgammaElectronProducers/plugins/LowPtGsfElectronIDProducer.cc index 14e9e92551363..f4c65dde72c11 100644 --- a/RecoEgamma/EgammaElectronProducers/plugins/LowPtGsfElectronIDProducer.cc +++ b/RecoEgamma/EgammaElectronProducers/plugins/LowPtGsfElectronIDProducer.cc @@ -72,9 +72,9 @@ void LowPtGsfElectronIDProducer::fillDescriptions( edm::ConfigurationDescription edm::ParameterSetDescription desc; desc.add("electrons",edm::InputTag("lowPtGsfElectrons")); desc.add("rho",edm::InputTag("fixedGridRhoFastjetAllTmp")); - desc.add< std::vector >("ModelNames",std::vector({""})); - desc.add< std::vector >("ModelWeights",std::vector({"RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Fall17_LowPtElectrons_mva_id.xml.gz"})); - desc.add< std::vector >("ModelThresholds",std::vector({-1.})); + desc.add< std::vector >("ModelNames",std::vector()); + desc.add< std::vector >("ModelWeights",std::vector()); + desc.add< std::vector >("ModelThresholds",std::vector()); desc.add("PassThrough",false); desc.add("MinPtThreshold",0.5); desc.add("MaxPtThreshold",15.); diff --git a/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronID_cff.py b/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronID_cff.py index 03dc4f52821c9..09f1db56328ed 100644 --- a/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronID_cff.py +++ b/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronID_cff.py @@ -2,4 +2,10 @@ from RecoEgamma.EgammaElectronProducers.defaultLowPtGsfElectronID_cfi import defaultLowPtGsfElectronID -lowPtGsfElectronID = defaultLowPtGsfElectronID.clone() +lowPtGsfElectronID = defaultLowPtGsfElectronID.clone( + ModelNames = cms.vstring(['']), + ModelWeights = cms.vstring([ + 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_mva_id.xml.gz', + ]), + ModelThresholds = cms.vdouble([-10.]) + ) diff --git a/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronSeeds_cfi.py b/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronSeeds_cfi.py index 3b9ea16ad0a9d..b5f51ebea10d1 100644 --- a/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronSeeds_cfi.py +++ b/RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronSeeds_cfi.py @@ -1,8 +1,8 @@ import FWCore.ParameterSet.Config as cms def thresholds( wp ) : - return cms.vdouble([{"L": 1.03,"M":1.75,"T":2.61}.get(wp,1.e6), # unbiased - {"L":-0.48,"M":0.76,"T":1.83}.get(wp,1.e6)]) # ptbiased + return cms.vdouble([{"VL": 0.19,"L":1.20,"M":2.02,"T":3.05}.get(wp,1.e6), # unbiased + {"VL":-1.99,"L":0.01,"M":1.29,"T":2.42}.get(wp,1.e6)]) # ptbiased lowPtGsfElectronSeeds = cms.EDProducer( "LowPtGsfElectronSeedProducer", @@ -22,8 +22,8 @@ def thresholds( wp ) : 'ptbiased', ]), ModelWeights = cms.vstring([ - 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Fall17_LowPtElectrons_unbiased.xml.gz', - 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Fall17_LowPtElectrons_displaced_pt_eta_biased.xml.gz', + 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz', + 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_displaced_pt_eta_biased.xml.gz', ]), ModelThresholds = thresholds("T"), PassThrough = cms.bool(False), @@ -49,5 +49,5 @@ def thresholds( wp ) : # Modifiers for BParking from Configuration.Eras.Modifier_bParking_cff import bParking -bParking.toModify(lowPtGsfElectronSeeds, ModelThresholds = thresholds("L") ) +bParking.toModify(lowPtGsfElectronSeeds, ModelThresholds = thresholds("VL") ) bParking.toModify(lowPtGsfElectronSeeds, MinPtThreshold = 0.5)