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.toReplaceWith( particleFlowTmp, _phase2_hgcal_particleFlowTmp )
64 phase2_hgcal.toReplaceWith( particleFlowReco, _phase2_hgcal_particleFlowReco )
66 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
67 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
69 for e
in [pp_on_XeXe_2017, pp_on_AA_2018]:
70 e.toModify(particleFlowDisplacedVertexCandidate,
71 tracksSelectorParameters =
dict(pt_min = 999999.0,
73 pt_min_prim = 999999.0,
77 e.toModify(particleFlowBlock, useNuclear = cms.bool(
False))
79 e.toModify(pfNoPileUpIso, enable = cms.bool(
False))
80 e.toModify(pfPileUpIso, enable = cms.bool(
False))
81 e.toModify(pfNoPileUp, enable = cms.bool(
False))
82 e.toModify(pfPileUp, enable = cms.bool(
False))