Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:35:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoJets.JetProducers.PFJetParameters_cfi import *
0004 from RecoJets.JetProducers.AnomalousCellParameters_cfi import *
0005 
0006 ak4PFJets = cms.EDProducer(
0007     "FastjetJetProducer",
0008     PFJetParameters,
0009     AnomalousCellParameters,
0010     jetAlgorithm = cms.string("AntiKt"),
0011     rParam       = cms.double(0.4)
0012     )
0013 
0014 
0015 ak4PFJetsCHS = ak4PFJets.clone(
0016     src = "pfNoPileUpJME"
0017 )
0018 
0019 ak4PFJetsPuppi = ak4PFJets.clone(
0020     src = "particleFlow",
0021     applyWeight = True,
0022     srcWeights = cms.InputTag("puppi")
0023 )
0024 
0025 ak4PFJetsSK = ak4PFJets.clone(
0026     src = "softKiller",
0027     useExplicitGhosts = cms.bool(True)
0028 )
0029 
0030 ak4PFJetsCS = ak4PFJets.clone(
0031     useConstituentSubtraction = cms.bool(True),
0032     csRParam = cms.double(0.4),
0033     csRho_EtaMax = ak4PFJets.Rho_EtaMax,   # Just use the same eta for both C.S. and rho by default
0034     useExplicitGhosts = cms.bool(True),
0035     doAreaFastjet = True,
0036     jetPtMin = 100.0
0037 )
0038 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0039 pp_on_AA.toModify(ak4PFJets, src = "pfEmptyCollection")
0040 pp_on_AA.toModify(ak4PFJetsCHS, src = "pfEmptyCollection")
0041 pp_on_AA.toModify(ak4PFJetsPuppi, src = "pfEmptyCollection")