1 import FWCore.ParameterSet.Config
as cms
3 import RecoParticleFlow.PFProducer.pfLinker_cfi
5 particleFlow = RecoParticleFlow.PFProducer.pfLinker_cfi.pfLinker.clone()
6 particleFlow.PFCandidate = [cms.InputTag(
"particleFlowTmp")]
7 particleFlowPtrs = RecoParticleFlow.PFProducer.particleFlowTmpPtrs_cfi.particleFlowTmpPtrs.clone()
8 particleFlowPtrs.src =
"particleFlow" 10 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
11 phase2_hgcal.toModify(particleFlow, forceElectronsInHGCAL =
True)