1 import FWCore.ParameterSet.Config
as cms
24 fixedGridRhoFastjetAllTmp = fixedGridRhoFastjetAll.clone(pfCandidatesTag = cms.InputTag(
"particleFlowTmp"))
26 particleFlowTmpSeq = cms.Sequence(particleFlowTmp)
28 particleFlowReco = cms.Sequence( particleFlowTrackWithDisplacedVertex*
30 pfGsfElectronMVASelectionSequence*
32 particleFlowEGammaFull*
34 fixedGridRhoFastjetAllTmp*
36 particleFlowEGammaFinal*
37 pfParticleSelectionSequence )
39 particleFlowLinks = cms.Sequence( particleFlow*particleFlowPtrs*particleBasedIsolationSequence)
45 particleFlowTmpBarrel = particleFlowTmp.clone()
46 _phase2_hgcal_particleFlowTmp = cms.EDProducer(
47 "PFCandidateListMerger",
48 src = cms.VInputTag(
"particleFlowTmpBarrel",
53 _phase2_hgcal_simPFSequence = cms.Sequence( pfTrack +
54 hgcalTrackCollection +
56 quickTrackAssociatorByHits +
58 _phase2_hgcal_particleFlowReco = cms.Sequence( _phase2_hgcal_simPFSequence * particleFlowReco.copy() )
59 _phase2_hgcal_particleFlowReco.replace( particleFlowTmpSeq, cms.Sequence( particleFlowTmpBarrel * particleFlowTmp ) )
61 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
62 phase2_hgcal.toModify( quickTrackAssociatorByHits,
63 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Pixel"),
64 stripSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Tracker")
67 phase2_hgcal.toModify( tpClusterProducer,
68 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Pixel"),
69 phase2OTSimLinkSrc = cms.InputTag(
"simSiPixelDigis",
"Tracker")
72 phase2_hgcal.toReplaceWith( particleFlowTmp, _phase2_hgcal_particleFlowTmp )
73 phase2_hgcal.toReplaceWith( particleFlowReco, _phase2_hgcal_particleFlowReco )