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.3),
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.3),
22  rmsPtMin = cms.double(0.5),
23  rmsScaleFactor = cms.double(1.0)
24  )
25  )
26 
27 puppi = cms.EDProducer("PuppiProducer",#cms.PSet(#"PuppiProducer",
28  UseDeltaZCut = cms.bool (False),
29  DeltaZCut = cms.double(0.3),
30  candName = cms.InputTag('particleFlow'),
31  vertexName = cms.InputTag('offlinePrimaryVertices'),
32  #candName = cms.string('packedPFCandidates'),
33  #vertexName = cms.string('offlineSlimmedPrimaryVertices'),
34  applyCHS = cms.bool (True),
35  useExp = cms.bool (False),
36  MinPuppiWeight = cms.double(0.01),
37  algos = cms.VPSet(
38  cms.PSet(
39  etaMin = cms.double(0.),
40  etaMax = cms.double( 2.5),
41  ptMin = cms.double(0.),
42  MinNeutralPt = cms.double(0.2),
43  MinNeutralPtSlope = cms.double(0.02),
44  puppiAlgos = puppiCentral
45  ),
46  cms.PSet(
47  etaMin = cms.double(2.5),
48  etaMax = cms.double(3.0),
49  ptMin = cms.double(0.0),
50  MinNeutralPt = cms.double(1.0),
51  MinNeutralPtSlope = cms.double(0.005),
52  puppiAlgos = puppiForward
53  ),
54  cms.PSet(
55  etaMin = cms.double(3.0),
56  etaMax = cms.double(10.0),
57  ptMin = cms.double(0.0),
58  MinNeutralPt = cms.double(1.5),
59  MinNeutralPtSlope = cms.double(0.005),
60  puppiAlgos = puppiForward
61  )
62  )
63 )