1 import FWCore.ParameterSet.Config
as cms
7 sourceElectrons = cms.InputTag(
"lowPtGsfElectrons")
9 lowPtElectronMatch = electronMatch.clone(
10 src = sourceElectrons,
13 patLowPtElectrons = patElectrons.clone(
16 electronSource = sourceElectrons,
19 genParticleMatch =
"lowPtElectronMatch",
24 unbiased = cms.InputTag(
"rekeyLowPtGsfElectronSeedValueMaps:unbiased"),
25 ptbiased = cms.InputTag(
"rekeyLowPtGsfElectronSeedValueMaps:ptbiased"),
26 ID = cms.InputTag(
"lowPtGsfElectronID"),
33 embedGsfElectronCore =
True,
35 embedSuperCluster =
True,
36 embedSeedCluster =
True,
37 embedBasicClusters =
True,
38 embedPreshowerClusters =
False,
40 embedPflowSuperCluster =
False,
41 embedPflowBasicClusters =
False,
42 embedPflowPreshowerClusters =
False,
43 embedPFCandidate =
False,
46 addMVAVariables =
False,
47 embedHighLevelSelection =
False,
48 isoDeposits = cms.PSet(),
49 isolationValues = cms.PSet(),
50 isolationValuesNoPFId = cms.PSet(),
54 makePatLowPtElectronsTask = cms.Task(
59 makePatLowPtElectrons = cms.Sequence(makePatLowPtElectronsTask)
63 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
64 fastSim.toModify(patLowPtElectrons, embedTrack =
False)
65 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
66 from Configuration.Eras.Modifier_run2_miniAOD_94XFall17_cff
import run2_miniAOD_94XFall17
67 (run2_miniAOD_80XLegacy | run2_miniAOD_94XFall17).toModify(patLowPtElectrons,
68 electronSource =
"gedGsfElectrons",
69 genParticleMatch =
"electronMatch" 73 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
74 from Configuration.Eras.Modifier_bParking_cff
import bParking
75 from RecoEgamma.EgammaElectronProducers.lowPtGsfElectronSeedValueMaps_cff
import rekeyLowPtGsfElectronSeedValueMaps
76 from RecoEgamma.EgammaElectronProducers.lowPtGsfElectronID_cff
import lowPtGsfElectronID
77 _makePatLowPtElectronsTask = makePatLowPtElectronsTask.copy()
78 _makePatLowPtElectronsTask.add(rekeyLowPtGsfElectronSeedValueMaps)
79 _makePatLowPtElectronsTask.add(lowPtGsfElectronID)
80 (bParking | run2_miniAOD_UL).toReplaceWith(makePatLowPtElectronsTask,_makePatLowPtElectronsTask)