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 )
76 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
78 pp_on_XeXe_2017.toModify(particleFlowDisplacedVertexCandidate,
79 tracksSelectorParameters =
dict(pt_min = 999999.0,
81 pt_min_prim = 999999.0,
85 pp_on_XeXe_2017.toModify(particleFlowBlock, useNuclear = cms.bool(
False))
87 pp_on_XeXe_2017.toModify(pfNoPileUpIso, enable = cms.bool(
False))
88 pp_on_XeXe_2017.toModify(pfPileUpIso, enable = cms.bool(
False))
89 pp_on_XeXe_2017.toModify(pfNoPileUp, enable = cms.bool(
False))
90 pp_on_XeXe_2017.toModify(pfPileUp, enable = cms.bool(
False))