Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77821
b: "refs/heads/CMSSW_7_1_X"
c: 4c5569f
h: "refs/heads/CMSSW_7_1_X"
i:
  77819: 3093678
v: v3
  • Loading branch information
Salvatore Rappoccio committed Nov 13, 2009
1 parent 0dc918a commit 271041e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": f388356f4b80cea1324208b715e633c82d665d9d
"refs/heads/CMSSW_7_1_X": 4c5569fefb0325522b549ddf1215b428001bdf8f
22 changes: 22 additions & 0 deletions trunk/PhysicsTools/PatAlgos/python/tools/cmsswVersionTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

from PhysicsTools.PatAlgos.tools.jetTools import *

def run33xOnReRecoMC( process,
genJets = "ak5GenJets"):
"""
------------------------------------------------------------------
running GenJets for ak5 and ak7
process : process
genJets : which gen jets to run
------------------------------------------------------------------
"""
print "*********************************************************************"
print "NOTE TO USER: when running on 31X samples re-recoed in 3.3.2 "
print " with this CMSSW version of PAT "
print " it is required to re-run the GenJet production for "
print " anti-kT since that is not part of the re-reco "
print "*********************************************************************"
process.load("RecoJets.Configuration.GenJetParticles_cff")
process.load("RecoJets.JetProducers." + genJets +"_cfi")
process.makeAllLayer1Jets.replace( process.patJetCharge, process.genParticlesForJets+getattr(process,genJets)+process.patJetCharge)




def run33xOn31xMC(process,
jetSrc = cms.InputTag("antikt5CaloJets"),
Expand Down

0 comments on commit 271041e

Please sign in to comment.