CMS 3D CMS Logo

lowPtGsfElectronID_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoEgamma.EgammaElectronProducers.defaultLowPtGsfElectronID_cfi import defaultLowPtGsfElectronID
4 lowPtGsfElectronID = defaultLowPtGsfElectronID.clone()
5 
6 from Configuration.Eras.Modifier_bParking_cff import bParking
7 bParking.toModify(
8  lowPtGsfElectronID,
9  ModelWeights = ["RecoEgamma/ElectronIdentification/data/LowPtElectrons/LowPtElectrons_ID_2021May17.root"],
10 )
11 
12 from Configuration.Eras.Modifier_fastSim_cff import fastSim
13 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff import run2_miniAOD_UL
15 (fastSim & (run2_miniAOD_UL | run2_nanoAOD_106Xv2)).toModify(
16  lowPtGsfElectronID,
17  useGsfToTrack = True,
18 )