1 import FWCore.ParameterSet.Config
as cms
8 PFTowers = cms.EDProducer(
"ParticleTowerProducer",
9 src = cms.InputTag(
"particleFlow"),
10 useHF = cms.bool(
False)
15 ak5PFJets = cms.EDProducer(
18 AnomalousCellParameters,
19 MultipleAlgoIteratorBlock,
20 jetAlgorithm = cms.string(
"AntiKt"),
21 rParam = cms.double(0.5)
23 ak5PFJets.src = cms.InputTag(
'particleFlow')
25 akPu5PFJets = ak5PFJets.clone(
26 jetType = cms.string(
'BasicJet'),
27 doPVCorrection =
False,
28 doPUOffsetCorr =
True,
29 subtractorName = cms.string(
"MultipleAlgoIterator"),
30 src = cms.InputTag(
'PFTowers'),
36 akPu5PFJets.puPtMin = cms.double(25)
37 akPu1PFJets = akPu5PFJets.clone(rParam = cms.double(0.1), puPtMin = 10)
38 akPu2PFJets = akPu5PFJets.clone(rParam = cms.double(0.2), puPtMin = 10)
39 akPu3PFJets = akPu5PFJets.clone(rParam = cms.double(0.3), puPtMin = 15)
40 akPu4PFJets = akPu5PFJets.clone(rParam = cms.double(0.4), puPtMin = 20)
41 akPu6PFJets = akPu5PFJets.clone(rParam = cms.double(0.6), puPtMin = 30)
42 akPu7PFJets = akPu5PFJets.clone(rParam = cms.double(0.7), puPtMin = 35)
44 kt4PFJetsForRho = cms.EDProducer(
47 AnomalousCellParameters,
48 jetAlgorithm = cms.string(
"Kt"),
49 rParam = cms.double(0.4)
51 kt4PFJetsForRho.src = cms.InputTag(
'particleFlow')
52 kt4PFJetsForRho.doAreaFastjet = cms.bool(
True)
53 kt4PFJetsForRho.jetPtMin = cms.double(0.0)
54 kt4PFJetsForRho.GhostArea = cms.double(0.005)
56 hiFJRhoProducer = cms.EDProducer(
'HiFJRhoProducer',
57 jetSource = cms.InputTag(
'kt4PFJetsForRho'),
59 etaMaxExcl = cms.double(2.),
60 ptMinExcl = cms.double(20.),
61 nExcl2 = cms.int32(1),
62 etaMaxExcl2 = cms.double(3.),
63 ptMinExcl2 = cms.double(20.),
64 etaRanges = cms.vdouble(-5., -3., -2.1, -1.3, 1.3, 2.1, 3., 5.)
67 akCs4PFJets = cms.EDProducer(
70 AnomalousCellParameters,
71 jetAlgorithm = cms.string(
"AntiKt"),
72 rParam = cms.double(0.4),
73 etaMap = cms.InputTag(
'hiFJRhoProducer',
'mapEtaEdges'),
74 rho = cms.InputTag(
'hiFJRhoProducer',
'mapToRho'),
75 rhom = cms.InputTag(
'hiFJRhoProducer',
'mapToRhoM'),
76 csRParam = cms.double(-1.),
77 csAlpha = cms.double(2.),
78 writeJetsWithConst = cms.bool(
True),
79 jetCollInstanceName = cms.string(
"pfParticlesCs")
81 akCs4PFJets.src = cms.InputTag(
'particleFlow')
82 akCs4PFJets.doAreaFastjet = cms.bool(
True)
83 akCs4PFJets.jetPtMin = cms.double(0.0)
84 akCs4PFJets.useExplicitGhosts = cms.bool(
True)
85 akCs4PFJets.GhostArea = cms.double(0.005)
87 akCs3PFJets = akCs4PFJets.clone(rParam = cms.double(0.3))
89 hiRecoPFJets = cms.Sequence(
91 *akPu3PFJets*akPu4PFJets*akPu5PFJets
92 *kt4PFJetsForRho*hiFJRhoProducer
93 *akCs3PFJets*akCs4PFJets