1 import FWCore.ParameterSet.Config
as cms
3 from RecoEgamma.EgammaElectronProducers.defaultLowPtGsfElectronID_cfi
import defaultLowPtGsfElectronID
5 lowPtGsfElectronID = defaultLowPtGsfElectronID.clone(
6 ModelNames = cms.vstring([
'']),
7 ModelWeights = cms.vstring([
8 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_mva_id.xml.gz',
10 ModelThresholds = cms.vdouble([-10.])
13 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
14 from Configuration.Eras.Modifier_run2_miniAOD_devel_cff
import run2_miniAOD_devel
15 from Configuration.Eras.Modifier_bParking_cff
import bParking
16 run2_miniAOD_UL.toModify(
18 rho =
"fixedGridRhoFastjetAll",
19 ModelWeights = [
"RecoEgamma/ElectronIdentification/data/LowPtElectrons/LowPtElectrons_ID_2020Sept15.root"],
20 ModelThresholds = [-99.],
23 run2_miniAOD_devel.toModify(
25 ModelWeights = [
"RecoEgamma/ElectronIdentification/data/LowPtElectrons/LowPtElectrons_ID_2020Nov28.root"],
27 (bParking & run2_miniAOD_UL).toModify(
29 ModelWeights = [
"RecoEgamma/ElectronIdentification/data/LowPtElectrons/LowPtElectrons_ID_2021May17.root"],
32 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
33 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
35 (fastSim & (run2_miniAOD_UL | run2_nanoAOD_106Xv2)).toModify(