process.load("RecoJets.JetProducers.caSubjetFilterPFJets_cfi")
from RecoJets.JetProducers.caSubjetFilterPFJets_cfi import caSubjetFilterPFJets

process.caVHPFJets = caSubjetFilterPFJets.clone()

process.load("RecoJets.JetProducers.caSubjetFilterCaloJets_cfi")
from RecoJets.JetProducers.caSubjetFilterCaloJets_cfi import caSubjetFilterCaloJets

process.caVHCaloJets = caSubjetFilterCaloJets.clone()

process.load("RecoJets.JetProducers.caSubjetFilterGenJets_cfi")
from RecoJets.JetProducers.caSubjetFilterGenJets_cfi import caSubjetFilterGenJets

process.caVHGenJets = caSubjetFilterGenJets.clone()


## tune DeltaR for C/A

##process.caTopCaloJets.rBins = cms.vdouble(1.2,1.2,1.2)
##process.caTopPFJets.rBins = cms.vdouble(1.2,1.2,1.2)

##process.caTopCaloJets.rParam = cms.double(1.2)
##process.caTopPFJets.rParam = cms.double(1.2)

# process.caTopCaloJets.rBins = cms.vdouble(1.4,1.4,1.4)
# process.caTopPFJets.rBins = cms.vdouble(1.4,1.4,1.4)
# process.caTopCaloJets.rParam = cms.double(1.4)
# process.caTopPFJets.rParam = cms.double(1.4)
Пример #2
0
                 jetCorrLabel=("AK7PF", jetCorr),
                 doType1MET=False,
                 doL1Cleaning=False,
                 doL1Counters=False,
                 doJetID=False)

from PhysicsTools.PatAlgos.tools.jetTools import *

#process.load("RecoJets.JetProducers.caSubjetFilterPFJets_cfi")
from RecoJets.JetProducers.caSubjetFilterPFJets_cfi import caSubjetFilterPFJets
process.caVHPFJets = caSubjetFilterPFJets.clone(
    src=cms.InputTag("pfNoElectron" + postfix), useAdjacency=cms.int32(0))

#process.load("RecoJets.JetProducers.caSubjetFilterGenJets_cfi")
from RecoJets.JetProducers.caSubjetFilterGenJets_cfi import caSubjetFilterGenJets
process.caVHGenJets = caSubjetFilterGenJets.clone()

addJetCollection(
    process,
    cms.InputTag("caVHPFJets:fat"),
    "CAVHFat",
    "PF",
    doJTA=True,
    doBTagging=True,
    jetCorrLabel=("AK5PF", jetCorr),
    doType1MET=False,
    doL1Cleaning=False,
    doL1Counters=False,
    doJetID=False,
)