1 import FWCore.ParameterSet.Config
as cms
25 fixedGridRhoFastjetAllTmp = fixedGridRhoFastjetAll.clone(pfCandidatesTag =
"particleFlowTmp")
27 particleFlowTmpTask = cms.Task(particleFlowTmp)
28 particleFlowTmpSeq = cms.Sequence(particleFlowTmpTask)
30 particleFlowRecoTask = cms.Task( particleFlowTrackWithDisplacedVertexTask,
32 pfGsfElectronMVASelectionTask,
34 particleFlowEGammaFullTask,
36 fixedGridRhoFastjetAllTmp,
38 particleFlowEGammaFinalTask,
39 pfParticleSelectionTask )
40 particleFlowReco = cms.Sequence(particleFlowRecoTask)
42 particleFlowLinksTask = cms.Task( particleFlow, particleFlowPtrs, chargedHadronPFTrackIsolation, particleBasedIsolationTask)
43 particleFlowLinks = cms.Sequence(particleFlowLinksTask)
49 particleFlowTmpBarrel = particleFlowTmp.clone()
50 _phase2_hgcal_particleFlowTmp = cms.EDProducer(
51 "PFCandidateListMerger",
52 src = cms.VInputTag(
"particleFlowTmpBarrel",
57 _phase2_hgcal_simPFTask = cms.Task( pfTrack ,
58 hgcalTrackCollection ,
60 quickTrackAssociatorByHits ,
62 _phase2_hgcal_simPFSequence = cms.Sequence(_phase2_hgcal_simPFTask)
63 _phase2_hgcal_particleFlowRecoTask = cms.Task( _phase2_hgcal_simPFTask , particleFlowRecoTask.copy() )
64 _phase2_hgcal_particleFlowRecoTask.replace( particleFlowTmpTask, cms.Task( particleFlowTmpBarrel, particleFlowTmp ) )
66 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
67 phase2_hgcal.toReplaceWith( particleFlowTmp, _phase2_hgcal_particleFlowTmp )
68 phase2_hgcal.toReplaceWith( particleFlowRecoTask, _phase2_hgcal_particleFlowRecoTask )
70 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
71 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
73 for e
in [pp_on_XeXe_2017, pp_on_AA]:
74 e.toModify(particleFlowDisplacedVertexCandidate,
75 tracksSelectorParameters = dict(pt_min = 999999.0,
77 pt_min_prim = 999999.0,
81 e.toModify(particleFlowBlock, useNuclear = cms.bool(
False))
83 e.toModify(pfNoPileUpIso, enable = cms.bool(
False))
84 e.toModify(pfPileUpIso, enable = cms.bool(
False))
85 e.toModify(pfNoPileUp, enable = cms.bool(
False))
86 e.toModify(pfPileUp, enable = cms.bool(
False))