1 import FWCore.ParameterSet.Config
as cms
25 fixedGridRhoFastjetAllTmp = fixedGridRhoFastjetAll.clone(pfCandidatesTag = cms.InputTag(
"particleFlowTmp"))
27 particleFlowTmpSeq = cms.Sequence(particleFlowTmp)
29 particleFlowReco = cms.Sequence( particleFlowTrackWithDisplacedVertex*
31 pfGsfElectronMVASelectionSequence*
33 particleFlowEGammaFull*
35 fixedGridRhoFastjetAllTmp*
37 particleFlowEGammaFinal*
38 pfParticleSelectionSequence )
40 particleFlowLinks = cms.Sequence( particleFlow*particleFlowPtrs*chargedHadronPFTrackIsolation*particleBasedIsolationSequence)
46 particleFlowTmpBarrel = particleFlowTmp.clone()
47 _phase2_hgcal_particleFlowTmp = cms.EDProducer(
48 "PFCandidateListMerger",
49 src = cms.VInputTag(
"particleFlowTmpBarrel",
54 _phase2_hgcal_simPFSequence = cms.Sequence( pfTrack +
55 hgcalTrackCollection +
57 quickTrackAssociatorByHits +
59 _phase2_hgcal_particleFlowReco = cms.Sequence( _phase2_hgcal_simPFSequence * particleFlowReco.copy() )
60 _phase2_hgcal_particleFlowReco.replace( particleFlowTmpSeq, cms.Sequence( particleFlowTmpBarrel * particleFlowTmp ) )
62 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
63 phase2_hgcal.toModify( quickTrackAssociatorByHits,
64 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Pixel"),
65 stripSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Tracker")
68 phase2_hgcal.toModify( tpClusterProducer,
69 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Pixel"),
70 phase2OTSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Tracker")
73 phase2_hgcal.toReplaceWith( particleFlowTmp, _phase2_hgcal_particleFlowTmp )
74 phase2_hgcal.toReplaceWith( particleFlowReco, _phase2_hgcal_particleFlowReco )