Skip to content

Commit

Permalink
Merge pull request #8377 from gpetruc/fixPuppiJEC
Browse files Browse the repository at this point in the history
Fix puppi event content and JEC
  • Loading branch information
davidlange6 committed Mar 20, 2015
2 parents 76380aa + 02e8d7b commit 4e8f93e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PhysicsTools/PatAlgos/python/slimming/miniAOD_tools.py
Expand Up @@ -146,6 +146,7 @@ def miniAOD_customizeCommon(process):
# Adding puppi jets
process.load('CommonTools.PileupAlgos.Puppi_cff')
process.load('RecoJets.JetProducers.ak4PFJetsPuppi_cfi')
process.ak4PFJetsPuppi.doAreaFastjet = True # even for standard ak4PFJets this is overwritten in RecoJets/Configuration/python/RecoPFJets_cff
#process.puppi.candName = cms.InputTag('packedPFCandidates')
#process.puppi.vertexName = cms.InputTag('offlineSlimmedPrimaryVertices')

Expand All @@ -161,7 +162,7 @@ def miniAOD_customizeCommon(process):
)

addJetCollection(process, postfix = "", labelName = 'Puppi', jetSource = cms.InputTag('ak4PFJetsPuppi'),
jetCorrections = ('AK4PF', ['L1FastJet', 'L2Relative', 'L3Absolute'], ''),
jetCorrections = ('AK4PFchs', ['L2Relative', 'L3Absolute'], ''),
algo= 'AK', rParam = 0.4, btagDiscriminators = map(lambda x: x.value() ,process.patJets.discriminatorSources)
)

Expand Down
1 change: 1 addition & 0 deletions PhysicsTools/PatAlgos/python/slimming/slimming_cff.py
Expand Up @@ -26,6 +26,7 @@
'keep *_slimmedTaus*_*_*',
'keep *_slimmedJets_*_*',
'keep *_slimmedJetsAK8_*_*',
'keep *_slimmedJetsPuppi_*_*',
'keep *_slimmedMETs*_*_*',
'keep *_slimmedSecondaryVertices*_*_*',
'keep *_cmsTopTaggerMap_*_*',
Expand Down

0 comments on commit 4e8f93e

Please sign in to comment.