CMS 3D CMS Logo

ak4PFJets_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 ak4PFJets = cms.EDProducer(
7  "FastjetJetProducer",
8  PFJetParameters,
9  AnomalousCellParameters,
10  jetAlgorithm = cms.string("AntiKt"),
11  rParam = cms.double(0.4)
12  )
13 
14 
15 ak4PFJetsCHS = ak4PFJets.clone(
16  src = "pfNoPileUpJME"
17 )
18 
19 ak4PFJetsPuppi = ak4PFJets.clone(
20  src = "particleFlow",
21  applyWeight = True,
22  srcWeights = cms.InputTag("puppi")
23 )
24 
25 ak4PFJetsSK = ak4PFJets.clone(
26  src = "softKiller",
27  useExplicitGhosts = cms.bool(True)
28 )
29 
30 ak4PFJetsCS = ak4PFJets.clone(
31  useConstituentSubtraction = cms.bool(True),
32  csRParam = cms.double(0.4),
33  csRho_EtaMax = ak4PFJets.Rho_EtaMax, # Just use the same eta for both C.S. and rho by default
34  useExplicitGhosts = cms.bool(True),
35  doAreaFastjet = True,
36  jetPtMin = 100.0
37 )
38 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
39 pp_on_AA.toModify(ak4PFJets, src = "pfEmptyCollection")
40 pp_on_AA.toModify(ak4PFJetsCHS, src = "pfEmptyCollection")
41 pp_on_AA.toModify(ak4PFJetsPuppi, src = "pfEmptyCollection")