1 import FWCore.ParameterSet.Config
as cms
3 puppiCentral = cms.VPSet(
6 useCharged = cms.bool(
True),
7 applyLowPUCorr = cms.bool(
True),
8 combOpt = cms.int32(0),
9 cone = cms.double(0.4),
10 rmsPtMin = cms.double(0.1),
11 rmsScaleFactor = cms.double(1.0)
15 puppiForward = cms.VPSet(
17 algoId = cms.int32(5),
18 useCharged = cms.bool(
False),
19 applyLowPUCorr = cms.bool(
True),
20 combOpt = cms.int32(0),
21 cone = cms.double(0.4),
22 rmsPtMin = cms.double(0.5),
23 rmsScaleFactor = cms.double(1.0)
29 import CommonTools.PileupAlgos.PuppiProducer_cfi
as _mod
30 puppi = _mod.PuppiProducer.clone(
31 UseDeltaZCutForPileup =
False,
32 DeltaZCut = primaryVertexAssociationJME.assignment.maxDzForPrimaryAssignment,
33 EtaMinUseDeltaZ = primaryVertexAssociationJME.assignment.EtaMinUseDz,
34 PtMaxCharged = primaryVertexAssociationJME.assignment.PtMaxCharged,
35 NumOfPUVtxsForCharged = primaryVertexAssociationJME.assignment.NumOfPUVtxsForCharged,
36 DeltaZCutForChargedFromPUVtxs = primaryVertexAssociationJME.assignment.DzCutForChargedFromPUVtxs,
37 PtMaxNeutralsStartSlope = 20.,
39 clonePackedCands =
False,
42 puppiAlgos = puppiCentral
46 puppi.algos.append(cms.PSet(
47 etaMin = cms.vdouble( 2.5, 3.0),
48 etaMax = cms.vdouble( 3.0, 10.0),
49 ptMin = cms.vdouble( 0.0, 0.0),
50 MinNeutralPt = cms.vdouble( 1.7, 2.0),
51 MinNeutralPtSlope = cms.vdouble(0.08, 0.08),
52 RMSEtaSF = cms.vdouble(1.20, 0.95),
53 MedEtaSF = cms.vdouble(0.90, 0.75),
54 EtaMaxExtrap = cms.double( 2.0),
55 puppiAlgos = puppiForward
72 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
73 phase2_common.toModify(
75 EtaMinUseDeltaZ = 4.0,
79 etaMin = cms.vdouble(0., 2.5),
80 etaMax = cms.vdouble(2.5, 3.5),
81 ptMin = cms.vdouble(0., 0.),
82 MinNeutralPt = cms.vdouble(0.2, 0.2),
83 MinNeutralPtSlope = cms.vdouble(0.015, 0.030),
84 RMSEtaSF = cms.vdouble(1.0, 1.0),
85 MedEtaSF = cms.vdouble(1.0, 1.0),
86 EtaMaxExtrap = cms.double(2.0),
87 puppiAlgos = puppiCentral
89 etaMin = cms.vdouble( 3.5),
90 etaMax = cms.vdouble(10.0),
91 ptMin = cms.vdouble( 0.),
92 MinNeutralPt = cms.vdouble( 2.0),
93 MinNeutralPtSlope = cms.vdouble(0.08),
94 RMSEtaSF = cms.vdouble(1.0 ),
95 MedEtaSF = cms.vdouble(0.75),
96 EtaMaxExtrap = cms.double( 2.0),
97 puppiAlgos = puppiForward
102 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
103 pp_on_AA.toModify(puppi, algos = [])
105 puppiNoLep = puppi.clone(