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)
27 puppi = cms.EDProducer(
"PuppiProducer",
28 puppiDiagnostics = cms.bool(
False),
29 puppiNoLep = cms.bool(
False),
30 UseFromPVLooseTight = cms.bool(
False),
31 UseDeltaZCut = cms.bool(
True),
32 EtaMinUseDeltaZ = cms.double(2.4),
33 DeltaZCut = cms.double(0.3),
34 NumOfPUVtxsForCharged = cms.uint32(2),
35 DeltaZCutForChargedFromPUVtxs = cms.double(0.2),
36 PtMaxCharged = cms.double(20.),
37 EtaMaxCharged = cms.double(99999.),
38 PtMaxPhotons = cms.double(-1.),
39 EtaMaxPhotons = cms.double(2.5),
40 PtMaxNeutrals = cms.double(200.),
41 PtMaxNeutralsStartSlope = cms.double(20.),
42 candName = cms.InputTag(
'particleFlow'),
43 vertexName = cms.InputTag(
'offlinePrimaryVertices'),
46 applyCHS = cms.bool (
True),
47 invertPuppi = cms.bool (
False),
48 useExp = cms.bool (
False),
49 MinPuppiWeight = cms.double(0.01),
50 useExistingWeights = cms.bool(
False),
51 clonePackedCands = cms.bool(
False),
52 vtxNdofCut = cms.int32(4),
53 vtxZCut = cms.double(24),
56 etaMin = cms.vdouble(0.),
57 etaMax = cms.vdouble(2.5),
58 ptMin = cms.vdouble(0.),
59 MinNeutralPt = cms.vdouble(0.2),
60 MinNeutralPtSlope = cms.vdouble(0.015),
61 RMSEtaSF = cms.vdouble(1.0),
62 MedEtaSF = cms.vdouble(1.0),
63 EtaMaxExtrap = cms.double(2.0),
64 puppiAlgos = puppiCentral
67 etaMin = cms.vdouble( 2.5, 3.0),
68 etaMax = cms.vdouble( 3.0, 10.0),
69 ptMin = cms.vdouble( 0.0, 0.0),
70 MinNeutralPt = cms.vdouble( 1.7, 2.0),
71 MinNeutralPtSlope = cms.vdouble(0.08, 0.08),
72 RMSEtaSF = cms.vdouble(1.20, 0.95),
73 MedEtaSF = cms.vdouble(0.90, 0.75),
74 EtaMaxExtrap = cms.double( 2.0),
75 puppiAlgos = puppiForward
93 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
94 phase2_common.toModify(
96 EtaMinUseDeltaZ = 4.0,
97 DeltaZCut = cms.double(0.1),
100 etaMin = cms.vdouble(0., 2.5),
101 etaMax = cms.vdouble(2.5, 3.5),
102 ptMin = cms.vdouble(0., 0.),
103 MinNeutralPt = cms.vdouble(0.2, 0.2),
104 MinNeutralPtSlope = cms.vdouble(0.015, 0.030),
105 RMSEtaSF = cms.vdouble(1.0, 1.0),
106 MedEtaSF = cms.vdouble(1.0, 1.0),
107 EtaMaxExtrap = cms.double(2.0),
108 puppiAlgos = puppiCentral
110 etaMin = cms.vdouble( 3.5),
111 etaMax = cms.vdouble(10.0),
112 ptMin = cms.vdouble( 0.),
113 MinNeutralPt = cms.vdouble( 2.0),
114 MinNeutralPtSlope = cms.vdouble(0.08),
115 RMSEtaSF = cms.vdouble(1.0 ),
116 MedEtaSF = cms.vdouble(0.75),
117 EtaMaxExtrap = cms.double( 2.0),
118 puppiAlgos = puppiForward
123 puppiNoLep = puppi.clone(
128 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
129 pp_on_AA.toModify(puppi, algos = [])