CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Puppi_cff.py
Go to the documentation of this file.
2 
3 puppiCentral = cms.VPSet(
4  cms.PSet(
5  algoId = cms.int32(5), #0 is default Puppi
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)
12  )
13  )
14 
15 puppiForward = cms.VPSet(
16  cms.PSet(
17  algoId = cms.int32(5), #0 is default Puppi
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)
24  )
25  )
26 
27 puppi = cms.EDProducer("PuppiProducer",#cms.PSet(#"PuppiProducer",
28  puppiDiagnostics = cms.bool(False),
29  puppiForLeptons = cms.bool(False),
30  UseDeltaZCut = cms.bool(True),
31  DeltaZCut = cms.double(0.3),
32  candName = cms.InputTag('particleFlow'),
33  vertexName = cms.InputTag('offlinePrimaryVertices'),
34  #candName = cms.string('packedPFCandidates'),
35  #vertexName = cms.string('offlineSlimmedPrimaryVertices'),
36  applyCHS = cms.bool (True),
37  invertPuppi = cms.bool (False),
38  useExp = cms.bool (False),
39  MinPuppiWeight = cms.double(0.01),
40  useExistingWeights = cms.bool(False),
41  useWeightsNoLep = cms.bool(False),
42  vtxNdofCut = cms.int32(4),
43  vtxZCut = cms.double(24),
44  algos = cms.VPSet(
45  cms.PSet(
46  etaMin = cms.double(0.),
47  etaMax = cms.double(2.5),
48  ptMin = cms.double(0.),
49  MinNeutralPt = cms.double(0.1),
50  MinNeutralPtSlope = cms.double(0.015),
51  RMSEtaSF = cms.double(1.0),
52  MedEtaSF = cms.double(1.0),
53  EtaMaxExtrap = cms.double(2.0),
54  puppiAlgos = puppiCentral
55  ),
56  cms.PSet(
57  etaMin = cms.double(2.5),
58  etaMax = cms.double(3.0),
59  ptMin = cms.double(0.0),
60  MinNeutralPt = cms.double(1.7),
61  MinNeutralPtSlope = cms.double(0.07),
62  # RMSEtaSF = cms.double(1.545),
63  # MedEtaSF = cms.double(0.845),
64  RMSEtaSF = cms.double(1.30),
65  MedEtaSF = cms.double(1.05),
66  EtaMaxExtrap = cms.double(2.0),
67  puppiAlgos = puppiForward
68  ),
69  cms.PSet(
70  etaMin = cms.double(3.0),
71  etaMax = cms.double(10.0),
72  ptMin = cms.double(0.0),
73  MinNeutralPt = cms.double(2.0),
74  MinNeutralPtSlope = cms.double(0.07),
75  # RMSEtaSF = cms.double(1.18),
76  # MedEtaSF = cms.double(0.4397),
77  RMSEtaSF = cms.double(1.10),
78  MedEtaSF = cms.double(0.90),
79  EtaMaxExtrap = cms.double(2.0),
80  puppiAlgos = puppiForward
81  )
82  )
83 )