1 import FWCore.ParameterSet.Config
as cms
8 PFTowers = cms.EDProducer(
"ParticleTowerProducer",
9 src = cms.InputTag(
"particleFlow"),
10 useHF = cms.bool(
False)
14 pfNoPileUpJMEHI = cms.EDFilter(
'GenericPFCandidateSelector',
15 src = cms.InputTag(
'particleFlow'),
16 cut = cms.string(
"pt>9999")
19 ak5PFJets = cms.EDProducer(
22 AnomalousCellParameters,
23 MultipleAlgoIteratorBlock,
24 jetAlgorithm = cms.string(
"AntiKt"),
25 rParam = cms.double(0.5)
27 ak5PFJets.src = cms.InputTag(
'particleFlow')
29 akPu5PFJets = ak5PFJets.clone(
30 jetType = cms.string(
'BasicJet'),
31 doPVCorrection =
False,
32 doPUOffsetCorr =
True,
33 subtractorName = cms.string(
"MultipleAlgoIterator"),
34 src = cms.InputTag(
'PFTowers'),
40 akPu5PFJets.puPtMin = cms.double(25)
41 akPu1PFJets = akPu5PFJets.clone(rParam = cms.double(0.1), puPtMin = 10)
42 akPu2PFJets = akPu5PFJets.clone(rParam = cms.double(0.2), puPtMin = 10)
43 akPu3PFJets = akPu5PFJets.clone(rParam = cms.double(0.3), puPtMin = 15)
44 akPu4PFJets = akPu5PFJets.clone(rParam = cms.double(0.4), puPtMin = 20)
45 akPu6PFJets = akPu5PFJets.clone(rParam = cms.double(0.6), puPtMin = 30)
46 akPu7PFJets = akPu5PFJets.clone(rParam = cms.double(0.7), puPtMin = 35)
48 kt4PFJetsForRho = cms.EDProducer(
51 AnomalousCellParameters,
52 jetAlgorithm = cms.string(
"Kt"),
53 rParam = cms.double(0.4)
56 kt4PFJetsForRho.src = cms.InputTag(
'particleFlow')
57 kt4PFJetsForRho.doAreaFastjet = cms.bool(
True)
58 kt4PFJetsForRho.jetPtMin = cms.double(0.0)
59 kt4PFJetsForRho.GhostArea = cms.double(0.005)
61 from RecoHI.HiJetAlgos.hiFJRhoProducer
import hiFJRhoProducer
63 akCs4PFJets = cms.EDProducer(
66 AnomalousCellParameters,
67 jetAlgorithm = cms.string(
"AntiKt"),
68 rParam = cms.double(0.4),
69 etaMap = cms.InputTag(
'hiFJRhoProducer',
'mapEtaEdges'),
70 rho = cms.InputTag(
'hiFJRhoProducer',
'mapToRho'),
71 rhom = cms.InputTag(
'hiFJRhoProducer',
'mapToRhoM'),
72 csRParam = cms.double(-1.),
73 csAlpha = cms.double(2.),
74 writeJetsWithConst = cms.bool(
True),
75 jetCollInstanceName = cms.string(
"pfParticlesCs")
77 akCs4PFJets.src = cms.InputTag(
'particleFlow')
78 akCs4PFJets.doAreaFastjet = cms.bool(
True)
79 akCs4PFJets.jetPtMin = cms.double(0.0)
80 akCs4PFJets.useExplicitGhosts = cms.bool(
True)
81 akCs4PFJets.GhostArea = cms.double(0.005)
83 akCs3PFJets = akCs4PFJets.clone(rParam = cms.double(0.3))
85 hiRecoPFJetsTask = cms.Task(
87 ,akPu3PFJets,akPu4PFJets,akPu5PFJets
88 ,kt4PFJetsForRho,hiFJRhoProducer
89 ,akCs3PFJets,akCs4PFJets
91 hiRecoPFJets = cms.Sequence(hiRecoPFJetsTask)