1 import FWCore.ParameterSet.Config
as cms
3 from RecoParticleFlow.PFTracking.modules
import GoodSeedProducer
4 trackerDrivenElectronSeeds = GoodSeedProducer()
6 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
7 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
8 for e
in [pp_on_XeXe_2017, pp_on_AA]:
9 e.toModify(trackerDrivenElectronSeeds, MinPt = 5.0)
15 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
16 trackerDrivenElectronSeedsTmp = trackerDrivenElectronSeeds.clone(TkColList = [
"generalTracksBeforeMixing"])
17 import FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi
18 _fastSim_trackerDrivenElectronSeeds = FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi.fixedTrackerDrivenElectronSeeds.clone()
19 _fastSim_trackerDrivenElectronSeeds.seedCollection.setModuleLabel(
"trackerDrivenElectronSeedsTmp")
20 _fastSim_trackerDrivenElectronSeeds.idCollection = [
"trackerDrivenElectronSeedsTmp:preid",]
21 fastSim.toReplaceWith(trackerDrivenElectronSeeds,_fastSim_trackerDrivenElectronSeeds)
23 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff
import egamma_lowPt_exclusive
24 egamma_lowPt_exclusive.toModify(trackerDrivenElectronSeeds,MinPt = 1.0)