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)
28 import CommonTools.PileupAlgos.PuppiProducer_cfi
as _mod
29 puppi = _mod.PuppiProducer.clone(
30 EtaMinUseDeltaZ = 2.4,
31 NumOfPUVtxsForCharged = 2,
33 PtMaxNeutralsStartSlope = 20.,
36 clonePackedCands =
False,
39 puppiAlgos = puppiCentral
43 puppi.algos.append(cms.PSet(
44 etaMin = cms.vdouble( 2.5, 3.0),
45 etaMax = cms.vdouble( 3.0, 10.0),
46 ptMin = cms.vdouble( 0.0, 0.0),
47 MinNeutralPt = cms.vdouble( 1.7, 2.0),
48 MinNeutralPtSlope = cms.vdouble(0.08, 0.08),
49 RMSEtaSF = cms.vdouble(1.20, 0.95),
50 MedEtaSF = cms.vdouble(0.90, 0.75),
51 EtaMaxExtrap = cms.double( 2.0),
52 puppiAlgos = puppiForward
69 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
70 phase2_common.toModify(
72 EtaMinUseDeltaZ = 4.0,
76 etaMin = cms.vdouble(0., 2.5),
77 etaMax = cms.vdouble(2.5, 3.5),
78 ptMin = cms.vdouble(0., 0.),
79 MinNeutralPt = cms.vdouble(0.2, 0.2),
80 MinNeutralPtSlope = cms.vdouble(0.015, 0.030),
81 RMSEtaSF = cms.vdouble(1.0, 1.0),
82 MedEtaSF = cms.vdouble(1.0, 1.0),
83 EtaMaxExtrap = cms.double(2.0),
84 puppiAlgos = puppiCentral
86 etaMin = cms.vdouble( 3.5),
87 etaMax = cms.vdouble(10.0),
88 ptMin = cms.vdouble( 0.),
89 MinNeutralPt = cms.vdouble( 2.0),
90 MinNeutralPtSlope = cms.vdouble(0.08),
91 RMSEtaSF = cms.vdouble(1.0 ),
92 MedEtaSF = cms.vdouble(0.75),
93 EtaMaxExtrap = cms.double( 2.0),
94 puppiAlgos = puppiForward
99 puppiNoLep = puppi.clone(
104 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
105 pp_on_AA.toModify(puppi, algos = [])